Loading src/com/android/settings/applications/AdvancedAppSettings.java +4 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,10 @@ public class AdvancedAppSettings extends SettingsPreferenceFragment implements addPreferencesFromResource(R.xml.advanced_apps); Preference permissions = getPreferenceScreen().findPreference(KEY_APP_PERM); permissions.setIntent(new Intent(Intent.ACTION_MANAGE_PERMISSIONS)); final Intent intent = new Intent(Intent.ACTION_MANAGE_PERMISSIONS); if (!getPackageManager().queryIntentActivities(intent, 0).isEmpty()) { permissions.setIntent(intent); } ApplicationsState applicationsState = ApplicationsState.getInstance( getActivity().getApplication()); Loading Loading
src/com/android/settings/applications/AdvancedAppSettings.java +4 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,10 @@ public class AdvancedAppSettings extends SettingsPreferenceFragment implements addPreferencesFromResource(R.xml.advanced_apps); Preference permissions = getPreferenceScreen().findPreference(KEY_APP_PERM); permissions.setIntent(new Intent(Intent.ACTION_MANAGE_PERMISSIONS)); final Intent intent = new Intent(Intent.ACTION_MANAGE_PERMISSIONS); if (!getPackageManager().queryIntentActivities(intent, 0).isEmpty()) { permissions.setIntent(intent); } ApplicationsState applicationsState = ApplicationsState.getInstance( getActivity().getApplication()); Loading