Commit Graph

58938 Commits

Author SHA1 Message Date
Lucas Dupin
5f00a194d2 Merge "Inaccurate auto dark theme time" 2020-02-04 02:40:23 +00:00
Tsung-Mao Fang
af0a5ab8b1 Ignore failing test cases
Test: Run robo
Bug: 148755845
Change-Id: Ie372fb7d1fb068648976f755f199491a2e4757c2
2020-02-04 10:20:35 +08:00
Bonian Chen
9888ad8329 Merge "[Settings] Remove dependency of TelephonyIntents" 2020-02-04 02:03:32 +00:00
tim peng
8b2b5ea302 Merge "Apply RichInputRangeBuilder" 2020-02-04 01:11:25 +00:00
Goven Liu
3be6da2a5a Merge "[Wi-Fi] Apply UX strings for "Apps to add saved networks" feature." 2020-02-04 01:09:00 +00:00
Jack Yu
c4da22a2ce Refactored cell broadcast area info support
Area info cell broadcast messages are not handled
by cell broadcast receiver anymore. Instead, they will
be processed in cell broadcast service. Privileged apps
that are interested in getting the information will need
to get it directly from cell broadcast service.

Note this is only enabled for certain countries and carriers.

Test: Manual
Bug: 141318859
Change-Id: If6a0a0c6a76e8b90a8feaea1e2771993e2d0edfe
2020-02-04 00:36:29 +00:00
Jay Aliomer
e1a2ea3fab Inaccurate auto dark theme time
When changing the start/end custom dark theme time,
The time in the display settings page does not change

Test: settings test

Fixes: 148150281
Change-Id: I4e54797df14cb926f59d50c26e8da160b356f2c0
2020-02-03 17:25:03 -05:00
Yiwen Chen
4b4c6c2c7b Implement new vibrate for calls in Settings.
Test: built and tested on device
Change-Id: Ia6ca7eb54472d44a9934d7f125a9f71e42c616a3
2020-02-03 13:32:58 -08:00
David Su
f38bff9e0b Merge "Rename WifiConfiguration.getHasEverConnected()" 2020-02-03 21:12:03 +00:00
David Su
7e7b59e46e Merge "Settings: remove usage of WifiConfig helper methods" 2020-02-03 21:09:52 +00:00
Julia Reynolds
7c5ac8fdac Support new conversation DND options
Test: atest
Bug: 137397357
Change-Id: I52420ffdc4b6618e66354a9c1bb99b0296bc4ea4
2020-02-03 11:09:20 -05:00
govenliu
46ce0735f1 [Wi-Fi] Apply UX strings for "Apps to add saved networks" feature.
Correct the strings according to the UX definitions.

Bug: 148281247
Test: NA, just correct the UI strings.
Change-Id: Ifc2b1a43eb027eb3c487999a4bbd9a1b49aee5a9
2020-02-03 12:12:55 +00:00
menghanli
c240b27862 Add back "Tapping Stop will stop x" dialog while turning off an accessibility service
Bug: 146539308
Test: make RunSettingsRoboTests2
Change-Id: Ic572f9245db016bd79a272030f97004a21f4b672
2020-02-03 19:17:34 +08:00
Menghan Li
a85a145686 Merge "Fix "Cannot get activity context when service off"." 2020-02-03 09:28:15 +00:00
Bonian Chen
6a6b416c3d [Settings] Remove dependency of TelephonyIntents
Remove the dependency of TelephonyIntents,
but monitoring the change of default data subscription and
PhoneStateListener.

Bug: 147101086
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=ContextualCardManagerTest
Change-Id: I140640c1eed645614e6ed05b24389f6fba36eb76
2020-02-03 17:16:54 +08:00
TreeHugger Robot
6068d12752 Merge "Use feature flag to show/hide AllInOneTetherSettings" 2020-02-03 08:32:29 +00:00
menghanli
8e881181a8 Fix "Cannot get activity context when service off".
1. Unify getPrefContext() usage in Accessibility Settings
2. Correct the dialog emuns order

Test: local test
Change-Id: Idc51f7b15b5813bbae7b32e1ae3c7f00c71cea50
2020-02-03 07:13:31 +00:00
Zhen Zhang
36c3446b28 Merge "Add a feature flag for the new tether settings UI" 2020-02-03 06:44:43 +00:00
Bonian Chen
319cc7bc1c [Settings] Add ImsQueryProvisioningStat for VT
1. Code refactor
2. Add ImsQueryProvisioningStat class for VT's use case

Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=VideoCallingPreferenceControllerTest
Change-Id: I40ec5df00d02e71cb8ae78d4f81c71c5e354515a
2020-02-03 14:26:11 +08:00
timhypeng
6fc2f84a4e Apply RichInputRangeBuilder
-Add volume control
-Add test case

Bug: 146813957
Test: make -j42 RunSettingsRoboTests
Change-Id: I250b8447ed133212b6325eff5122ca39069c99d9
2020-02-03 14:17:05 +08:00
hughchen
043e43f059 Listed order on "previously connected" depend on recently connected devices
This CL use Bluetooth api "getMostRecentlyConnectedDevices()" to get
recently connected devices list. Let "previously connected" will list
most recently connected device on the top.

Bug: 130984590
Test: make -j42 RunSettingsRoboTests
Change-Id: I8d425b6da6cb9fe9fd1417937b4cb9a052cd1660
2020-02-03 14:08:12 +08:00
Sunny Shao
9013d8033f Add ContentObserver to RedactNotificationPreferenceController
- Monitor the LOCK_SCREEN_SHOW_NOTIFICATIONS to decide the enabled/disabled status.

Fixes: 134055112
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.notification
Change-Id: I7c7edbe13f47638df69f31d15d863c2088a5774f
2020-02-03 13:10:52 +08:00
Bill Yi
8aee2d2c95 Merge "Import translations. DO NOT MERGE" 2020-02-03 04:59:28 +00:00
TreeHugger Robot
07c1cdb77e Merge "Change test case name" 2020-02-03 02:00:46 +00:00
Raff Tsai
80d9fcbf1b Change test case name
Bug: 145109184
Test: atest :postsubmit
Change-Id: I0847d1dea352d0e3b87b1bb95d5c2600a80a7438
2020-02-03 01:03:46 +00:00
Bill Yi
8af4bafe50 Import translations. DO NOT MERGE
Change-Id: I704d9b680be4533abcfa145dd6b70f5add7f882b
Auto-generated-cl: translation import
2020-02-02 06:55:57 -08:00
menghanli
b82931520f Support accessibility shortcut secondary action (11/n)
Refactor current shortcut design to base fragment and provide
protected function to customize the legacy design,
magnification or no need shortcut app.

Bug: 142530063
Bug: 142531156
Test: make RunSettingsRoboTests2

Change-Id: I51c951ef8f819a1940ddfe33b009b40ed5ec0530
2020-02-02 10:51:44 +08:00
Bill Yi
be651d3874 Import translations. DO NOT MERGE
Change-Id: I5afe4b717cfa2d20b5e78caaf3417b0a161eb62b
Auto-generated-cl: translation import
2020-02-01 15:30:04 -08:00
Goven Liu
d737601a66 Merge "[Wi-Fi] Settings panel WIFI_ADD_NETWORKS requires CHANGE_WIFI_STATE permission" 2020-02-01 08:57:40 +00:00
TreeHugger Robot
d4f33b1e26 Merge "Mainline remove hide api SubscriptionInfo.getCardString" 2020-02-01 06:45:02 +00:00
TreeHugger Robot
23331b2983 Merge "[Wi-Fi] Hide Connect button when passpoint is expired" 2020-02-01 05:27:04 +00:00
TreeHugger Robot
b7f0145c02 Merge changes I8194476e,I9d21909f
* changes:
  [Wi-Fi] Fix some test failures of com.android.settings.wifi.details2
  [Wi-Fi] Remove passpoint methods in WifiEntryShell
2020-02-01 05:24:09 +00:00
Bonian Chen
86272795f3 Merge "[Settings] Avoid non-owner from crash mobile data settings" 2020-02-01 05:00:03 +00:00
Automerger Merge Worker
de86f9c950 Merge "Tidy up libcore.timezone APIs" am: 45834d96a8 am: 35ffa52384 am: 798407a441
Change-Id: I486df8f44bcd67baf933853145f7617cf6b0e891
2020-01-31 16:32:04 +00:00
Automerger Merge Worker
798407a441 Merge "Tidy up libcore.timezone APIs" am: 45834d96a8 am: 35ffa52384
Change-Id: I87f4ca96ef592c459c96f12906a86889367bfe7e
2020-01-31 16:30:07 +00:00
Automerger Merge Worker
35ffa52384 Merge "Tidy up libcore.timezone APIs" am: 45834d96a8
Change-Id: I3222600a7fa1d37b7d8e16115ec067d415f2bdba
2020-01-31 16:29:11 +00:00
Automerger Merge Worker
04232f619b [automerger skipped] Merge "access system resources with android.R package" am: ef77c1d67f am: 49cd1555f3 am: bcf3f23b67 -s ours
am skip reason: Change-Id Idc10955639bce7b8e579c50af78056389d44d492 with SHA-1 740d67320a is in history

Change-Id: Ie627993aa388b1bd2f1bc7ff3ad0907c20c6a944
2020-01-31 16:05:18 +00:00
Automerger Merge Worker
bcf3f23b67 Merge "access system resources with android.R package" am: ef77c1d67f am: 49cd1555f3
Change-Id: Idcb5041776ed072a871bc037df143450c92d458c
2020-01-31 16:00:33 +00:00
Automerger Merge Worker
49cd1555f3 Merge "access system resources with android.R package" am: ef77c1d67f
Change-Id: I663f693f498e3566deb37f6175fc0bb214264118
2020-01-31 15:55:52 +00:00
SongFerngWang
5189dc3860 Mainline remove hide api SubscriptionInfo.getCardString
Bug: 147128878
Test: build pass
Change-Id: Idb44af6a01626013339f5ca05486dd11112a5867
2020-01-31 18:48:09 +08:00
Bonian Chen
7bf8fb5c85 Merge "[Settings] Replace ImsDirectQuery" 2020-01-31 09:56:56 +00:00
Alex Johnston
5c39238a5a Merge "Prevent location for the work profile from being enabled" 2020-01-31 09:49:17 +00:00
Arc Wang
e16ce3dcea [Wi-Fi] Hide Connect button when passpoint is expired
If the passpoint is connected and expired, we still show
Disconnect button.

Bug: 148317997
Test: manual
      Observe a connected passpoint and see Disconnect button.
      Observe a disconnect passpoint and see no Connect button.
      Should add test case in WifiDetailPreferenceController2Test
      at later CL.

Change-Id: I07f22804eccce80c44ac709412cb594faaf6ccb0
2020-01-31 17:06:29 +08:00
Arc Wang
41ff138c21 [Wi-Fi] Fix some test failures of com.android.settings.wifi.details2
WifiMeteredPreferenceController2 always has a non null mWifiEntry, remove redundant test case
testController_resilientToNullConfig

Bug: 146479774
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.details2
Change-Id: I8194476ea0f337e63b29ff73e9071f6df65d13af
2020-01-31 15:23:51 +08:00
Arc Wang
f591fe0901 [Wi-Fi] Remove passpoint methods in WifiEntryShell
Bug: 143326832
Test: build
Change-Id: I9d21909f18df03d50f69447c3f2014b75ecd2d8b
2020-01-31 15:19:35 +08:00
Raff Tsai
a266657423 Add dummy performance test
Bug: 145109184
Test: atest --test-mapping src_path:postsubmit
Change-Id: I7db174942247acd20c94afd7763ec73242a5e44b
2020-01-31 14:59:59 +08:00
govenliu
66dd758299 [Wi-Fi] Settings panel WIFI_ADD_NETWORKS requires CHANGE_WIFI_STATE permission
Since we had dialog to get the approval from user about adding or updating networks, don't need to have permission to limit suggester APP.

Bug: 148491787
Test: NA, just remove the permission check in Androidmanifest.
Change-Id: If9023e5c2d69b6393f04e16285ac60017b9bf519
2020-01-31 12:53:30 +08:00
David Su
68913c5a8b Migrate to getNetworkSelectionStatus()
isNetworkEnabled() & isNetworkPermanentlyDisabled()
should not be formal APIs. Instead,
getNetworkSelectionStatus() with a set of constants
is sufficient as an API surface, and will be more
maintainable in the future.

Bug: 146046526
Test: atest SettingsUnitTests
Change-Id: If599ce88f68a87fa7186ef96156c2bb1fdc1c2c3
2020-01-30 20:36:53 -08:00
David Su
fa6e9f7283 Rename WifiConfiguration.getHasEverConnected()
Renamed to hasEverConnected() to conform to API
guidelines.

Bug: 146046526
Test: make RunSettingsRoboTests -j40
Change-Id: Ie88945326977ea11a05721e40a81c338fee61cb6
2020-01-30 20:36:30 -08:00
TreeHugger Robot
56743aa5cc Merge "Migrate to SettingsStatsLog from StatsLog" 2020-01-31 01:11:41 +00:00