Commit Graph

57373 Commits

Author SHA1 Message Date
Zoey Chen
65c7da6e5c Merge "[Settings] Cannot use UnsupportedAppUsage API, use #hasIccCard() to replace" 2019-12-12 03:18:40 +00:00
Automerger Merge Worker
1ee247a6a7 [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: f35dfbcdc0 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 473b52cd6e -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 4a87e89929 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: e3d171cc1d -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 41516ef023 -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: Ic292aa793e6a5c65fd8a50453f80ec7166932894
2019-12-12 02:36:05 +00:00
Automerger Merge Worker
4e6bbe2141 [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: ad2502a91a -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: 8806cfe4fc -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: b6c6ab51f9 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: 27f224e5eb -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: 6f799325b9 -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history

Change-Id: I0a504183bd6ec66cc6ec071c6185ab670017adf0
2019-12-12 02:35:25 +00:00
Automerger Merge Worker
41516ef023 [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: f35dfbcdc0 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 473b52cd6e -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 4a87e89929 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: e3d171cc1d -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: I41228590ca31162c119de1e9be465cd35fc81ad5
2019-12-12 02:16:15 +00:00
Automerger Merge Worker
6f799325b9 [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: ad2502a91a -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: 8806cfe4fc -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: b6c6ab51f9 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: 27f224e5eb -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history

Change-Id: Ia5fb1e2e442e8312d29951b184bab64cf479604d
2019-12-12 02:15:46 +00:00
Automerger Merge Worker
e3d171cc1d [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: f35dfbcdc0 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 473b52cd6e -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 4a87e89929 -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: I6d95ab64f114ac818161c903e86cc7da70b424ad
2019-12-12 01:54:14 +00:00
Automerger Merge Worker
27f224e5eb [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: ad2502a91a -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: 8806cfe4fc -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: b6c6ab51f9 -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history

Change-Id: I1c9606ee574e02be25134e547e5f7943bcea744b
2019-12-12 01:54:01 +00:00
Automerger Merge Worker
4a87e89929 [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: f35dfbcdc0 -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: 473b52cd6e -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: I60d91e324136beb7edec8d0fe9faf8937c8f9e3f
2019-12-12 01:37:07 +00:00
Automerger Merge Worker
b6c6ab51f9 [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: ad2502a91a -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history am: 8806cfe4fc -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history

Change-Id: I4d68617158d79e44406f2b4a1de554fb0b1c610a
2019-12-12 01:36:39 +00:00
Automerger Merge Worker
473b52cd6e [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history am: f35dfbcdc0 -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: I80eb8a460114a01a025a7512112c022e2568b64e
2019-12-12 01:19:43 +00:00
Automerger Merge Worker
8806cfe4fc [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: ad2502a91a -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 a545a85f9d is in history

Change-Id: I20f8b8521a7ada8e0f05edcee4df1e3ab87650b0
2019-12-12 01:19:22 +00:00
Automerger Merge Worker
f35dfbcdc0 [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: 3c6a3011fa -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 ad2502a91a is in history

Change-Id: I4203109df4dcbd952e0ee09bc70ccd5d38ccc159
2019-12-12 01:18:55 +00:00
TreeHugger Robot
0751e29195 Merge "Change tab text to sentense text" 2019-12-11 08:50:25 +00:00
Raff Tsai
c75aea1552 Change tab text to sentense text
- Also remove duplicated string

Bug: 141601408
Test: manual
Change-Id: I840bdf4c12ca6d815d7c54092aa32a40c80d95e0
2019-12-11 15:38:12 +08:00
Automerger Merge Worker
beef8033ab [automerger skipped] Prevent accounts page directly opening in screen pinning mode am: a545a85f9d am: fd45c98d53 am: 4fd41fe196 am: 23e9011739 -s ours
am skip reason: Change-Id If26eda408a9ef6fa03ad82e5bee51bb7185950d6 with SHA-1 f3242dab35 is in history

Change-Id: I51856123ac338bc0d4b3c8cda2b8385f8d9ebdce
2019-12-11 07:27:29 +00:00
Automerger Merge Worker
23e9011739 Prevent accounts page directly opening in screen pinning mode am: a545a85f9d am: fd45c98d53 am: 4fd41fe196
Change-Id: Ib20737cbe8390a42ecce204f540d21de7026bf3f
2019-12-11 07:09:55 +00:00
Automerger Merge Worker
4fd41fe196 Prevent accounts page directly opening in screen pinning mode am: a545a85f9d am: fd45c98d53
Change-Id: Id48f14bb8258d615dc2fe9e552640ab06aa528ab
2019-12-11 06:51:34 +00:00
Automerger Merge Worker
fd45c98d53 Prevent accounts page directly opening in screen pinning mode am: a545a85f9d
Change-Id: If2d4c0acb794a9a506b7611fa2f622c90054b393
2019-12-11 06:32:39 +00:00
Kevin Chang
8b6da6a5b1 Merge "Support accessibility shorcut secondary action (2/n)" 2019-12-11 05:38:46 +00:00
zoey chen
73038f556d [Settings] Cannot use UnsupportedAppUsage API, use #hasIccCard() to replace
Bug: 145967955
Test: make
Change-Id: I8b948d1d416e1eb79e34be073b8ad81645d5ebb1
2019-12-11 11:57:43 +08:00
TreeHugger Robot
db4c10942b Merge "Let MasterSwitchPreference be restrictable" 2019-12-11 03:56:34 +00:00
Kevin Chang
21fd0e8afb Support accessibility shorcut secondary action (2/n)
Create a dialog that could let users choose their preferred accessibility
shortcut.

This CL only contains dialog layout and its utility methods.
Related logic implementation will be added in next CL.

Bug: 142531156
Test: Maunal
Change-Id: I7bfccea96cc47dd213b4d828499c10b290e24330
2019-12-11 10:46:01 +08:00
tim peng
1e00dbf41c Merge "Add bit per sample preference controller for Bluetooth developer option" 2019-12-11 02:18:18 +00:00
tim peng
59d56cee0b Merge "Add quality preference controller for Bluetooth developer option" 2019-12-11 02:18:05 +00:00
tim peng
d8bb8b3383 Merge "Add channel mode preference controller for Bluetooth developer option" 2019-12-11 02:17:49 +00:00
PO HUNG CHEN
3b5cb6e4ef Merge "Revert "Fix flame boot failure"" 2019-12-11 02:09:09 +00:00
TreeHugger Robot
614aa13035 Merge "Update Bluetooth api" 2019-12-11 01:57:12 +00:00
Zhen Zhang
43b882c4e2 Let MasterSwitchPreference be restrictable
Let MasterSwitchPreference be restrictable by extending RestrictedPreference.
This is a prerequisite CL for "Hotspot & Tethering" in "Network & Internet" settings screen to be a MasterSwtichPreference.
Also changed MasterSwitchPreferenceTest perse.

Bug: 145922022
Test: SettingsRoboTests except StorageItemPreferenceControllerTest which
fails before this CL.
Change-Id: I54fa59d7adfce5f564c178c0db334974dbabf059
2019-12-10 17:37:41 -08:00
TreeHugger Robot
3aba1d590c Merge "Adds search and help icons to system navigation page" 2019-12-11 00:27:09 +00:00
Automerger Merge Worker
04feb63ee6 Dark theme drop down does not show selected option am: 268d6b092a am: b15374611f
Change-Id: Ie8cff27d816f87211ca5146edf56656775add804
2019-12-11 00:00:45 +00:00
Automerger Merge Worker
b15374611f Dark theme drop down does not show selected option am: 268d6b092a
Change-Id: I96c2d1253366543685ca9aaf56f55b93488bd27e
2019-12-10 23:39:11 +00:00
Mehdi Alizadeh
58b02e0ed5 Adds search and help icons to system navigation page
Bug: 135042958
Test: Manually verified icons are shown and they work
Change-Id: I1dc9ddd3e3a5a1f76eb6c1f28290e177bb43ba9e
2019-12-10 14:11:14 -08:00
TreeHugger Robot
16aac8e2e3 Merge "Hide summary for Google app in battery usage" 2019-12-10 11:28:18 +00:00
hughchen
cfca56fef1 Update Bluetooth api
This CL is used to update Bluetooth api.

- Use BluetoothProfile.CONNECTION_POLICY_ALLOWED instead of
  BluetoothProfile.PRIORITY_ON
- Use BluetoothProfile.CONNECTION_POLICY_FORBIDDEN instead of
  BluetoothProfile.PRIORITY_OFF

Fixes: 141582844
Test: manually
Change-Id: I527813e38583a4e4a1489090e8a17c6bd50c3e81
2019-12-10 11:21:16 +00:00
TreeHugger Robot
978f7b007a Merge "Do no convert FaceSettingsAttention to slice." 2019-12-10 10:11:32 +00:00
Yi-Ling Chuang
e6b48bcf80 Do no convert FaceSettingsAttention to slice.
The check logic of this preference requires a page loading prior to
slice auto convertion, so it is not suitable to become a slice.
Converting it to a slice will lead to an app crash.

Fixes: 145723632
Test: robotests
Change-Id: Ie6eafb244e9a1cc9267f6b747c8e357d239e688e
2019-12-10 17:00:59 +08:00
Arc Wang
cdf8e2161e [Wi-Fi] Sign in icon supports dark theme
Add android:tint attribute.

Bug: 128238735
Test: Manual visual
Change-Id: I9fe8f99ad8b3e11b12b0720da2cdf7c41711bb8f
2019-12-10 15:59:27 +08:00
Tsung-Mao Fang
cb8dbbeac2 Hide summary for Google app in battery usage
"Google" app is quicksearchbox which always has a foreground service running.
This causes it shows a huge usage time.
So, we make the summary invisible now.

Test: Rebuild and visual
Change-Id: Iba8083cc058e1d391dc20610fb6eb140c2c25350
Fix: 144063003
2019-12-10 14:20:29 +08:00
PO HUNG CHEN
afc513e3fa Revert "Fix flame boot failure"
This reverts commit c542c01672.

Reason for revert: followup b/145904897

Change-Id: I0364c34e42b569d643ea6098026cd540d25df75d
2019-12-10 04:11:21 +00:00
Raff Tsai
e7e4dd905a Receive tab info from SettingsIntelligence
Bug: 144673633
Test: manual
Change-Id: Ia28c5a43debbfcc6f6f6d465764adad0977ea319
2019-12-10 11:11:43 +08:00
Raff Tsai
cbcd8d1bea Merge "Implement work-profile infra in BasePreferenceController" 2019-12-10 03:02:17 +00:00
tim peng
ea1106494d Merge "Add codec dialog preference controller for Bluetooth developer option" 2019-12-10 02:49:17 +00:00
Arc Wang
220936ad7a Merge "[Wi-Fi] Fix transition mode problems" 2019-12-10 02:43:13 +00:00
TreeHugger Robot
821db5c036 Merge "Add sample rate preference for Bluetooth developer option" 2019-12-10 01:42:16 +00:00
Raff Tsai
f71db73025 Implement work-profile infra in BasePreferenceController
- Add settings:forWork in xml
- Set mIsForWork based on xml attribute
- Delete WorkProfilePreferenceController and move its function to
BasePreferenceController

Fixes: 123376083
Test: Add work profile, go to Settings->System->Language&input,
UI should show work profile related items
Change-Id: Id2dcbb0e158c117cdfd363466a275f4e133c345e
2019-12-10 09:32:37 +08:00
Xiangyu/Malcolm Chen
1d8158fc0b Merge "Add disable pSIM option in Settings" 2019-12-09 22:30:06 +00:00
TreeHugger Robot
1fe113d922 Merge "Raise string length limits per linguist's requests" 2019-12-09 19:32:27 +00:00
Howard Chen
c542c01672 Fix flame boot failure
Bug: 145890923
Test: Compile
Change-Id: I8fe011a471fe92006d153ed531c19abd3b02fb05
2019-12-09 20:53:59 +08:00
Bonian Chen
28227a3117 Merge "[Settings] Fix crash when no SIM" 2019-12-09 10:29:22 +00:00
timhypeng
6a1b765d74 Add quality preference controller for Bluetooth developer option
Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: I42b6ecdc0b661f9057db23405785351980f04056
2019-12-09 15:27:10 +08:00