Files
app_Settings/res/menu/manage_apps.xml
Himanshu Gupta 1648d68d49 Adding "Delete all App Clones" option on Cloned Apps page.
This option is seen by clicking the '3-dot' menu on Settings->Cloned Apps page and requires:
1. Flag 'remove_all_cloned_apps' to be turned on.
2. Cloned UserId to be present in system.

Test: Manually setting the flag, creating clones.
Change-Id: I83ff40923f7932ed6b23cb831bdcd2cb9252d295
2022-12-23 10:58:54 +00:00

64 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/search_app_list_menu"
android:title="@string/search_settings"
android:icon="@drawable/ic_find_in_page_24px"
android:showAsAction="always|collapseActionView"
android:actionViewClass="android.widget.SearchView" />
<item
android:id="@+id/advanced"
android:title="@string/advanced_apps"
android:icon="@drawable/ic_settings_24dp"
android:showAsAction="collapseActionView|ifRoom" />
<item
android:id="@+id/show_system"
android:title="@string/menu_show_system"
android:showAsAction="never" />
<item
android:id="@+id/hide_system"
android:title="@string/menu_hide_system"
android:showAsAction="never" />
<item
android:id="@+id/sort_order_alpha"
android:title="@string/sort_order_alpha"
android:showAsAction="never" />
<item
android:id="@+id/sort_order_size"
android:title="@string/sort_order_size"
android:showAsAction="never" />
<item
android:id="@+id/sort_order_recent_notification"
android:title="@string/sort_order_recent_notification"
android:showAsAction="never" />
<item
android:id="@+id/sort_order_frequent_notification"
android:title="@string/sort_order_frequent_notification"
android:showAsAction="never" />
<item
android:id="@+id/reset_app_preferences"
android:title="@string/reset_app_preferences"
android:showAsAction="never" />
<item
android:id="@+id/delete_all_app_clones"
android:title="@string/delete_all_app_clones"
android:showAsAction="never" />
</menu>