summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/AppListPreference.java
Commit message (Collapse)AuthorAgeFilesLines
* Implement default assist app settingXiyuan Xia2015-06-101-29/+55
| | | | | | | | | | | | - Add "None" support to AppListPreference - Add DefaultAssistPreference to manage assist; - Add AppListPreferenceWithSettings to show a settings icon; - Implement DefaultAssistPreference based on AppListPreferenceWithSettings; - Move voice input settings into ManageAssist and implement it based on AppListPreferenceWithSettings; Bug:20210110 Change-Id: If283b8b55a46b428ecfa6e45dc2123292b1d4302
* Move default app preferences to one screenJason Monk2015-04-141-6/+65
| | | | | | | | | | - Move emergency and SMS app preferences to default apps - Fix search on default apps - Make all default app prefs use AppListPreference - Some approximate UI work on AppListPreference Bug: 20210110 Change-Id: Id04086163c7e87c92a03af421a27018fb380b45d
* Final UX for Wi-Fi assistant platform settings.Jeff Davidson2014-11-141-0/+7
| | | | | | | | | When one app is available, the toggle works as before. When multiple apps are available, we allow the user to choose the app in a dialog before turning on the setting. Bug: 13780935 Change-Id: I1c4391bf97a53febe580fb2b896b4850372062e7
* Fix NPE in AppListPreference when there is no default.Jeff Davidson2014-04-261-1/+2
| | | | | Bug: 14327074 Change-Id: I3b0dcfbefcfb91278582457beef5823072efc46a
* Refactor SmsListPreference into AppListPreference.Jeff Davidson2014-04-141-0/+118
This generalizes the pattern of needing to offer a selection among a list of candidate applications. Also move some reusable logic around querying PackageManager for icons into AppListPreference, and remove some unnecessary update logic: the preference will update itself when onPreferenceChange returns true, and we can set the summary to '%s' to automatically use the entry as the summary without having to reset it each time. Change-Id: I007b9ed58359302f93b367a4b86354e93613bf3e