Commit Graph

15009 Commits

Author SHA1 Message Date
Aurimas Liutikas
03fcde338b Migrate Settings to androidx.
Test: make Settings
Bug: 76692459
Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
Merged-In: I941dea40562170649bf056e675cc32e5163c0e39
(cherry picked from commit a290b873d0)
(cherry picked from commit b1af85d155)
2018-08-28 16:35:52 -07:00
Fan Zhang
2c9d9ce8de DO NOT MERGE Fix summary text for advanced button.
- the resource for the summary text is in the support library. However,
the prebuilt version in the build does not contain the latest change for
the summary text. Add the overlay for the summary resource here with the
updated translation to remove the redundant summary prefix in the
advanced button.

Change-Id: Ib6db0c402d79a2d965e6060b1851d7b898ae3f94
Fixes: 112986476
Bug: 111195268
Test: manual
2018-08-23 16:27:46 +00:00
Bill Yi
000f97dcf9 Import translations. DO NOT MERGE
Change-Id: I89c83219dfbf228054284db00548647b94fc398b
Auto-generated-cl: translation import
2018-08-04 07:43:29 -07:00
Shuzhen Wang
7ed1343d0a Merge "Revert "Settings: Add logical camera default switch"" into pi-dev
am: 1db4027355

Change-Id: I0d822607285c7b4405f6ef85cf06a029831e018f
2018-06-04 16:06:07 -07:00
TreeHugger Robot
1db4027355 Merge "Revert "Settings: Add logical camera default switch"" into pi-dev 2018-06-04 20:45:51 +00:00
Shuzhen Wang
8f9fc06a18 Revert "Settings: Add logical camera default switch"
This reverts commit a9578a2b8a.

Test: Build
Bug: 80007047
Merged-In: Id5f01e5de94ffaa86de1e96f6bde1092b0c586a2
2018-06-04 17:37:25 +00:00
Bill Yi
d9bd267146 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7d788703ce218cc211305bf078fde78ce7dde2af
2018-06-03 14:55:40 -07:00
Bill Yi
8c56825ecd Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I67611d91d92e62641467382da0079497eb5dcd06
2018-05-31 22:05:33 -07:00
Beverly
60d57976bc Merge "No need for "and" - ListFormatter adds it" into pi-dev
am: fa01fcb2c9

Change-Id: If899d486356937f740a959f1ca6d94b8675d857a
2018-05-31 14:24:11 -07:00
Beverly
ab5a016e26 No need for "and" - ListFormatter adds it
Test: manual, visual inspection
Change-Id: I5ce1442cc762c9c0ca22827df429dc64714c2f20
Fixes: 80303010
2018-05-31 09:32:26 -04:00
Antony Sargent
8155cbc0d2 Merge "Another refresh of swipe up gesture video" into pi-dev
am: d87ce094cd

Change-Id: Icd8df823edcd90220f8173013e019642ac5df554
2018-05-29 12:04:21 -07:00
TreeHugger Robot
d87ce094cd Merge "Another refresh of swipe up gesture video" into pi-dev 2018-05-29 18:34:23 +00:00
Michael Wright
23460d03bc Merge "Hide haptic intensity settings for devices without enough dynamic range." into pi-dev
am: 8c60fc69b7

Change-Id: I036caa9e233f74c71c2dddef9e58c036b250a968
2018-05-25 19:12:31 -07:00
TreeHugger Robot
8c60fc69b7 Merge "Hide haptic intensity settings for devices without enough dynamic range." into pi-dev 2018-05-26 02:03:09 +00:00
Michael Wright
3dbaac6e71 Hide haptic intensity settings for devices without enough dynamic range.
Despite our hope, devices prior to P18 just don't have the dynamic range
to give three distinct vibration intensity settings. Given this, only
show an on / off toggle for devices by default unless they explicitly
opt-in to multiple intensity levels.

Test: m -j RunSettingsRoboTests
Bug: 80243632
Change-Id: I14ece855cf20f9fa44b0648d28f89c0053be5c5f
2018-05-25 22:57:03 +01:00
Antony Sargent
5d5eb8bdaa Merge "Remove Advanced dropdown from "About phone" screen" into pi-dev
am: e4999751ab

Change-Id: I812a58e2a0fead5b9a1eec9e9cf1b2383de1321d
2018-05-25 14:42:14 -07:00
TreeHugger Robot
e4999751ab Merge "Remove Advanced dropdown from "About phone" screen" into pi-dev 2018-05-25 21:35:23 +00:00
Antony Sargent
24283d3076 Remove Advanced dropdown from "About phone" screen
All the items will appear in the list instead of hiding some under an Advanced
dropdown.

Bug: 80302533
Test: manual (Settings->System->About phone)

Change-Id: I82857ec8e027b00762c1191d9450d30dfe47016f
2018-05-25 13:05:27 -07:00
Antony Sargent
9ba04de58a Another refresh of swipe up gesture video
Bug: 77474484
Test: manual (Settings->System->Gestures->Swipe up on Home button)
Change-Id: I62c46ef38cf67b4bf200ad2420138fe6677d6999
2018-05-25 13:02:26 -07:00
Matthew Fritze
b9d07718d5 Merge "Add remaining whitelisted controllers" into pi-dev
am: da07a66365

Change-Id: I1b4a9e25da8138409d20e960dc68a4e8b5b2e459
2018-05-25 10:02:14 -07:00
TreeHugger Robot
da07a66365 Merge "Add remaining whitelisted controllers" into pi-dev 2018-05-25 16:53:44 +00:00
Fan Zhang
a8c2602987 Merge "Update storage header background to colorPrimary" into pi-dev
am: 5431191163

Change-Id: I0163a02a193e3084c7a903e69da0b37a9afa1061
2018-05-25 08:59:26 -07:00
Fan Zhang
5431191163 Merge "Update storage header background to colorPrimary" into pi-dev 2018-05-25 15:49:59 +00:00
Chihhang Chuang
6c1c1a6a50 Merge "Refactor nfc preference controller" into pi-dev
am: 2357c1cd84

Change-Id: I82c793a393ec8bd92f409743173ec79a8ba0387b
2018-05-24 16:35:26 -07:00
Antony Sargent
75ffd61ee3 Merge "Update sound settings icons" into pi-dev
am: 2e0709b3b8

Change-Id: Ic6f6658698e824b4eb99799b5c5146c3311a99d4
2018-05-24 16:31:15 -07:00
Antony Sargent
ef75735861 Merge "Refresh several icons" into pi-dev
am: 642e63c2e0

Change-Id: I2487a06fb681680209dd5b37b7b6f376bb2d6640
2018-05-24 16:18:05 -07:00
Antony Sargent
30c39c273c Merge "Refresh system update icon" into pi-dev
am: efc2cb0492

Change-Id: Ie611915fc682d75201655c4308c3e7ba71953910
2018-05-24 16:06:22 -07:00
Lei Yu
4c39b05ad7 Merge "Update icon for battery saver conditon." into pi-dev
am: 89e0287711

Change-Id: If5b81203ee4cbf691b236f79f71213f8252ac873
2018-05-24 13:56:57 -07:00
Lucas Dupin
c7a226c27a Merge "Setting to change sysui theme" into pi-dev
am: 7179206395

Change-Id: I34f0fa82b9b9ebb9d6ba7707363a5b948c9f0421
2018-05-24 13:39:19 -07:00
Fan Zhang
e2f520bcaf Update storage header background to colorPrimary
Change-Id: I07f78cc6452846829b92d25fe9c41c6efe40a459
Merged-In: If13d5cbd2bd7db1c6d9c9f840281601ab78ba267
Fixes: 79773433
Test: visual
2018-05-24 17:50:33 +00:00
TreeHugger Robot
2357c1cd84 Merge "Refactor nfc preference controller" into pi-dev 2018-05-24 17:45:19 +00:00
Matthew Fritze
61227fb093 Add remaining whitelisted controllers
Because I missed them in the long whitelist the first time...

Change-Id: I9fbd7b33e06b3f2f6e5e5778f78abfdb1a52006a
Merged-In: I01c8c80fe306667c1d3ac007b16fad546c5a5f40
Fixes: 79779103
Test: robotests
2018-05-24 17:29:03 +00:00
Antony Sargent
2e0709b3b8 Merge "Update sound settings icons" into pi-dev 2018-05-24 06:12:50 +00:00
Antony Sargent
642e63c2e0 Merge "Refresh several icons" into pi-dev 2018-05-24 06:11:57 +00:00
Antony Sargent
efc2cb0492 Merge "Refresh system update icon" into pi-dev 2018-05-24 06:09:22 +00:00
Lei Yu
89e0287711 Merge "Update icon for battery saver conditon." into pi-dev 2018-05-24 05:12:28 +00:00
Chihhang Chuang
6719a9b73e Refactor nfc preference controller
- Remove BaseNfcPreferenceController.
- NfcPreferenceController inherit from TogglePreferenceController.
- AndroidBeamPreferenceController inherit from BasePreferenceController.
- Override getIntentFilter in NfcPreferenceController to listen changes.
- Add an API (hasAsyncUpdate) into BasePreferenceController to
distinguish the setting which is updated asynchronously.

Change-Id: I1abe4410169e305a0d6106e24c54e7f2e763fc91
Merged-In: I7c9c48ea7f1ad01a02524beabf9d30baa3db891f
Fixes: 67997761
Fixes: 74887543
Test: RunSettingsRoboTests
2018-05-24 10:31:44 +08:00
Lucas Dupin
7179206395 Merge "Setting to change sysui theme" into pi-dev 2018-05-24 02:15:03 +00:00
Antony Sargent
bc375150de Merge "Refresh battery status icons" into pi-dev
am: 64379a08f7

Change-Id: Ief175d64ec2dad05d188ed9aa12cfaf0b74c4758
2018-05-23 18:49:06 -07:00
Antony Sargent
7e62c0bffa Merge "Updated misc. settings icon" into pi-dev
am: c3d2e78d82

Change-Id: Ie61946bfa07c093748a5c4553988d6f1f87c1ef3
2018-05-23 18:38:40 -07:00
TreeHugger Robot
64379a08f7 Merge "Refresh battery status icons" into pi-dev 2018-05-24 01:04:53 +00:00
TreeHugger Robot
c3d2e78d82 Merge "Updated misc. settings icon" into pi-dev 2018-05-24 01:03:50 +00:00
Antony Sargent
3015cc9e36 Refresh system update icon
Bug: 77982107
Test: manual
Change-Id: Ifad137b464fce62cbba0f456da4a773f556a1004
2018-05-23 16:23:23 -07:00
Antony Sargent
daccaef797 Refresh several icons
This CL includes the following:
-account
-backup
-display
-folder
-location
-multiuser
-security

Bug: 77982107
Test: manual
Change-Id: I921e20d100bf4b3cb4af7326a5aac2b4e5629196
2018-05-23 16:22:20 -07:00
Antony Sargent
75ae43b5cc Update sound settings icons
In several places we were referencing private icons from
frameworks/base/core instead of versions we already had in
settings. Also add in a "media stream off" icon to match the one we
already had for "media stream on".

Bug: 77982107
Test: manual (Settings->Sound, then use hardware controls to modify
media and ring volumes)

Change-Id: I3a1d808b3028bb4f2feae4536194dc58c3177a66
2018-05-23 15:44:53 -07:00
Jayachandran Chinnakkannu
433cca7577 Merge "Remove connectivity monitor switch from developer options" into pi-dev
am: 8d7ccc0074

Change-Id: Ic68439308f7d591595876488afa76e57b9414089
2018-05-23 15:12:55 -07:00
Lei Yu
cbc21a3088 Update icon for battery saver conditon.
To make it consistent with quick settings and battery settings.

Change-Id: I990692b53ee87805d92b93cc874f371e0512154e
Fixes: 80157879
Test: Screenshot
2018-05-23 14:56:08 -07:00
Lucas Dupin
b1a2aba01a Setting to change sysui theme
Users now can manually pick if they want light or dark QS
and launcher

Change-Id: Iaabdb32d9af6a293dfbd5ba6dea3da1d38a13ad3
Merged-In: Ic0a43bc5e8777c39bfe5c0bbc606bf6be20f7168
Fixes: 63903361
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemUiThemePreferenceControllerTest
Test: manual
2018-05-23 21:51:32 +00:00
Daichi Ueura
1a2153e6ab Merge "Hide entire hidden field for non-hidden networks" into pi-dev
am: 2c793dfeff

Change-Id: I3cd2bb7d87e371a8db5b1ea693c424b6314f08f2
2018-05-23 14:47:28 -07:00
Fan Zhang
b82d639f34 Merge "Convert BatterySaverButton controller to Slice compatible." into pi-dev
am: 87dfe60ad0

Change-Id: I30f5d13f0c5f430b09585ad2114f0f1ad98eebc9
2018-05-23 14:46:45 -07:00