Allow extras to be passed to app info subscreens
And pass though some extras through to notification settings. This enables us to highlight appropriate preferences on the subscreens while still funneling users through the app info screen. Test: make RunSettingsRoboTests Bug: 72764587 Change-Id: I0197b595fe4bf3504588d9dd2985dd20de73c640
This commit is contained in:
@@ -505,10 +505,12 @@ public class AppInfoDashboardFragment extends DashboardFragment
|
||||
mDisableAfterUninstall = andDisable;
|
||||
}
|
||||
|
||||
public static void startAppInfoFragment(Class<?> fragment, int title,
|
||||
public static void startAppInfoFragment(Class<?> fragment, int title, Bundle args,
|
||||
SettingsPreferenceFragment caller, AppEntry appEntry) {
|
||||
// start new fragment to display extended information
|
||||
final Bundle args = new Bundle();
|
||||
if (args == null) {
|
||||
args = new Bundle();
|
||||
}
|
||||
args.putString(ARG_PACKAGE_NAME, appEntry.info.packageName);
|
||||
args.putInt(ARG_PACKAGE_UID, appEntry.info.uid);
|
||||
|
||||
|
Reference in New Issue
Block a user