Commit Graph

7896 Commits

Author SHA1 Message Date
Pasty Chang
d606815585 Merge "Apply a11y screen to glif layout" 2019-03-27 10:03:16 +00:00
clownshen
c085f18cf1 Fix broken test in WifiDetailPreferenceControllerTest
Bug: 129292549
Test: atest WifiDetailPreferenceControllerTest
Change-Id: Idd8764425816b6851efd5cb716bc968e19b06ea0
2019-03-27 15:03:07 +08:00
timhypeng
9afd28fcb4 [Fix] Unable to show output device indicator after reboot
- To fix the NPE in MediaOutputIndicatorWorker
- To get Bluetooth device status in Slice, not in Worker
- To purify Worker to be an event receiver

Bug: 128945026
Test: make -j42 RunSettingsRoboTests
Change-Id: I9360202870c7a43a79641c5b84210c1bfad4b9a6
2019-03-27 05:32:52 +00:00
pastychang
d69b86a0ef Copy extra of suw flow to the intent of lock screen pages
Bug: 129323340
Test: atest
Change-Id: I3886c097bd49df9e1169f8004889f9af8c567560
2019-03-27 10:24:55 +08:00
Maurice Lam
9c2fae83a3 Fix fingerprint icon on pattern screen
Test: atest [...]/ChooseLockPatternTest.java
Bug: 129342100
Change-Id: I4e670b6265fe4a77ecbd8ede9a703fa0762f7504
2019-03-26 18:50:21 -07:00
TreeHugger Robot
e22c2c1658 Merge "Add SettingsIntelligenceLogwriter" 2019-03-27 01:45:38 +00:00
jackqdyulei
281cf17d89 Skip lifecycle if controller is not available
Fixes: 129076378
Test: RunSettingsRoboTests
Change-Id: If1e49785c2378ec2cf0f7d2837bc7d4c0ff915a0
2019-03-26 17:00:36 -07:00
jackqdyulei
27c3fe65fd Update CodeInspectionTest
Update the method to check it contains valid constructor, otherwise
report error.

Fixes: 129346285
Test: RunSettingsRoboTests
Change-Id: I4c5a62b1046e791f3988cd5215879435a831d19d
2019-03-26 16:28:36 -07:00
TreeHugger Robot
b93e55f05e Merge "Deep link to detail UI when mainline module version is clicked." 2019-03-26 23:17:35 +00:00
Raff Tsai
02e45574a3 Add SettingsIntelligenceLogwriter
Bug: 124701288
Test: robolectric, manual
Change-Id: Iea446ae600d22ed62c5ee45afd1cd27a89b5de34
2019-03-27 07:14:20 +08:00
Mill Chen
5eeb6ae67a Merge "Broadcast an intent after turning off Grayscale" 2019-03-26 23:10:38 +00:00
Salvador Martinez
ef1b5ceb10 Merge "Update dark theme to have new screen" 2019-03-26 22:32:15 +00:00
TreeHugger Robot
f9a12b825e Merge "Enable/disable a few things in debuggable builds" 2019-03-26 21:16:27 +00:00
Wei Wang
1a90162afd Address API council comments.
Bug: 123587501
Test: Manual
Change-Id: I72582ca6d8da8b1fe7bc4fc1b4b4db1fad6ca7a7
2019-03-26 14:06:16 -07:00
Fan Zhang
5911fe6188 Deep link to detail UI when mainline module version is clicked.
Fixes: 129287281
Test: robotests
Change-Id: I875cf39936dd8cc656aba9e30dc03c882ee13d4a
2019-03-26 13:54:37 -07:00
TreeHugger Robot
507b7bf4f8 Merge "Flip the preference for sticky battery saver" 2019-03-26 20:41:27 +00:00
Lei Yu
5b39ec5d63 Merge "Fix broken settings tests(Round 2)" 2019-03-26 20:38:22 +00:00
Salvador Martinez
1053ec04b4 Update dark theme to have new screen
The dark theme preference should have it's own screen rather than
being a dialog. This adds some boilerplate code that will be
needed for the illustration as well as converting the current
list preference to open a new screen.

Test: robotests
Bug: 128686189
Change-Id: I5b62276353c0d39ad2ad00d21d2280e76cceb09b
2019-03-26 13:17:11 -07:00
jackqdyulei
6aeed0eaa1 Fix broken settings tests(Round 2)
1. Mark a few as Ignore with bug number
2. Remove some tests since they are obsolete.

Bug: 129159331
Test: RunSettingsRoboTests
Change-Id: I801681609c31c1f824c44b49ec89d9d28c716539
2019-03-26 12:46:01 -07:00
TreeHugger Robot
dec5aff009 Merge "Add Live Caption preference to Accessibility page." 2019-03-26 19:25:39 +00:00
Fan Zhang
d151c40eea Enable/disable a few things in debuggable builds
- Feature flag dashboard is now only ON in debuggable builds
- Draw overlay is enabled in debuggable builds for a11y testing

Fixes: 129060539
Fixes: 129041251
Test: robotests
Change-Id: Ic799101c8ca6cbcd26fe02b6a567f223800805ab
2019-03-26 12:11:35 -07:00
TreeHugger Robot
73f570febc Merge "Update search keywords for some pages." 2019-03-26 18:49:32 +00:00
Mill Chen
6d90cdfea7 Broadcast an intent after turning off Grayscale
Settings will send a broadcast when the user disable Grayscale in
Settings. Also, Settings registers a broadcast receiver to monitor the
status changed of Grayscale.

Bug: 118387886
Test: robotests
Change-Id: I92d1b9adf7a600b4abac943ebbd5a11d02d3d1b8
2019-03-26 11:37:16 -07:00
Salvador Martinez
d12d722099 Flip the preference for sticky battery saver
Instead of toggled on being to keep battery saver on, the UX
writers would like to make toggled on be turn battery saver off
automatically. Also turns the controller into a
TogglePreferenceController, because those exist apparently.

Test: visual inspection, tests pass
Fixes: 126938839
Change-Id: Iffac536d0b1956d4534ca1b5fa5c6440c4d3a3ff
2019-03-26 11:29:18 -07:00
Anthony Tripaldi
308d833d16 Add Live Caption preference to Accessibility page.
This reverts commit fa27a88292.

The original was only a temporary revert in order to remove from initial beta release for dogfooding before the feature was ready.

Reason for revert: b/123652115

Bug:123652115
Test: manual
Change-Id: Id647c2992e30289d72a4f6144829a997677be3fa
2019-03-26 13:09:50 -04:00
Fan Zhang
bb679d4817 Update search keywords for some pages.
Fixes: 129016511
Test: reindex
Change-Id: I73f7094168b00ecd92958c1760fde0dbd634bef9
2019-03-26 09:57:37 -07:00
Tony Zhu
14ce904fa3 Merge "Fix VoLTE toggle names for all carriers." 2019-03-26 11:41:58 +00:00
Jason Chiu
5b15c6748e Fix broken tests in WifiSliceTest
Fixes: 129293669
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi.slice
Change-Id: I70bbeb1fcf01ff0569c937c5dd5c9cfa2e8f9b3c
2019-03-26 14:29:41 +08:00
Raff Tsai
b0bb2f36a1 Merge "Fix broken settings tests" 2019-03-26 05:16:21 +00:00
tonyzhu
ef9c44461f Fix VoLTE toggle names for all carriers.
Change default from "Enhanced 4G LTE Mode" to "VoLTE".
Add 4g calling and its sub summary.
Show carreirs VoLTE toggle names by carrier config.

Bug: 129112234
Bug: 129153582
Test: Use commands to override carrier config to observe the
UI as expected.

Change-Id: I1d418873a661b3c20c5a6d0a056dcb2573742c65
2019-03-26 11:43:51 +08:00
jackqdyulei
4dbcdd632f Fix broken settings tests
1. Mark a few as Ignore with bug number
2. Remove some tests since it is covered in other places
3. Fix some tests

I think we should make tests at least green asap.

Bug: 129159331
Test: RunSettingsRoboTests
Change-Id: I90971b416806e4e9be249b06ad5abfb73d9d7c23
2019-03-25 15:54:47 -07:00
Lei Yu
d8665574d5 Merge "Fix broken bluetooth robo tests" 2019-03-25 22:53:04 +00:00
jackqdyulei
a2208c008b Fix broken bluetooth robo tests
Bug: 129159331
Test: RunSettingsRoboTests
Change-Id: I3e64659e59fd9b2ac58bf697116e1ee34928a3cd
2019-03-25 13:15:30 -07:00
Winson Chung
d16e3233af Updating settings to use resource overlay instead of setting.
Bug: 127366543
Test: Manual test on device
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationLegacyPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationSwipeUpPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationEdgeToEdgePreferenceControllerTest

Change-Id: I021d05a21e00136c6f3651247964319274bdab91
2019-03-25 00:26:39 -07:00
Andrew Sapperstein
63ab34827f Merge "Update eSIM deletion strings." 2019-03-23 02:51:06 +00:00
Hall Liu
928d2abc57 Merge "Show the disclaimer regarding WFC location privacy policy" 2019-03-23 02:13:33 +00:00
Lei Yu
fb93cb224f Merge "Add fp icon with background shape" 2019-03-22 22:03:53 +00:00
Ryan Mitchell
139ea3f082 Merge "Fix Settings test that uses OverlayInfo" 2019-03-22 21:39:41 +00:00
Salvador Martinez
6cf1399d5e Merge "Rename battery saver schedule mode apis" 2019-03-22 20:52:13 +00:00
Andrew Sapperstein
88930e373e Update eSIM deletion strings.
Adds some conditional behavior for the confirmation screens.
When the erase eSIM option is visible and checked, shows alternate string.

Fixes: 126262481
Fixes: 118751918
Test: visual inspection & make -j RunSettingsRoboTests
Change-Id: I40f983b03ad470d785bf104e645dbc92e7897d2d
2019-03-22 13:03:25 -07:00
jackqdyulei
36ce63dcb5 Add fp icon with background shape
Fixes: 126425211
Test: RunSettingsRoboTests

Change-Id: I779f76f597b80d73b6dd6eb9e43a96abc9fee0bb
2019-03-22 12:06:36 -07:00
TreeHugger Robot
4d33ead8ef Merge "Updated privacy settings to launch custom content capture settings when available." 2019-03-22 18:35:58 +00:00
Salvador Martinez
7fb560af4f Rename battery saver schedule mode apis
The APIs that back these settings got renamed so this CL just
refactors all the calls to use the new names.

Test: robotests still pass
Bug: 126944845
Change-Id: I2975c7c79998823058db2c0ced2e5cf02216a106
2019-03-22 10:02:51 -07:00
Ryan Mitchell
5f6924761e Fix Settings test that uses OverlayInfo
Now that targetOverlayableName has been added to OverlayInfo, the tests
that construct the info objects must be fixed.

Bug: 128830059
Test: atest SettingsRoboTestStub
Change-Id: I2cee25e417ec643f758ebe40551cc97b1f0828ac
2019-03-22 08:15:44 -07:00
Felipe Leme
fcf98251f2 Updated privacy settings to launch custom content capture settings when available.
Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest \
      CtsContentTestCases:android.content.cts.AvailableIntentsTest#testRequestEnableContentCaptureIntent
Test: adb shell am start-activity -a android.settings.REQUEST_ENABLE_CONTENT_CAPTURE

Fixes: 119264902

Change-Id: I2a030c31d966d40feb6ba449e4bbc9ef8cf0565b
2019-03-22 08:10:48 -07:00
TreeHugger Robot
5826f427e2 Merge "Remove shadow from "Apps and Notifications"" 2019-03-22 05:19:36 +00:00
tmfang
aed8f361fc Remove shadow from "Apps and Notifications"
- Also create a util method to reuse it in different class.

Test: visual
Fixes: 128437380
Change-Id: I0e136feed3aead8c37e381095daebded55ef298d
2019-03-22 11:08:15 +08:00
TreeHugger Robot
d0e149fde3 Merge "Move WakeScreenGesturePrefController" 2019-03-22 01:19:00 +00:00
Fan Zhang
e3cee29472 Merge "Remove reference to R.id.summary_container." 2019-03-21 23:41:58 +00:00
TreeHugger Robot
0847f14097 Merge "Clean up the hard cache in SettingSliceProvider." 2019-03-21 23:23:45 +00:00