Commit Graph

57178 Commits

Author SHA1 Message Date
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
timhypeng
f39b5fcd60 Add new LDAC quality dialog layout for new Bluetooth developer option
- new reminder information

Bug: 142227996
Test: manual
Change-Id: I886d9af0318bd01bfb4d3a34f596997d221e4507
2019-11-20 13:09:06 +08:00
timhypeng
ce1065dc55 Add new bit per sample dialog layout for new Bluetooth developer option
- new reminder information

Bug: 142227996
Test: manual
Change-Id: Ifacecc05feb473bbd7104bd002a1c4355964876f
2019-11-20 12:44:08 +08: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
Roshan Pius
b2db1f0257 Revert "Settings(wifi): Allow mainline wifi stack to use network request dialog"
This reverts commit 6faf8649c7.

Reason for revert: Wifi services no longer plan to be a separate
APK/process for mainline. Will instead become a jar loaded from Apex.

Bug: 144722612
Change-Id: I1d29859866cec3af419fea4f0838d868d2fad8e5
Test: Device boots up & connects to wifi networks.
2019-11-19 15:47:17 +00: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
Sunny Shao
0a1f43a7c9 Merge "Add a dark theme slice" into qt-qpr1-dev am: 713143df37
am: e565a793be

Change-Id: I7b780475a3439d229a8b94e882372f7086bd02ed
2019-11-18 17:41:25 -08:00
Sunny Shao
e565a793be Merge "Add a dark theme slice" into qt-qpr1-dev
am: 713143df37

Change-Id: Ie026d122cb1aedd629d2860143aace2bdd599ae9
2019-11-18 17:38:13 -08:00
TreeHugger Robot
713143df37 Merge "Add a dark theme slice" into qt-qpr1-dev 2019-11-19 01:26:30 +00:00
Hai Shalom
5e1cc10721 [automerger skipped] Merge "[WPA3] Hide connect button for cloned networks not in range" into qt-qpr1-dev am: fae6ecbbae
am: c000b55634 -s ours
am skip reason: change_id I7244c41d3bf12ba573c3cfca077d0ac2cfdcf5ed with SHA1 63fc60f512 is in history

Change-Id: I327c64da481ae0d360535ab1f9f3a95a4618d32d
2019-11-18 13:52:45 -08:00
Hai Shalom
c000b55634 Merge "[WPA3] Hide connect button for cloned networks not in range" into qt-qpr1-dev
am: fae6ecbbae

Change-Id: I3095e0b07fb5cc89388e3b8f5b2ad766a82fb4bf
2019-11-18 13:47:04 -08:00
Hai Shalom
fae6ecbbae Merge "[WPA3] Hide connect button for cloned networks not in range" into qt-qpr1-dev 2019-11-18 21:29:41 +00:00
James Mattis
def3e9f734 Swap param order in registerSoftApCallback
Moving executor to be the first argument in registerSoftApCallback.

Bug: 144379300
Test: Manually on pixel 3

Change-Id: I5563c1059cc04014a0fd909e2508f7bf497d708e
Merged-In: I5563c1059cc04014a0fd909e2508f7bf497d708e
2019-11-18 13:16:34 -08:00
David Su
68e501f80e Merge "Settings: Clean up WifiManager APIs" 2019-11-18 21:03:41 +00:00
TreeHugger Robot
c33db384d0 Merge "[WPA3] Hide connect button for cloned networks not in range" 2019-11-18 20:27:56 +00:00
David Su
eb4b142e20 Merge "Rename WIFI_P2P_PERSISTENT_GROUPS_CHANGED_ACTION intent" 2019-11-18 17:52:54 +00:00
Raff Tsai
84327f6aa3 Add storage_summary_donut above ProfileSelectStorageFragment
- Modify ProfileSelectFragment to support add preference xml in the
top, and tabLayout below the preferences. Base preference layout is
dummy_preference_screen.xml which contains no preference.
ProfileSelectStorageFragment contains StorageSummaryDonutPreference
above the tabLayout.
- Make StorageSummaryDonutPreferenceController self workable without
StorageDashboardFragment dependence.
- Rename inactive_apps.xml to dummy_preference_screen.xml
- Move ShadowPrivateStorageInfo from LowStorageSliceTest

Bug: 141601408
Test: manual
Change-Id: Ide12840dc81bb104f328e230ecda5d35bba01d7a
2019-11-18 18:18:29 +08:00
Tsung-Mao Fang
a226c20f11 Ignore MobileNetworkActivityTest
Change-Id: I3fce2676d4c0b992e3492e5ab8809054cf8be592
Fix: 144664534
Test: robotest
2019-11-18 17:34:26 +08:00