OSDN Git Service

Fix b/5885342: Multiple PhotoEditor activities cause exceptions.
authorYuli Huang <yuli@google.com>
Tue, 6 Mar 2012 17:18:08 +0000 (01:18 +0800)
committerYuli Huang <yuli@google.com>
Tue, 6 Mar 2012 17:18:08 +0000 (01:18 +0800)
commitd67ec74304219b3e70caae32fbfaadfb9c3c76f4
tree3d4d0dea24a68878b29292350bb0bccaaf0e540b
parentcb05834cedb8223fc59456afcd62fa7448f2b3b8
Fix b/5885342: Multiple PhotoEditor activities cause exceptions.

Avoid using a static variable to keep tracking views across activities.

Change-Id: Ia53444502d476d37b64344e5aea5f58a06ee3b03
src/com/android/gallery3d/photoeditor/EffectsBar.java
src/com/android/gallery3d/photoeditor/PhotoEditor.java
src/com/android/gallery3d/photoeditor/SpinnerProgressDialog.java
src/com/android/gallery3d/photoeditor/Toolbar.java