OSDN Git Service
(root)
/
android-x86
/
packages-apps-Camera2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a32b7a
)
Add null-check for StitchingServiceProvider.
author
George Mount
<mount@google.com>
Mon, 22 Oct 2012 18:39:25 +0000
(11:39 -0700)
committer
George Mount
<mount@google.com>
Mon, 22 Oct 2012 18:39:25 +0000
(11:39 -0700)
Bug
7386827
Change-Id: Id1ec7399202c6e67bb215f1309697b2f718a3c03
src/com/android/gallery3d/app/GalleryAppImpl.java
patch
|
blob
|
history
diff --git
a/src/com/android/gallery3d/app/GalleryAppImpl.java
b/src/com/android/gallery3d/app/GalleryAppImpl.java
index
443bc47
..
7b37f6f
100644
(file)
--- a/
src/com/android/gallery3d/app/GalleryAppImpl.java
+++ b/
src/com/android/gallery3d/app/GalleryAppImpl.java
@@
-63,7
+63,9
@@
public class GalleryAppImpl extends Application implements GalleryApp {
state, PackageManager.DONT_KILL_APP);
mStitchingProgressManager = LightCycleHelper.createStitchingManagerInstance(this);
- mStitchingProgressManager.addChangeListener(getDataManager());
+ if (mStitchingProgressManager != null) {
+ mStitchingProgressManager.addChangeListener(getDataManager());
+ }
}
@Override