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
}
}
- void switchState(ActivityState oldState,
+ public void switchState(ActivityState oldState,
Class<? extends ActivityState> klass, Bundle data) {
Log.v(TAG, "switchState " + oldState + ", " + klass);
if (oldState != mStack.peek().activityState) {