commit | b6d7695cf2e7cec5c7b24e1b09e1f7d8f1788cb7 | [log] [tgz] |
---|---|---|
author | Holly Jiuyu Sun <jiuyu@google.com> | Wed Jan 11 17:34:03 2017 -0800 |
committer | Holly Jiuyu Sun <jiuyu@google.com> | Fri Jan 20 13:50:51 2017 -0800 |
tree | c86b66655157e3c5ec1e7ff89caa388335869044 | |
parent | 4842c4c83023f06182115171aaddee5f70d6f5fd [diff] |
Change the default behavior when MCC/MNC changes. By default, we don't restart the activity when MCC/MNC changes even when they are not set in configChanges. If they want to restart, set mcc or mnc in the new attribute restartOnConfigChanges. Bug: 34258948 Test: Test in unit test(testGetActivityConfigChanges() in PackageParserTest.java) and on real device with changing the SIM card. Change-Id: Icd6899597c9b8f2e5706e74373a0280d19150092