Align SETTINGS_PACKAGE_NAME reference to a single place
This CL migrated some fragmented declarations of Settings packageName. When we want to referece package name of Settings, we prefer using Utils#SETTINGS_PACKAGE_NAME. Bug: 262123382 Test: make Settings -j64 Change-Id: Ice6afd993d5991bb3c50f676c637b9a5487261f7
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.android.settings.network;
|
||||
|
||||
import static com.android.settings.Utils.SETTINGS_PACKAGE_NAME;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
@@ -51,7 +53,7 @@ public class MobileNetworkIntentConverter implements Function<Intent, Intent> {
|
||||
private static final String TAG = "MobileNetworkIntentConverter";
|
||||
|
||||
private static final ComponentName sTargetComponent = ComponentName
|
||||
.createRelative("com.android.settings",
|
||||
.createRelative(SETTINGS_PACKAGE_NAME,
|
||||
MobileNetworkActivity.class.getTypeName());
|
||||
private static final String INTENT_TRAMPOLINE = "android.settings.SEARCH_RESULT_TRAMPOLINE";
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user