Merge change 27178 into eclair
* changes: Fix issue #2136448: googleapps crashes while adding 2nd gmail account
This commit is contained in:
@@ -2951,8 +2951,8 @@ public final class ActivityThread {
|
|||||||
|
|
||||||
// The window is now visible if it has been added, we are not
|
// The window is now visible if it has been added, we are not
|
||||||
// simply finishing, and we are not starting another activity.
|
// simply finishing, and we are not starting another activity.
|
||||||
if (!r.activity.mFinished && r.activity.mDecor != null
|
if (!r.activity.mFinished && !a.mStartedActivity
|
||||||
&& !r.hideForNow) {
|
&& r.activity.mDecor != null && !r.hideForNow) {
|
||||||
if (r.newConfig != null) {
|
if (r.newConfig != null) {
|
||||||
performConfigurationChanged(r.activity, r.newConfig);
|
performConfigurationChanged(r.activity, r.newConfig);
|
||||||
r.newConfig = null;
|
r.newConfig = null;
|
||||||
@@ -2966,9 +2966,11 @@ public final class ActivityThread {
|
|||||||
l.softInputMode = (l.softInputMode
|
l.softInputMode = (l.softInputMode
|
||||||
& (~WindowManager.LayoutParams.SOFT_INPUT_IS_FORWARD_NAVIGATION))
|
& (~WindowManager.LayoutParams.SOFT_INPUT_IS_FORWARD_NAVIGATION))
|
||||||
| forwardBit;
|
| forwardBit;
|
||||||
ViewManager wm = a.getWindowManager();
|
if (r.activity.mVisibleFromClient) {
|
||||||
View decor = r.window.getDecorView();
|
ViewManager wm = a.getWindowManager();
|
||||||
wm.updateViewLayout(decor, l);
|
View decor = r.window.getDecorView();
|
||||||
|
wm.updateViewLayout(decor, l);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
r.activity.mVisibleFromServer = true;
|
r.activity.mVisibleFromServer = true;
|
||||||
mNumVisibleActivities++;
|
mNumVisibleActivities++;
|
||||||
|
|||||||
Reference in New Issue
Block a user