From 94a7444cd0397e830a31cf3b754967bb7e64fcd7 Mon Sep 17 00:00:00 2001 From: Doris Liu Date: Fri, 21 Sep 2012 22:44:42 -0700 Subject: Making switchState public Bug: 7208910 switchState was only accessible within package com.android.gallery3d.app . Now changing it to public so that it can be called from camera. This is part 1 of 2 in fixing the bug. Not sure if it's the best way to fix it. Comments are welcome. Change-Id: I4aac46f640f2dd3aa973abd9610a37fa2842ed29 --- src/com/android/gallery3d/app/StateManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/gallery3d/app/StateManager.java b/src/com/android/gallery3d/app/StateManager.java index 7cc0ac42c..c192a88a3 100644 --- a/src/com/android/gallery3d/app/StateManager.java +++ b/src/com/android/gallery3d/app/StateManager.java @@ -193,7 +193,7 @@ public class StateManager { } } - void switchState(ActivityState oldState, + public void switchState(ActivityState oldState, Class klass, Bundle data) { Log.v(TAG, "switchState " + oldState + ", " + klass); if (oldState != mStack.peek().activityState) { -- cgit v1.2.3