Commit Graph

57923 Commits

Author SHA1 Message Date
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
Abhijeet Kaur
a667372c56 Make Settings UI fuse flag "settings_fuse" persistent
Bug: 144419848
Test: The value of system property settings_fuse persists after reboot
Change-Id: I207e72fdc56785dbde350e01f753c865294a3eba
2019-11-20 11:07:13 +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
Tsung-Mao Fang
dee1548f61 Fix a few test cases
Test: robo test
Change-Id: Iba797f51169fffb377ccd3d5d5691c392b772537
Fix: 144664559
Fix: 144663625
Bug: 144664534
2019-11-18 16:37:50 +08:00
Arc Wang
cad7ff1653 Merge "[Wi-Fi] Replace WifiTracker with WifiTracker2 for SavedAccessPointsWifiSettings2" 2019-11-18 07:45:43 +00:00
Yi-Ling Chuang
c04df4ae39 Add a new method in Sliceable.
We are making some Settings Slices public and some not so we can expose
more Settings Slices to Settings Search without worrying about privacy
and security concern. Hence, add this method to distinguish these two.

Bug: 141088937
Test: rebuild
Change-Id: I457802bb6472ec81a3dfb65c0674af4bb3dd4b5a
2019-11-18 15:28:06 +08:00
Raff Tsai
38e025f613 Merge "Fix robolectric error" 2019-11-18 05:05:37 +00:00
Bill Yi
fd6309af22 Import translations. DO NOT MERGE
Change-Id: I3ba6cb797348738ff2d35b38130c07f88504e709
Auto-generated-cl: translation import
2019-11-17 18:56:47 -08:00
Raff Tsai
4950d4cbc0 Fix robolectric error
Fixes: 144551238
Fixes: 144551930
Test: Robolectric
Change-Id: I33851ae2c4a06495f73e8db5d4df0992df5e7f3e
2019-11-18 10:39:22 +08:00