Commit Graph

8078 Commits

Author SHA1 Message Date
TreeHugger Robot
1cc5eef87f Merge "Launch correct tone picker for audio attributes" 2019-03-28 16:09:17 +00:00
Joel Galenson
2512aa1ed6 Add tiebreak rules for bar chart permissions.
If multiple permissions have been used by the same number of apps, we
apply a stable tiebreak so we can be consistent in different places.
We prefer location, then microphone, then camera, and everything else
is alphabetical.

Test: View chart with ties.
Test: atest PermissionBarChartPreferenceControllerTest
Change-Id: I035ac19391788cc720e1c832bf8bd5a60d31e8ad
2019-03-28 08:38:30 -07:00
Edgar Wang
59d4681253 Handle When received intent extra in System settings need show dialog
Bug: 128853573
Test: visual, robotest
Change-Id: I92337e26f51c3f7ef4033d424ddcf07c6da6805d
2019-03-28 22:49:09 +08:00
Yanting Yang
2585d27573 Merge "Add condition to ignore invalid packages in NotificationChannelSlice" 2019-03-28 13:01:47 +00:00
TreeHugger Robot
8f7eada87a Merge "Add implementation of homepage swipe to dismiss." 2019-03-28 10:36:24 +00:00
Yanting Yang
b1d846cbbd Add condition to ignore invalid packages in NotificationChannelSlice
If all displayable notification channels of package are turned off,
stop showing notification channel slice of package.

Bug: 124480122
Test: robotests
Change-Id: I3ce9ebc4cca18dac3b4b6f15c28c697b72df81e3
2019-03-28 18:01:11 +08:00
TreeHugger Robot
0ba7a5fd2f Merge "Add search index into WallpaperSuggestionActivity" 2019-03-28 08:38:31 +00:00
hughchen
43fcc7b829 Set accent color to COLOR_NOT_TINTED
Bug: 128570540
Test: Test: make -j42 RunSettingsRoboTests
Change-Id: I483542156bf6cd24ed7080fed45e9f8e4d87a079
2019-03-28 14:30:55 +08:00
Sunny Shao
61aaed450e Add search index into WallpaperSuggestionActivity
.Use the Indexable interface for WallpaperSuggestionActivity and implement the getRawDataToIndex
.Remove the search index in the WallpaperTypeSettings
.Add full class name of the WallpaperTypeSettings into grandfather_not_implementing_index_provider

Bug: 63117104
Test: robotest & Manual View
Change-Id: I73f43e4996efbe857d74df297ea0d08eb1b640ac
2019-03-28 14:30:12 +08:00
TreeHugger Robot
7c49d1505f Merge "Use explicit intent to broadcast grayscale state changed" 2019-03-28 05:34:59 +00:00
tmfang
e668924149 Disallow Package Installer to be disabled
Test: visual, robotest
Fixes: 128950485
Change-Id: Id50a62fe3288761f68a3588b154db24573418068
2019-03-28 13:29:03 +08:00
TreeHugger Robot
db1c8a5fed Merge "Update battery saver schedule to show warning" 2019-03-28 04:04:03 +00:00
Yi-Ling Chuang
eeea6676d4 Add implementation of homepage swipe to dismiss.
- Only enable swipe for slice full/half card.
- Add isPendingDismiss in ContextualCard to determine if we should show
dismissal view.
- Take out long press feature.

Bug: 126214056
Test: robotests
Change-Id: Ib03e605347b2f50d3c62fcd4f95875a21cc9ef1c
2019-03-28 11:59:45 +08:00
Pasty Chang
dee673b0d7 Merge "Copy extra of suw flow to the intent of lock screen pages" 2019-03-28 03:03:09 +00:00
hughchen
9d4b634535 Remove method that used to get rainbow bt icon
Move get rainbow bt icon method to settingsLib

Bug: 128570540
Test: RunSettingsRoboTests
Change-Id: Iee022bd1471f1da057b1852bb648e9c7ce334727
2019-03-28 10:58:55 +08:00
Mill Chen
2ef3dacad8 Use explicit intent to broadcast grayscale state changed
Query PackageManager for receivers that can handle the intent and send
an explicit intent to these receivers.

Change-Id: I06f500c20ae0a20d689cf0805b6a82247ea55e73
Fix: 118387886
Test: robotests
2019-03-27 18:47:19 -07:00
Hugh Chen
7b770d6a87 Merge "[Fix] Unable to show output device indicator after reboot" 2019-03-28 01:39:52 +00:00
Salvador Martinez
194abe94d0 Update dark mode in accessiblity settings
There was an entry point to dark mode that wasn't updated when the
display settings one was changed to point to a new screen. This
change makes it so that clicking dark mode in accessiblity also
opens the same screen.

Test: robotests pass
Bug: 129406772
Change-Id: I0ad830638e04e5520cdf7de6927764fa6b68a179
2019-03-27 18:29:40 -07:00
TreeHugger Robot
e5f8b74f38 Merge "Log RecyclerView click position" 2019-03-28 00:55:18 +00:00
Salvador Martinez
c4d86b081b Update battery saver schedule to show warning
If a user tries to enable a battery saver schedule we want
to show them the battery saver warning if they haven't seen it.
This CL does that.

Test: robotests pass, manual verification
Bug: 128924009
Change-Id: I683279716ac7700043b1a01f88bdf2ae716eeece
2019-03-27 17:40:23 -07:00
Raff Tsai
682763974d Log RecyclerView click position
Test: rebuild, robolectric
Fixes: 127881281
Change-Id: Idddbbf9c1159e0e5b280178e98f9258cbd7864f9
2019-03-28 07:04:50 +08:00
TreeHugger Robot
10001060e7 Merge "Check wfc roaming config when read" 2019-03-27 22:55:43 +00:00
Quang Luong
d832dcc7c5 Disable Mac randomization setting for Passpoint networks
Mac randomization setting should be greyed out in the network
details page for Passpoint networks.

Bug: 129279500
Test: atest WifiPrivacyPreferenceControllerTest
Change-Id: I4fc89ddbca839c4859f11f8fad212b3e0e4aa7ce
2019-03-27 15:28:34 -07:00
Fan Zhang
0a83cd82a1 Merge "exit app info page if app is a hidden system module." 2019-03-27 19:50:41 +00:00
TreeHugger Robot
cb79edf72d Merge "Address API council comments." 2019-03-27 19:43:36 +00:00
Fan Zhang
d646ad7778 exit app info page if app is a hidden system module.
Fixes: 120546598
Test: robotest
Change-Id: I763ce9d65904e2b0c2a6144776c42881a1269c52
2019-03-27 12:39:10 -07:00
Maurice Lam
db24af6325 Merge "Fix fingerprint icon on pattern screen" 2019-03-27 18:00:27 +00:00
Lei Yu
1d4362f9f0 Merge "Update CodeInspectionTest" 2019-03-27 17:55:51 +00:00
Youming Ye
f9c68dc980 Check wfc roaming config when read
Bug: 127913488
Test: Build
Change-Id: I0a3e8d3f4bc0590f12085f5963892a1d8278efdc
2019-03-27 10:23:15 -07:00
Fan Zhang
6f3ed8dbd7 Merge "Skip lifecycle if controller is not available" 2019-03-27 16:54:28 +00:00
Julia Reynolds
ca974ae0f4 Launch correct tone picker for audio attributes
Test: robotests
Fixes: 129353516
Change-Id: Iacbf5008f186e59377e534da747544d33a20f81f
2019-03-27 15:22:53 +00:00
Clown SHEN
dd295676c6 Merge "Fix broken test in WifiDetailPreferenceControllerTest" 2019-03-27 14:04:10 +00:00
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