Commit Graph

57040 Commits

Author SHA1 Message Date
Bill Yi
e3655b3a78 Import translations. DO NOT MERGE
Change-Id: Ic2795d74051ea90315a4e74a3de2ef73af8ee049
Auto-generated-cl: translation import
2019-11-22 09:28:51 -08:00
TreeHugger Robot
d7ba70ee54 Merge "Revert submission" 2019-11-22 01:42:21 +00:00
TreeHugger Robot
632958cfb0 Merge "Remove DEVICE_OUT_ALL_SCO." 2019-11-22 00:52:24 +00:00
Hai Shalom
979b95777a Revert submission
Reason for revert: Incomplete fix that causes additional issues which were not anticipated earlier.

Change-Id: I5f3a6e31dc96fbc016e6ab5f56c3c68eb9e7723f
2019-11-21 19:25:46 +00:00
Jay Aliomer
42c07accd0 Merge "DarkUIPreferenceController null exception" 2019-11-21 17:29:57 +00:00
Jay Aliomer
c49f266af0 DarkUIPreferenceController null exception
The DarkUIPreferenceController doesnt need to show dialog in all cases
we added a null check for mFragment

Fixes: 144899194
Test: atest DarkUIPreferenceControllerTest
Change-Id: Ia5ed89bd46f28f4b92d955911223f9157e55c622
2019-11-21 10:48:02 -05:00
TreeHugger Robot
bc78c3e9da Merge "Refactor common layout" 2019-11-21 08:06:28 +00:00
TreeHugger Robot
e97e65cb76 Merge "Fix items in StorageProfileFragment can not be clicked" 2019-11-21 07:16:24 +00:00
Arc Wang
ade3cc7b49 Merge "[Wi-Fi] Force users to select a phase2 authentication for PEAP & TTLS" 2019-11-21 05:54:12 +00:00
TreeHugger Robot
76756f43db Merge "[Settings] Support pure switch of inline toggle of Settings Injection v2" 2019-11-21 04:35:29 +00:00
Raff Tsai
b5a56789b3 Fix items in StorageProfileFragment can not be clicked
- The root cause is passing wrong userId to StorageProfileFragment

Bug: 141601408
Test: manual
Change-Id: I317109a7d7ee4859ea9b8e3f97f6c9acaaf13256
2019-11-21 12:04:06 +08:00
Bonian Chen
7d2d92df21 Merge "[Settings] Fix robotest build breakage" am: 6c9b9f41d6 am: 635c2fa095
am: 04b12dd0ae

Change-Id: Ic98c3165d78897c9c7200c613934137d06b26f8b
2019-11-20 19:18:21 -08:00
Bonian Chen
04b12dd0ae Merge "[Settings] Fix robotest build breakage" am: 6c9b9f41d6
am: 635c2fa095

Change-Id: I2bbd23c7600dc608abd42cb350324cd42cecc00f
2019-11-20 19:14:51 -08:00
Bonian Chen
635c2fa095 Merge "[Settings] Fix robotest build breakage"
am: 6c9b9f41d6

Change-Id: I0b52f783c5dd46a06ebfb0a51650666c0e52b961
2019-11-20 19:11:18 -08:00
TreeHugger Robot
1e714110ca Merge "Do not hide lock screen settings conditionally" 2019-11-21 03:06:43 +00:00
Bonian Chen
6c9b9f41d6 Merge "[Settings] Fix robotest build breakage" 2019-11-21 02:56:12 +00:00
timhypeng
456285ca5b Refactor common layout
- reuse preference_widget_dialog_radiobutton

Bug: 144746899
Test: manual
Change-Id: Icfba629eb05b9db1dc6802e26c087b30f0fe88ed
2019-11-21 10:42:26 +08:00
TreeHugger Robot
e99b0fbf4d Merge "Add new audio channel mode dialog layout for new Bluetooth developer option" 2019-11-21 01:59:56 +00:00
TreeHugger Robot
f3e630f3ad Merge "Fix testcase error" 2019-11-21 01:06:12 +00:00
David Su
f4bb306eec Merge "Rename WifiSsid.NONE to WifiManager.UNKNOWN_SSID" 2019-11-20 18:57:28 +00:00
James Mattis
ea0b2bfaac [automerger skipped] Merge "Swap param order in registerSoftApCallback" am: 76632c01fd am: 1f3415f36e
am: c03a31c46f -s ours
am skip reason: change_id I5563c1059cc04014a0fd909e2508f7bf497d708e with SHA1 33379b361b is in history

Change-Id: I512d10b0465aee2547a7bac514a0d227403991b9
2019-11-20 10:51:28 -08:00
James Mattis
c03a31c46f Merge "Swap param order in registerSoftApCallback" am: 76632c01fd
am: 1f3415f36e

Change-Id: I67839045cc59d0b8d17da228d0a8c81d1fb09151
2019-11-20 10:40:15 -08:00
James Mattis
1f3415f36e Merge "Swap param order in registerSoftApCallback"
am: 76632c01fd

Change-Id: Id33581fd71070e23a561ca34e76f0623d66e2852
2019-11-20 10:32:44 -08:00
James Mattis
76632c01fd Merge "Swap param order in registerSoftApCallback" 2019-11-20 18:16:53 +00:00
Lucas Dupin
01c00962a9 Do not hide lock screen settings conditionally
Users have reached out to us asking where are their settings and
cannot understand why things disappear.

Test: LockScreenPreferenceControllerTest
Change-Id: I05b182a26724fd14b0a8240e280f216ebf4d43b9
2019-11-20 09:49:23 -08:00
Raff Tsai
21c466ff5b Fix testcase error
Fixes: 144832138
Fixes: 144831580
Test: robolectric
Change-Id: I01efc467cf75b5beb2d2dd23188a8fa7d67f32ed
2019-11-21 01:06:10 +08:00
Jay Aliomer
bb32051ce0 Merge "Add settings for scheduling dark theme" 2019-11-20 16:41:23 +00:00
Bonian Chen
4a1dbccac6 [Settings] Fix robotest build breakage
Add annotation library into test build

Bug: 144810473
Test: build pass
Change-Id: Idb4e056fb73a349ac268e5d2292a31fe7d9a6642
2019-11-20 23:05:55 +08:00
TreeHugger Robot
758aae48b0 Merge "Fix NPE in ChooseLockPattern" 2019-11-20 15:02:29 +00:00
Bonian Chen
97f4158cc7 Merge "[Settings] Fix unable to accessing Fi" 2019-11-20 10:18:20 +00:00
timhypeng
873caaa51d Add new audio channel mode dialog layout for new Bluetooth developer option
- new reminder information

Bug: 142227996
Test: manual
Change-Id: I07614b28552cc2eb1fdcb30bf49a395cc17991f7
2019-11-20 16:36:27 +08:00
TreeHugger Robot
b579a9a765 Merge "Add new codec dialog layout for new Bluetooth developer option" 2019-11-20 08:06:39 +00:00
Yi-Ling Chuang
c19f4f41ec Merge "Add a new column for slices_index table." 2019-11-20 05:44:04 +00:00
TreeHugger Robot
5035742f6c Merge "Move UpdatableListPreferenceDialogFragment to SettingsLib" 2019-11-20 05:14:08 +00:00
Yi-Ling Chuang
c7cd6c4671 Add a new column for slices_index table.
To distinguish public and non-public slices, add public_slice column
to the database so we can return corresponding results based on this
value.

Bug: 141088937
Test: robotests
Change-Id: I05d003875a8be27e5cb735b4814eb86d6dc40174
2019-11-20 11:44:23 +08:00
timhypeng
703114663f Add new codec dialog layout for new Bluetooth developer option
- new reminder information

Bug: 142227996
Test: manual
Change-Id: I3d83ec7f6e51b4bce3215f54a18a202598c595f9
2019-11-20 11:27:29 +08:00
Arc Wang
41661fe69c [Wi-Fi] Force users to select a phase2 authentication for PEAP & TTLS
To improve security.

Bug: 143601727
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigControllerTest
Change-Id: I0cb1ceda6d89a52224f80ea5ffd1af709a6acace
2019-11-20 10:59:23 +08:00
tim peng
426a2721d7 Merge "Add new sample rate dialog layout for new Bluetooth developer option" 2019-11-20 01:45:37 +00:00
Jay Aliomer
0828e6be9c Add settings for scheduling dark theme
Adding a settings page similar to night light for Dark theme. it will allow the user to schedule
dark mode from sunrise to sunset

Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.DarkUIPreferenceControllerTest" && \
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.darkmode.DarkModeActivationPreferenceControllerTest" && \
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.darkmode.DarkModeObserverTest" && \
make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.darkmode.DarkModeScheduleSelectorControllerTest"

Fixes: 141567787

Change-Id: I3094b655c04f59c23a95162a1be5ee8260e28a48
2019-11-19 11:48:36 -05:00
Bonian Chen
6317a112ea [Settings] Fix unable to accessing Fi
1. Get subscription ID from intent
2. Application context for proxy SubscriptionManager (since this is singleton)

Bug: 144172733
Test: Manual
Change-Id: I2f49d55da3380adeb40e8ff9414057113cb4ac35
2019-11-19 13:26:04 +00:00
Jason Chiu
bac5987c8e [Settings] Support pure switch of inline toggle of Settings Injection v2
Bug: 132808482
Test: robotest
Change-Id: Ib24614fb46fe990925edad721e3b7d5d032854fc
2019-11-19 18:24:13 +08:00
Tsung-Mao Fang
14c80f8151 Move UpdatableListPreferenceDialogFragment to SettingsLib
Change-Id: Ide669e1f35715fc45b5e7fe4b0852860812d392c
Fix: 79459635
Test: robo test
2019-11-19 18:16:47 +08:00
Yi-Ling Chuang
345dc2bf3a Merge "Add a new method in Sliceable." 2019-11-19 09:12:14 +00:00
Stanley Wang
a7d314d995 Merge "Add new method to preference controller base for dynamic index." 2019-11-19 09:09:00 +00:00
timhypeng
da9a2a1891 Add new sample rate dialog layout for new Bluetooth developer option
- new reminder information

Bug: 142227996
Test: manual
Change-Id: I0abebba4fd9ed1a4fa7797385e359f34b3294d3a
2019-11-19 16:03:09 +08:00
Stanley Wang
4a08fc1c59 Add new method to preference controller base for dynamic index.
- Add updateDynamicRawDataToIndex method.
- Implement preference controller index in BaseSearchIndexProvider.

Fixes: 144545478
Test: make RunSettingsGoogleRoboTests -j
      make RunSettingsRoboTests ROBOTEST_FILTER=
      com.android.settings.search.BaseSearchIndexProviderTest
Change-Id: Ibb11002227b280102b45d7c0610eae48ecf4c0f3
2019-11-19 14:47:10 +08:00
Raff Tsai
af288a5894 Add some fragments to whitelist
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.core"
Change-Id: I6b01052bbe650901ec20e26cdece9231c5f9f61e
2019-11-19 13:38:39 +08:00
TreeHugger Robot
68604c9e70 Merge "Ignore MobileNetworkActivityTest" 2019-11-19 05:01:22 +00:00
TreeHugger Robot
5c61e36cb4 Merge "Remove redundent @VisibleForTesting annotation" 2019-11-19 04:03:29 +00:00
TreeHugger Robot
7254408994 Merge "Add storage_summary_donut above ProfileSelectStorageFragment" 2019-11-19 03:18:43 +00:00