Fix no content change if activity start from onNewIntent
- Mobile network page can not change content to another subscription if this is started from onNewIntent. This is because intent is not udpated so current fragment still get the information from old Intent. Flag: EXEMPT bug fix Bug: 270416514 Test: Manual test passed - adb shell am start -a android.settings.NETWORK_OPERATOR_SETTINGS --ei android.provider.extra.SUB_ID x Change-Id: Ib6aa9d359232ff602551e121b52894a27a84e4e1
This commit is contained in:
@@ -447,7 +447,7 @@ public class Settings extends SettingsActivity {
|
|||||||
super.onNewIntent(intent);
|
super.onNewIntent(intent);
|
||||||
|
|
||||||
Log.d(TAG, "Starting onNewIntent");
|
Log.d(TAG, "Starting onNewIntent");
|
||||||
|
setIntent(intent);
|
||||||
createUiFromIntent(null /* savedState */, convertIntent(intent));
|
createUiFromIntent(null /* savedState */, convertIntent(intent));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user