Home
last modified time | relevance | path

Searched refs:additionalPermissionsPreference (Results 1 – 2 of 2) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoManageStandardPermissionsFragment.java56 Preference additionalPermissionsPreference = getPreferenceScreen().findPreference( in updatePermissionsUi() local
59 if (additionalPermissionsPreference != null) { in updatePermissionsUi()
60 getPreferenceScreen().removePreference(additionalPermissionsPreference); in updatePermissionsUi()
63 if (additionalPermissionsPreference == null) { in updatePermissionsUi()
64 additionalPermissionsPreference = new Preference( in updatePermissionsUi()
66 additionalPermissionsPreference.setKey(EXTRA_PREFS_KEY); in updatePermissionsUi()
67 additionalPermissionsPreference.setIcon(Utils.applyTint(getActivity(), in updatePermissionsUi()
70 additionalPermissionsPreference.setTitle(R.string.additional_permissions); in updatePermissionsUi()
71 additionalPermissionsPreference.setOnPreferenceClickListener(preference -> { in updatePermissionsUi()
83 getPreferenceScreen().addPreference(additionalPermissionsPreference); in updatePermissionsUi()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DManageStandardPermissionsFragment.java88 Preference additionalPermissionsPreference = screen.findPreference(EXTRA_PREFS_KEY); in updatePermissionsUi() local
90 if (additionalPermissionsPreference != null) { in updatePermissionsUi()
91 screen.removePreference(additionalPermissionsPreference); in updatePermissionsUi()
94 if (additionalPermissionsPreference == null) { in updatePermissionsUi()
95 additionalPermissionsPreference = new Preference( in updatePermissionsUi()
97 additionalPermissionsPreference.setKey(EXTRA_PREFS_KEY); in updatePermissionsUi()
98 additionalPermissionsPreference.setIcon(Utils.applyTint(getActivity(), in updatePermissionsUi()
101 additionalPermissionsPreference.setTitle(R.string.additional_permissions); in updatePermissionsUi()
102 additionalPermissionsPreference.setOnPreferenceClickListener(preference -> { in updatePermissionsUi()
114 screen.addPreference(additionalPermissionsPreference); in updatePermissionsUi()
[all …]