Merge "Fix camera controls blink on startup" into gb-ub-photos-bryce
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d5a5ef9..02ffcc1 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<manifest android:versionCode="40011"
- android:versionName="1.1.40011"
+<manifest android:versionCode="40012"
+ android:versionName="1.1.40012"
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.gallery3d">
diff --git a/src/com/android/gallery3d/filtershow/FilterShowActivity.java b/src/com/android/gallery3d/filtershow/FilterShowActivity.java
index d13d261..e5ddbf5 100644
--- a/src/com/android/gallery3d/filtershow/FilterShowActivity.java
+++ b/src/com/android/gallery3d/filtershow/FilterShowActivity.java
@@ -433,6 +433,9 @@
}
public void showRepresentation(FilterRepresentation representation) {
+ if (representation == null) {
+ return;
+ }
useFilterRepresentation(representation);
// show representation
@@ -817,7 +820,8 @@
loadXML();
loadMainPanel();
- if (!mShowingTinyPlanet) {
+ // mLoadBitmapTask==null implies you have looked at the intent
+ if (!mShowingTinyPlanet && (mLoadBitmapTask == null)) {
mCategoryFiltersAdapter.removeTinyPlanet();
}
final View loading = findViewById(R.id.loading);