commit | db99a10b6ac9296d612db8ba51e37f141fee4170 | [log] [tgz] |
---|---|---|
author | Bobby Georgescu <georgescu@google.com> | Tue Dec 04 23:50:02 2012 -0800 |
committer | Bobby Georgescu <georgescu@google.com> | Tue Dec 04 23:50:02 2012 -0800 |
tree | 5057a059128390de4277e2fb92141480a1aba367 | |
parent | 870e62ac801064f83bffc9095cbaee5fe46bdd80 [diff] |
Fix NPE in PhotoPage Bug: 7673141 Change-Id: I264f28d127f47e5f4f8c6a7c2df1c021401d03f2
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java index b43cf2a..506d1ca 100644 --- a/src/com/android/gallery3d/app/PhotoPage.java +++ b/src/com/android/gallery3d/app/PhotoPage.java
@@ -304,7 +304,9 @@ break; } case MSG_ON_FULL_SCREEN_CHANGED: { - mAppBridge.onFullScreenChanged(message.arg1 == 1); + if (mAppBridge != null) { + mAppBridge.onFullScreenChanged(message.arg1 == 1); + } break; } case MSG_UPDATE_ACTION_BAR: {