summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2018-02-22 03:55:24 +0200
committerMichael Bestas <mkbestas@lineageos.org>2018-02-22 03:56:03 +0200
commit00a517ce17999601dae99888354133f44a4ba9b4 (patch)
tree6921309e3a6777011b15da05c33558ca0d8ed35c
parentc01d3b99764ca5da5dfa51bf17974c94932becdf (diff)
downloadandroid_packages_apps_Snap-00a517ce17999601dae99888354133f44a4ba9b4.zip
android_packages_apps_Snap-00a517ce17999601dae99888354133f44a4ba9b4.tar.gz
android_packages_apps_Snap-00a517ce17999601dae99888354133f44a4ba9b4.tar.bz2
Snap: Fix "Convert "save best" dialog text to a quantity string"
* Fixes I0f0a91fa3cd1abe17c9d3eef453c4ed706a6fb25 Change-Id: Ib4f2aa3854127ffd96bfa744987adfd65fa306fe
-rw-r--r--src/com/android/camera/BestpictureActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/BestpictureActivity.java b/src/com/android/camera/BestpictureActivity.java
index 4edae41..e4c1ca0 100644
--- a/src/com/android/camera/BestpictureActivity.java
+++ b/src/com/android/camera/BestpictureActivity.java
@@ -411,7 +411,7 @@ public class BestpictureActivity extends FragmentActivity {
@Override
public String getContentString() {
- return getResources().getQuantityString(R.string.save_best_dialog_content,
+ return getResources().getQuantityString(R.plurals.save_best_dialog_content,
choosenCount, choosenCount);
}
@@ -497,7 +497,7 @@ public class BestpictureActivity extends FragmentActivity {
}
}
}
- String toastString = getResources().getQuantityString(R.string.save_best_image_toast,
+ String toastString = getResources().getQuantityString(R.plurals.save_best_image_toast,
toSaveCount, toSaveCount);
Toast.makeText(BestpictureActivity.this, toastString, Toast.LENGTH_SHORT).show();
backToViewfinder();