Commit Graph

47118 Commits

Author SHA1 Message Date
Doris Ling
d526c973f6 Restore the up time preference.
- up time preference is removed when we updated to the new version of
about phone settings. Add it back to the preference xml, and restore the
controller for it.

Change-Id: I245316e84d04f9d6f033377c944b615dd6e138a5
Fixes: 111828610
Test: manual
2018-07-25 16:43:40 -07:00
TreeHugger Robot
6c5d13aadb Merge "Use Tile.getIcon() to avoid caching issue" 2018-07-25 23:25:54 +00:00
TreeHugger Robot
ba6fd357a9 Merge "Check for WiFi controller for summary population." 2018-07-25 22:51:00 +00:00
Fan Zhang
4329792198 Clean up unused deps
Test: rebuild
Change-Id: I7caa30024046ae832cafef6598ecf74db4aba8bf
2018-07-25 15:25:05 -07:00
Ben Lin
96dc235f6e Check for WiFi controller for summary population.
WiFiController might return not available, so we should only surface
"Wi-Fi" as a summary entry if it's available in the settings page.

This also checks for empty strings in case they are declared as such in
the XML (since XML can be device/product overlay'd), to avoid situations
such as ", data usage".

Bug: 111398942
Test: Manual check, and I see Wi-Fi no longer visible for cases where
Wifi controller isn't available.
Test: make RunSettingsRoboTests
Change-Id: I24736a6240c50e2ea38ce424fbac2316721290d8
2018-07-25 14:14:11 -07:00
Fan Zhang
701b65eccc Use Tile.getIcon() to avoid caching issue
Bug: 77600770
Test: robotests
Change-Id: Icb21f5da9b542abc239b04b71813290ad3104ffb
2018-07-25 12:06:10 -07:00
TreeHugger Robot
f24b749ec0 Merge "Remove unused interface API" 2018-07-25 18:28:46 +00:00
TreeHugger Robot
f94d01d542 Merge "Change floating search button icon" 2018-07-25 17:41:11 +00:00
Mill Chen
c00cce4829 Change floating search button icon
- Add an alias name for floating search button

Bug: 111665984
Test: rebuild
Change-Id: I020cd4a163ae586f5b8faa0d4f8d9bc8bbd84fa4
2018-07-25 17:38:48 +08:00
Fan Zhang
75dc0c4d32 Remove unused interface API
Bug: 111796429
Test: robotests
Change-Id: I5887a0a48285cf61777ac7c6a896d16dd7585a26
2018-07-24 15:00:35 -07:00
Doris Ling
c879386e5a Merge "Fix new account not shown for work profile." 2018-07-24 17:57:43 +00:00
Kevin Chyn
3d3219eb02 Merge "Update Security & location preference summary depending on biometrics" 2018-07-24 17:42:36 +00:00
TreeHugger Robot
da5b246e8d Merge "Modified the char limit" 2018-07-24 16:20:25 +00:00
Dario Freni
d5247039c2 [automerger skipped] Merge "Include NOTICE file in /product partition." am: aa2ec5f239 -s ours am: 1e56e69a46 -s ours am: 1237373743 -s ours
am: 64e4c89ef6  -s ours

Change-Id: I8b4a41fa2ef2fb023ba4f5ac96494be8172cb6ec
2018-07-24 04:11:18 -07:00
Dario Freni
64e4c89ef6 [automerger skipped] Merge "Include NOTICE file in /product partition." am: aa2ec5f239 -s ours am: 1e56e69a46 -s ours
am: 1237373743  -s ours

Change-Id: I00878455de5f09b6ab95d03ae5def411c8c0cb9e
2018-07-24 04:06:25 -07:00
Dario Freni
1237373743 [automerger skipped] Merge "Include NOTICE file in /product partition." am: aa2ec5f239 -s ours
am: 1e56e69a46  -s ours

Change-Id: I0282749b861a6571326c725b5c62a0ebda99dff9
2018-07-24 04:02:45 -07:00
Dario Freni
1e56e69a46 [automerger skipped] Merge "Include NOTICE file in /product partition."
am: aa2ec5f239  -s ours

Change-Id: I5341a7ab21758d1a47b0618cd8b1779f063b1406
2018-07-24 03:58:08 -07:00
Treehugger Robot
aa2ec5f239 Merge "Include NOTICE file in /product partition." 2018-07-24 10:35:44 +00:00
TreeHugger Robot
add367f0d0 Merge "Delegate PrintServicesLoader to the framework's one" 2018-07-24 10:17:53 +00:00
Kevin Chyn
eb0de79ffc Update Security & location preference summary depending on biometrics
Fixes: 110960063

Test: manual
Test: make -j56 SettingsRoboTests ROBOTEST_FILTER=SecuritySettingsTest
Change-Id: Ia9186af37c84f4ff0391d1b72043948934ed997b
2018-07-23 21:21:53 -07:00
Sunny Shao
ea846c6482 Modified the char limit
- Modified the comment in strings.xml and extended the length of the CHAR LIMIT

Change-Id: I39d065aad7473bb1111db690c7b7a1ff81de459c
Fixes: 111697704
Test: visual
2018-07-24 11:56:49 +08:00
Doris Ling
ce5f9c07da Fix new account not shown for work profile.
When refreshing the Accounts settings UI, we uses the cached user info
for checking user status. However, when the work profile is being
updated, the UserInfo obejct for the user might be updated even the
user id is the same. Using the cached data causes stale info to be
returned for the user and results in the latest account data not
being shown properly for the user. Update the cache to the latest user
info retrieved from user manager.

Change-Id: Ic0127842203f0288f2fdea6c6346cd11e42a8bf0
Fix: 38302246
Test: make RunSettingsRoboTests
2018-07-23 16:13:39 -07:00
Fan Zhang
75bafefa49 Move CategoryManager to Settings.
Bug: 77600770
Test: robo
Change-Id: Id4a0c89938d43d21147944b820a191486c589238
2018-07-23 15:09:41 -07:00
Kevin Chyn
7189997bfa 5/n: Add face settings
This change connects the face status preference controller with the
settings fragment/activity. This change also implements the basic settings
page showing a video, a toggle for keyguard, improve/remove targets,
and footer.

Bug: 111321762

Test: manual
Change-Id: Ifc65f5acbf6551679074df63ef22ffba75229f37
2018-07-23 14:34:48 -07:00
Irina Dumitrescu
4fb1e1a633 Update notification_settings_work_profile comment.
Test: n/a
Fixes: 111699435
Change-Id: I1a33204f5305db28e7d423b4b2523ed64c675e46
2018-07-23 13:58:20 +00:00
Kevin Chyn
c01cb892b1 Merge "Fix settings crash after androidx refactoring" 2018-07-21 01:24:58 +00:00
Kevin Chyn
074fe1e473 Fix settings crash after androidx refactoring
Fixes: 111701576

Change-Id: I095d4837e7a34fb9f240f2a302b5c6f7d1142db9
Fixes: 111701576
2018-07-20 17:19:52 -07:00
Ian Pedowitz
836b777fa5 Remove the character limit
This could cause existing messages to get clipped

Effectively reverting part of e7c3ca0e2e

Bug: 111577594
Test: None, is a revert of this config
Change-Id: Ifaa8c9674db3c6865b3b59fcd254bb3e2b20a5f5
2018-07-20 16:40:39 -07:00
TreeHugger Robot
448c61ffb9 Merge "Request lock screen message focus and limit character limit" 2018-07-20 23:32:35 +00:00
TreeHugger Robot
167b232242 Merge "Hide lock screen display in search if it's not in Settings" 2018-07-20 23:10:28 +00:00
Fan Zhang
e7c3ca0e2e Request lock screen message focus and limit character limit
Change-Id: I78594d03ae5430f63e46cb97e2413c1c4bf60d8a
Fixes: 111577594
Test: manual
2018-07-20 15:34:13 -07:00
Doris Ling
c24865e242 Merge "Fix battery animation not being played." 2018-07-20 22:28:53 +00:00
Fan Zhang
c00b042678 Merge changes from topic "migrate-alerdialog-androidx"
* changes:
  Migrate all AlertDialogs to AndroidX version
  Migrate all AlertDialogs to AndroidX version
2018-07-20 21:52:06 +00:00
Fan Zhang
44acde5ee1 Hide lock screen display in search if it's not in Settings
Change-Id: Iacf16eb947a679e08a6c55e0764416cd53cac2e7
Fixes: 111641373
Test: robotests
2018-07-20 14:50:02 -07:00
TreeHugger Robot
70e1ca3599 Merge "Remove ref to tile.remoteView, which is no longer used" 2018-07-20 21:32:07 +00:00
Doris Ling
09f527d053 Fix battery animation not being played.
- VideoPreference now checks the view visible flag to see if it
should start playing the video when the surface texture is being
updated. Added a default controller for the VideoPreference to
update the view visible flag of the VideoPrefernece when the
setting page is paused/resumed accordingly.
- add the default controller to the adaptive battery video and the
adaptive brightness video.

Change-Id: I1aae2148c27c7157c97541346790542c74377e5a
Fixes: 111103815
Test: make RunSettingsRoboTests
2018-07-20 14:10:25 -07:00
Fan Zhang
171e14eec9 Remove ref to tile.remoteView, which is no longer used
Bug: 77600770
Test: rebuild
Change-Id: If0fdd67dd3098d063584acaf2b262a04c209a569
2018-07-20 13:07:46 -07:00
Chalard Jean
b9dce70c97 Merge "Use the SSID of the network in the no internet dialog" am: 692f989b98 am: 9971303508 am: 28a2b521cf
am: 92295f0953

Change-Id: I1ef9422507de2aa9ee29ec3c52b17f3bf7363a06
2018-07-20 12:42:07 -07:00
Chalard Jean
92295f0953 Merge "Use the SSID of the network in the no internet dialog" am: 692f989b98 am: 9971303508
am: 28a2b521cf

Change-Id: Iae1632372659849d2f61377d0b31d171c50491ab
2018-07-20 12:33:56 -07:00
Chalard Jean
28a2b521cf Merge "Use the SSID of the network in the no internet dialog" am: 692f989b98
am: 9971303508

Change-Id: Ie1eecd52e31477bf7cac2fbe542f34be308ec5b6
2018-07-20 12:29:46 -07:00
Chalard Jean
9971303508 Merge "Use the SSID of the network in the no internet dialog"
am: 692f989b98

Change-Id: I6921cab3a99a3b4e2ad5919acb1e01f814d26289
2018-07-20 12:25:39 -07:00
Treehugger Robot
692f989b98 Merge "Use the SSID of the network in the no internet dialog" 2018-07-20 18:57:09 +00:00
Bill Yi
9bb49e434f [automerger skipped] Import translations. DO NOT MERGE am: 0a8de9d763 -s ours
am: 9551717c69  -s ours

Change-Id: Ib0facfffd92a2a3ea1115b6da5eb65a8ad1d44e2
2018-07-20 11:41:40 -07:00
Bill Yi
9551717c69 [automerger skipped] Import translations. DO NOT MERGE
am: 0a8de9d763  -s ours

Change-Id: Ic192d76bf26a37373d18944f459bcacae754c174
2018-07-20 11:33:55 -07:00
TreeHugger Robot
d34b7c9a0b Merge "Fix color of status bar" 2018-07-20 17:02:15 +00:00
Xin Li
7d2ce1c6f2 Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master am: e8858cc954
am: 9652d9ec5b

Change-Id: I251279ea01e26d62a66535a2b675b7e9418db6a5
2018-07-20 01:36:53 -07:00
Mill Chen
dff64a02cf Fix color of status bar
- Set true value to windowLightStatusBar

Bug: 111665984
Test: rebuild
Change-Id: I9808256be052e383656976555cfca5baf60634c6
2018-07-20 15:16:35 +08:00
Xin Li
9652d9ec5b Merge pi-dev-plus-aosp-without-vendor into stage-dr1-aosp-master
am: e8858cc954

Change-Id: Ide9e745efe8952ac27fb9fb79053557aa6a1caef
2018-07-19 23:45:48 -07:00
Jason Chiu
104e04dab4 Delegate PrintServicesLoader to the framework's one
1. Remove the duplicated PrintServicesLoader in Settings
2. Make a androidx.loader in Settings and internally just delegate all calls to the real PrintServicesLoader
3. Get the result from the real loader

Test: manual
Fixes: 111581651
Change-Id: I2a9b3653f5c68f8383a468cd16ef5f7c3fd4bc3a
2018-07-20 14:25:00 +08:00
tmfang
5bd7151413 Migrate all AlertDialogs to AndroidX version
- Let test cases can be compatible with AndroidX AlertDialog.
- Theme of Transparent needs to support AndroidX AlertDialog.

Change-Id: I0789b66f52feef30ebab7fb824d0e39d5ae9cc96
Fixes: 111413092
Test: make RunSettingsRoboTests -j56
2018-07-20 13:38:58 +08:00