summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-07-12 18:27:54 -0700
committernicolasroard <nicolasroard@google.com>2013-07-16 17:07:33 -0700
commit6cc4a04a9c8548bd8fc3bd978aa629dc6767674b (patch)
treee10df07b8cd802da4293d76a64632fc97e796495
parent36cf7a9bbd856063eaf5779e05ae75645a458226 (diff)
downloadandroid_packages_apps_Snap-6cc4a04a9c8548bd8fc3bd978aa629dc6767674b.tar.gz
android_packages_apps_Snap-6cc4a04a9c8548bd8fc3bd978aa629dc6767674b.tar.bz2
android_packages_apps_Snap-6cc4a04a9c8548bd8fc3bd978aa629dc6767674b.zip
Add background processing service
bug:7298624 Change-Id: Ie79f88fd84fdf8f4dab6a8071f06a819e247b357
-rw-r--r--res/values/filtershow_strings.xml5
-rw-r--r--src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java4
2 files changed, 7 insertions, 2 deletions
diff --git a/res/values/filtershow_strings.xml b/res/values/filtershow_strings.xml
index e142c0a7d..0a33108ad 100644
--- a/res/values/filtershow_strings.xml
+++ b/res/values/filtershow_strings.xml
@@ -199,4 +199,9 @@
<!-- Name used to indicate the final image in the state panel [CHAR LIMIT=20] -->
<string name="state_panel_result">Result</string>
+ <!-- Label for the notification [CHAR LIMIT=50] -->
+ <string name="filtershow_notification_label">Saving Image</string>
+ <!-- Label for the notification message [CHAR LIMIT=50] -->
+ <string name="filtershow_notification_message">Processing...</string>
+
</resources>
diff --git a/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java b/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
index 78a4d211d..2b9e3701f 100644
--- a/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
+++ b/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
@@ -55,7 +55,7 @@ public class ImagePreset {
private boolean mPartialRendering = false;
private Rect mPartialRenderingBounds;
- private static final boolean DEBUG = true;
+ private static final boolean DEBUG = false;
public ImagePreset() {
}
@@ -607,7 +607,7 @@ public class ImagePreset {
if (DEBUG) {
Log.v(LOGTAG, "Serialization: " + sname);
if (sname == null) {
- Log.v(LOGTAG, "Serialization: " + filter);
+ Log.v(LOGTAG, "Serialization name null for filter: " + filter);
}
}
writer.name(sname);