diff options
| author | Nicolas Roard <nicolasroard@google.com> | 2013-03-14 03:30:34 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-03-14 03:30:34 +0000 |
| commit | bbf96f2785c3f3f91d497b18f8b2dd9c0cb2b9b6 (patch) | |
| tree | 688a78ac42fe9aa5c27b2ccefdfcdffc987edad3 | |
| parent | c6a12b24b4662ba9fa7cc8c7d072ecb0a8f79e46 (diff) | |
| parent | 8809afdff9cb717023652ce221e1eb2da3a646dd (diff) | |
| download | android_packages_apps_Gallery2-bbf96f2785c3f3f91d497b18f8b2dd9c0cb2b9b6.tar.gz android_packages_apps_Gallery2-bbf96f2785c3f3f91d497b18f8b2dd9c0cb2b9b6.tar.bz2 android_packages_apps_Gallery2-bbf96f2785c3f3f91d497b18f8b2dd9c0cb2b9b6.zip | |
Merge "Fix photo editor RS allocation on orientation change." into gb-ub-photos-bryce
| -rw-r--r-- | src/com/android/gallery3d/filtershow/FilterShowActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/FilterShowActivity.java b/src/com/android/gallery3d/filtershow/FilterShowActivity.java index 37b2cd9da..0ed90c4fe 100644 --- a/src/com/android/gallery3d/filtershow/FilterShowActivity.java +++ b/src/com/android/gallery3d/filtershow/FilterShowActivity.java @@ -138,6 +138,7 @@ public class FilterShowActivity extends Activity implements OnItemClickListener, clearGalleryBitmapPool(); setupMasterImage(); + ImageFilterRS.setRenderScriptContext(this); setDefaultValues(); fillEditors(); @@ -343,7 +344,6 @@ public class FilterShowActivity extends Activity implements OnItemClickListener, private void setDefaultValues() { ImageFilter.setActivityForMemoryToasts(this); - ImageFilterRS.setRenderScriptContext(this); Resources res = getResources(); // TODO: add a mechanism to set the resources in FiltersManagmer |
