[Settings] Adjusted the API of Settings app
The API of Settings app get changed in order to support large screen. This is a fix to adopt the change related to this work. A short brief: 1. Accept ACTION_MAIN for launching MobileNetworkActivity. 2. Support deep-link intent while MobileNetworkActivity in foreground. 3. Avoid from binding MobileNetworkActivity as a single instance. Bug: 230047450 Bug: 234406562 Bug: 229371407 Test: local & unittest Change-Id: Ifcb9d4c564839199d998bd503f390f021c6bf3ad
This commit is contained in:
@@ -264,7 +264,10 @@ public class SettingsActivity extends SettingsBaseActivity
|
||||
|
||||
super.onCreate(savedState);
|
||||
Log.d(LOG_TAG, "Starting onCreate");
|
||||
createUiFromIntent(savedState, intent);
|
||||
}
|
||||
|
||||
protected void createUiFromIntent(Bundle savedState, Intent intent) {
|
||||
long startTime = System.currentTimeMillis();
|
||||
|
||||
final FeatureFactory factory = FeatureFactory.getFactory(this);
|
||||
|
||||
Reference in New Issue
Block a user