Matthew Fritze
6730a061b1
Add getDescendants to Settings Slice Provider
...
getDescendants allows another app to collect a list
of all valid Uris for Settings Slices. Important for search,
assistant or launcher apps.
This means searching our database for all valid keys and building
a list of Uris for each of those keys.
Fixes: 77808328
Test: robotests
Change-Id: I3ae27e4661a7dcaab50b091ae2730013118af8a2
2018-04-17 10:48:53 -07:00
Matthew Fritze
7acd13f3e4
Update a Slice Uri when unavailable
...
When a slice becomes unavailable, it should not update the
underlying data even if the view has not changed.
When we receive a change from an unavailable slice, notifychange
on the Uri and do not change the underlying data.
Change-Id: I91851ab668e4aece669fd65c14e0dc4ec2edefdf
Fixes: 77980406
Test: robotests
2018-04-17 10:43:26 -07:00
Julia Reynolds
68f331d452
Merge "Show suppression msg under ringer slider" into pi-dev
2018-04-17 17:37:06 +00:00
Matthew Fritze
a711ed8330
Add A11y Slices
...
Add AccessibilityPreferenceController, which wraps all a11y settings
since they are share common infrastructure for enabling, current value,
and availability.
We add an overlay for OEMs to declare their bundled a11y services.
This is the only list of services that will be possible to enabled via
Settings slices.
Accessibility Slices are built by getting a list of valid services,
and indexing the service names as a key in the Slices DB. When they are
built at runtime, they use the generic A11yPrefController to get the status
and enable/disable the service.
Bug: 67997836
Bug: 67997672
Test: robotests
Change-Id: I66f905bf1c55eecb937945c4675c12bcbc96d698
2018-04-17 10:27:02 -07:00
Adrian Roos
243ef1186a
Merge "Settings: Add synonyms to display cutout emulation setting" into pi-dev am: fb04d4acf7
...
am: 6038bc728a
Change-Id: I12e2ebfe43228d89cf23d275909dd12ab0e402bc
2018-04-17 10:20:20 -07:00
Fan Zhang
5685e9065e
Remove empty_search_image from Settings.
...
The image now lives in SettingsIntelligence. Having another copy here
creates deadweight and confusion.
Bug: 74410371
Test: rebuild
Change-Id: Id90fd412a629fcd663cd88cbe5da46e511055adc
2018-04-17 10:15:51 -07:00
Adrian Roos
6038bc728a
Merge "Settings: Add synonyms to display cutout emulation setting" into pi-dev
...
am: fb04d4acf7
Change-Id: I320ed9af17ae1a5b0a5b0a13114ae03d4036921c
2018-04-17 10:03:47 -07:00
TreeHugger Robot
fb04d4acf7
Merge "Settings: Add synonyms to display cutout emulation setting" into pi-dev
2018-04-17 16:43:31 +00:00
Adrian Roos
280589bfe5
Settings: Add synonyms to display cutout emulation setting
...
Test: Search for "notch" or "display cutout", verify emulation setting shows up
Change-Id: Iaf036c965c233e63d9cc9729a0ecd13d8e6a8881
Fixes: 78163992
2018-04-17 17:22:52 +02:00
Julia Reynolds
0ddba4c119
Show suppression msg under ringer slider
...
Instead of replacing the rigner slider, because the stream
isn't actually muted.
Change-Id: Id2c60d6c570084ed8febcaeb3b096a487f572312
Fixes: 77641315
Test: robotests
2018-04-17 10:46:47 -04:00
hughchen
ac23bb5d54
Remove the divider
...
* Remove the divider that below the "Previously connected devices"
Bug: 78153629
Test: Build
Change-Id: I298f3bf396c929f025978431577cba9d6aa5f678
2018-04-17 17:14:42 +08:00
HJ ChangLiao
f3be34e01b
Move device detail edit button from menu to header
...
Move the edit button on Bluetooth device detail,
From action bar menu to header.
Use EntityHeaderController to add and control,
Rename those method because we use them on
more than one place now.
Change-Id: I3afad6baeab80895c109603e2ab13428582a4dd8
Fixes: 76206922
Test: make RunSettingsRoboTests
2018-04-17 12:33:01 +08:00
Mehdi Alizadeh
ccec4e830c
Remove swipe up setting page if the feature is not available am: e848603807
...
am: 788bf1dd39
Change-Id: I75e9ac7d96ce99f42abe2c91aed659dca0607112
2018-04-16 20:04:36 -07:00
Chalard Jean
a035ca8748
Merge "Use the SSID of the network in the no internet dialog" into pi-dev am: 031bee8e6e
...
am: dc20c794b8
Change-Id: I1727deb8f6298709f5629b734acf6b7a1f174bc2
2018-04-16 19:57:20 -07:00
Pengquan Meng
dd06c985c3
Merge "Fixed ApnEditor crash issue" into pi-dev am: c670be956c
...
am: 755426d7d8
Change-Id: I575e6775a47a2cd8b8bff3e2ab55309744a72e0a
2018-04-16 19:43:38 -07:00
Mehdi Alizadeh
788bf1dd39
Remove swipe up setting page if the feature is not available
...
am: e848603807
Change-Id: I915ca786a1af7938e32e28d53468dec1584d5493
2018-04-16 19:23:39 -07:00
Chalard Jean
dc20c794b8
Merge "Use the SSID of the network in the no internet dialog" into pi-dev
...
am: 031bee8e6e
Change-Id: I1b437e107541f9789eb9e27461f8bb8a6874e997
2018-04-16 19:18:00 -07:00
Mehdi Alizadeh
e848603807
Remove swipe up setting page if the feature is not available
...
Bug: 77974864
Test: Manual test and RoboTests
Change-Id: Ie23a01f254d65e5888f91b5b1cb80df40976c569
2018-04-17 02:14:48 +00:00
Lei Yu
d0a1e0af1d
Merge "Hide suggestion if app already been restricted" into pi-dev am: 1d5d289d08
...
am: 3f3c3c1c70
Change-Id: Ibc8a5d5ee7e52ffdeb364061afcf3af6e0b2366a
2018-04-16 19:01:41 -07:00
Chalard Jean
031bee8e6e
Merge "Use the SSID of the network in the no internet dialog" into pi-dev
2018-04-17 02:01:02 +00:00
Fan Zhang
da52162eba
Merge "Fix an RTL issue in Network dashboard's summary text." into pi-dev am: d743f20618
...
am: fc47444c61
Change-Id: I0de8b7e6780768fe32fe5fe0eb3ae42c2f78f8d4
2018-04-16 18:47:22 -07:00
Pengquan Meng
755426d7d8
Merge "Fixed ApnEditor crash issue" into pi-dev
...
am: c670be956c
Change-Id: Id2fc2f2b535e9d992bc45a1a1206c6f0dddf29c8
2018-04-16 18:42:58 -07:00
Pengquan Meng
c670be956c
Merge "Fixed ApnEditor crash issue" into pi-dev
2018-04-17 01:26:54 +00:00
Lei Yu
3f3c3c1c70
Merge "Hide suggestion if app already been restricted" into pi-dev
...
am: 1d5d289d08
Change-Id: I15337dd8b0ed36134cdd05d9a09877412444a8e5
2018-04-16 18:14:50 -07:00
Fan Zhang
fc47444c61
Merge "Fix an RTL issue in Network dashboard's summary text." into pi-dev
...
am: d743f20618
Change-Id: I36c91343b50926c844c6939fece383228470a7a7
2018-04-16 17:47:09 -07:00
TreeHugger Robot
1d5d289d08
Merge "Hide suggestion if app already been restricted" into pi-dev
2018-04-17 00:30:08 +00:00
TreeHugger Robot
d743f20618
Merge "Fix an RTL issue in Network dashboard's summary text." into pi-dev
2018-04-16 23:40:09 +00:00
TreeHugger Robot
cbcbb74a5d
Merge "Migrate ManagedProfileSettings to DashboardFragment"
2018-04-16 22:56:55 +00:00
Bill Yi
082622b3d4
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: f99a4a3e06 -s ours
...
am: 71674cb7d2 -s ours
Change-Id: I3e1ec307ea4d5d87209b0093f0d4e84e47f9eb44
2018-04-16 15:28:09 -07:00
Bill Yi
71674cb7d2
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
...
am: f99a4a3e06 -s ours
Change-Id: Iea1d0a1bc534e1a50349782ab856013176a7ca66
2018-04-16 15:14:49 -07:00
Fan Zhang
ae131c4786
Fix an RTL issue in Network dashboard's summary text.
...
Bidi wrap the word "Wi-Fi" so it's RTL'd correctly in all languages
Change-Id: Ia228b8f182ba6c7b5db5c310ecb54b25937e6ab7
Fixes: 78120642
Test: visual
2018-04-16 14:59:22 -07:00
TreeHugger Robot
f99a4a3e06
Merge "Import translations. DO NOT MERGE" into pi-dev
2018-04-16 21:56:56 +00:00
Lei Yu
9e6d649b3a
Hide suggestion if app already been restricted
...
Change-Id: I89904575be0236a22e4ca403bedc6adfc6cc5708
Fixes: 78014551
Test: RunSettingsRoboTests
2018-04-16 13:31:59 -07:00
Bill Yi
69e8ab6612
Import translations. DO NOT MERGE
...
Auto-generated-cl: translation import
Bug: 64712476
Change-Id: If256f5f7a79cc21e1251bd26b3b0c934d5cda71b
2018-04-16 13:18:24 -07:00
Caxton Chan
67ee923708
Merge "Add audio switch UI in sound settings" into pi-dev am: 03b8aa3a3c
...
am: 160c30151f
Change-Id: I23b4cc7431a38fc3314547393d190d3020d6f75f
2018-04-16 12:50:38 -07:00
Caxton Chan
160c30151f
Merge "Add audio switch UI in sound settings" into pi-dev
...
am: 03b8aa3a3c
Change-Id: I4c89750d66e4e3021e1a1a378ab4dfd16e40f883
2018-04-16 12:35:36 -07:00
jason_chiu
c69102d24e
Migrate ManagedProfileSettings to DashboardFragment
...
- Move preference related logic to Controllers.
- Add some test cases for controllers.
Test: manual
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.accounts
make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.core
atest SettingsGatewayTest UniquePreferenceTest
Change-Id: If4fcd7bf572672c886d5c91b2d15013817d1aa67
2018-04-16 12:35:01 -07:00
Caxton Chan
03b8aa3a3c
Merge "Add audio switch UI in sound settings" into pi-dev
2018-04-16 19:24:31 +00:00
TreeHugger Robot
0d59a62bfb
Merge "Remove the dependency on InputMethodSettings"
2018-04-16 19:19:48 +00:00
hughchen
5620d28f3f
Merge "Implement audio switch UI" into pi-dev am: 5a2f73151e
...
am: 608d436da0
Change-Id: Iea47d84345cfd10388a4c2ad34d5cedcfe7eaeb6
2018-04-16 12:12:21 -07:00
hughchen
608d436da0
Merge "Implement audio switch UI" into pi-dev
...
am: 5a2f73151e
Change-Id: Ib20749758c6dd8a8db24e3d4dba29232bac46793
2018-04-16 11:56:28 -07:00
TreeHugger Robot
5a2f73151e
Merge "Implement audio switch UI" into pi-dev
2018-04-16 18:34:37 +00:00
Lei Yu
9a44eb6be7
Merge "Remove battery usage preference in app info page" into pi-dev am: ea7dd68480
...
am: e5b270a4dd
Change-Id: I394652b3b170625fc51f54d675c9a07d951a72a3
2018-04-16 10:59:36 -07:00
Lei Yu
e5b270a4dd
Merge "Remove battery usage preference in app info page" into pi-dev
...
am: ea7dd68480
Change-Id: I91f76bbedf9ef04a8a57fd1d68c747a0beb41148
2018-04-16 10:39:48 -07:00
TreeHugger Robot
ea7dd68480
Merge "Remove battery usage preference in app info page" into pi-dev
2018-04-16 17:14:49 +00:00
Isha Bobra
ea72074ed7
Merge "Show only 1 entry for hearing aid devices without killing the activity." into pi-dev am: d87acaf3cf
...
am: 595cda2d14
Change-Id: I49973a65a31f5f79722c4e4841f2dcda34128edb
2018-04-16 10:03:34 -07:00
Isha Bobra
595cda2d14
Merge "Show only 1 entry for hearing aid devices without killing the activity." into pi-dev
...
am: d87acaf3cf
Change-Id: Id0d3f2912feff75a572c57230715ffeed0a68d80
2018-04-16 09:56:17 -07:00
Isha Bobra
d87acaf3cf
Merge "Show only 1 entry for hearing aid devices without killing the activity." into pi-dev
2018-04-16 16:42:33 +00:00
Beverly
fbe721b1b3
Get rid of charging sounds toggle
...
Users can no longer toggle on/off the charging sound.
Test: manual
Bug: 77912907
Change-Id: Ie050acab3972cb1fa6716c70afb6403db4d9c887
2018-04-16 12:35:59 -04:00
Chalard Jean
d391f46076
Use the SSID of the network in the no internet dialog
...
Bug: 77865258
Test: manual & roboelectric
Change-Id: I72f1f74bf004f30a2c38b4c3af977ff09360d1e8
2018-04-16 13:09:03 +09:00