Commit Graph

59465 Commits

Author SHA1 Message Date
Rubin Xu
b3ca3c5fb6 Disable Settings toggle if admin has set always-on VPN
If the admin has turned on always-on VPN, do not allow the user
to modify it.

Bug: 137938969
Test: manually set always-on VPN and check Settings is disabled
Change-Id: Id2541e120f043ce24e52c3189d3a6fb1d85b432b
2020-02-18 17:56:54 +00:00
TreeHugger Robot
22e86de207 Merge "Fix mismatching intent filter string in AndroidManifest.xml" 2020-02-18 17:17:30 +00:00
Roshan Pius
a023de72a9 Settings: Use new API for tethering auto shutdown
Bug: 148514485
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=
com.android.settings.wifi.tether.WifiTetherAutoOffPreferenceControllerTest
Test: Manually verified the toggle from Settings.
Change-Id: I5f89c6149b9f2e7145ecb1cf656adb3d3e8f1bff
2020-02-18 07:27:43 -08:00
Jay Aliomer
a49bb44b10 Dark theme time format
When changing device language, dark theme does not
change the AM/PM format to the proper new language setting

Test: all settings tests

Fixes: 149381251
Change-Id: I68763e24988837f917adad39f82b90e79573fd07
2020-02-18 15:14:51 +00:00
Julia Reynolds
8949d87be7 Add a default behavior setting for VICs
Test: atest
Bug: 149696991
Change-Id: Ica06f80a02d65294a7b503fd3556add644c61bd7
2020-02-18 09:25:52 -05:00
Stanley Wang
f2a52c30a1 Merge "Fix the Easter egg invocation gesture nonfunctional." 2020-02-18 11:13:20 +00:00
Ben Murdoch
3980183ee0 Merge "Fix NPE in AddUserWhenLockedPreferenceController." 2020-02-18 09:44:18 +00:00
George Chang
5920f62784 Update OWNERS file
Test: None
Change-Id: Ifa7045000ce578a611bb065cd821a87a54edd49c
2020-02-18 17:32:09 +08:00
TreeHugger Robot
bd57dbaaf9 Merge "Add string and resource for dynamic group" 2020-02-18 09:25:30 +00:00
Raff Tsai
1825c39b7c Add test cases for regression issue
Fixes: 149362024
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.applications.manageapplications.ManageApplicationsTest"
Change-Id: I35198d04e6c90edd3e0a23652a7e40b0228a22a5
2020-02-18 15:30:02 +08:00
Zhen Zhang
14b758f1c8 Merge "Move hard coded string in all_tether_prefs into string.xml" 2020-02-18 05:41:42 +00:00
TreeHugger Robot
7e0b1847ed Merge "Authenticated confirmation before deletion of eSim" 2020-02-18 05:28:49 +00:00
Lee Chou
5a65e2d5dd Authenticated confirmation before deletion of eSim
adds an authentication confirmation before deleting an eSim
this feature is turned on/off in the security page

Bug: 138861284
Test: mp settingsg
Change-Id: I32e0e3bff2091ec1097b3c37fa066d966e3373df
2020-02-18 11:33:22 +08:00
timhypeng
0de1aa2b05 Add string and resource for dynamic group
Bug: 146813761
Test: build pass
Change-Id: I7fe0dc1eda2f7c411800c494b600c9a52c382094
2020-02-18 03:01:55 +00:00
Menghan Li
e6704dc37d Merge "Fix overlapped Voice Access labeled item in shortcut component." 2020-02-18 01:20:17 +00:00
Julia Reynolds
1ee9dce20c Add screen for all conversations
Test: atest
Bug: 149583455
Change-Id: I9704082d097ef2bb17c051703e380f573056318c
2020-02-17 20:16:23 -05:00
tim peng
b27db300eb Merge "Replace preference with remote media preference group in xml" 2020-02-18 00:57:30 +00:00
Benedict Wong
0c1abce1a6 Update Settings UI for IKEv2/IPsec VPNs
This CL updates Settings for IKEv2/IPsec Platform VPN profiles.

Platform VPN profiles currently configure DNS and routes based on the
configuration received from the server. As such, these parameters are
not required to start an always-on VPN.

Similarly, a numeric server address is not required, as the IKEv2
library will do the DNS resolution based on the current Network. This
has the nice property of allowing the VPN to run with IPv4 or IPv6 outer
addresses (as opposed to LegacyVpn, which runs only in IPv4)

Lastly, this always allows configuration of the IKEv2 local identifier,
whether MSCHAPv2, RSA or PSK authentication is used.

Bug: 148991741
Test: Compiles, manually tested.
Change-Id: Ib1049fdc602e349bb0d24de536767a6e15adf194
2020-02-17 16:19:20 -08:00
Ben Murdoch
c20d548ad9 Fix NPE in AddUserWhenLockedPreferenceController.
Set LockPatternUtils in constructor, but allow it to be
overridden for tests.

Bug: 149511500
Test: make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.users.AddUserWhenLockedPreferenceControllerTest"
Change-Id: I4148fec8eea9c76afebe45cc29c2c87775fd3b1e
2020-02-17 18:02:28 +00:00
menghanli
9a12fd86c8 Fix overlapped Voice Access labeled item in shortcut component.
The label of shortcut preference and checkbook are overlapped, but only
the checkbox can be triggered.

Action: set parent layout to be non-selectable.

Bug: 149627994
Test: Manual test
Change-Id: Ic0b58159111c27ef94b10c6935178c3b80995d11
2020-02-17 13:33:05 +00:00
Stanley Wang
e589077b08 Fix the Easter egg invocation gesture nonfunctional.
- Revome selectable attribute from xml file.

Fixes: 149112358
Test: manual
Change-Id: I660d906cd615fa7a6696301b13638ca3e3d8b7d6
2020-02-17 18:42:51 +08:00
TreeHugger Robot
acc2fe085a Merge "Add listener for panel header icon" 2020-02-17 09:55:48 +00:00
Jean Chen
a9ca1c6039 Merge "Support autoclick secondary action (7/n)" 2020-02-17 08:51:47 +00:00
Betty Chang
a2d5236ce5 Merge "[Mainline] To use getActiveSubscriptionInfo() instead of get default subscription Info with data/sms/voice" am: 251329c85c am: 74d5ae043c am: 56235e44c5
Change-Id: I6523ca0043a85b2e1619e7d819546f1f0c02fe7f
2020-02-17 07:13:45 +00:00
Betty Chang
56235e44c5 Merge "[Mainline] To use getActiveSubscriptionInfo() instead of get default subscription Info with data/sms/voice" am: 251329c85c am: 74d5ae043c
Change-Id: Ief23331634bdccae49104db98193d0d842a7c99c
2020-02-17 07:01:23 +00:00
Betty Chang
74d5ae043c Merge "[Mainline] To use getActiveSubscriptionInfo() instead of get default subscription Info with data/sms/voice" am: 251329c85c
Change-Id: Iaec059c5f4bc8cef5dd4a6b77205bdd633782ed3
2020-02-17 06:46:24 +00:00
Betty Chang
251329c85c Merge "[Mainline] To use getActiveSubscriptionInfo() instead of get default subscription Info with data/sms/voice" 2020-02-17 06:38:29 +00:00
TreeHugger Robot
c799e9236b Merge "Fix Battery optimization page broken" 2020-02-17 06:25:11 +00:00
Jason Chiu
3d510a2ac4 Merge "Card showing mechanism change in homepage" 2020-02-17 06:17:34 +00:00
Zhen Zhang
5ef644bf46 Move hard coded string in all_tether_prefs into string.xml
Moving these title strings in all_tether_prefs.xml into string.xml and
use them.

Bug: 149343162
Test: Manually test.
Change-Id: Ic57fa7e85f4d39ff1cd30e80a35b8c282827b86d
2020-02-16 22:00:29 -08:00
ChenJean
6a74834dc2 Support autoclick secondary action (7/n)
Character limit: Need 46 characters for Dutch.

Bug: 149522705
Test: manual
Change-Id: Ic34d18abb4dfdf4ba93976896aa4f27beb932fd5
2020-02-17 13:57:43 +08:00
Zhen Zhang
21018a6465 Merge "Remove obsolete TODO in AllInOneTetherSettings" 2020-02-17 05:51:14 +00:00
Zhen Zhang
370653a24b Merge "Update summary for AllInOneTetherPreference accordingly" 2020-02-17 05:50:55 +00:00
Jean Chen
2936ba1cf4 Merge "Support autoclick secondary action (6/n)" 2020-02-17 05:22:39 +00:00
ChenJean
3afad1726e Support autoclick secondary action (6/n)
Capitalize at the first word.

Bug: 149595357
Test: manual
Change-Id: Ia135988b9d30f5a771d9cf506587ec02f28217f5
2020-02-17 11:42:46 +08:00
Jean Chen
b18b637b0e Merge "Support caption second UI structure (4/n)" 2020-02-17 03:41:48 +00:00
ChenJean
04fe3260d7 Support caption second UI structure (4/n)
Always show preview text on windows.

Bug: 143502915
Test: manual
Change-Id: I65b48373905fc59a664c51500613f1dc509b5c8f
2020-02-17 10:16:00 +08:00
TreeHugger Robot
5c9a3725c7 Merge "Moving code to previous behavior" 2020-02-16 11:56:09 +00:00
Menghan Li
9d664e3c90 Merge "Use a configurable default if the setting has never been set." 2020-02-16 00:38:50 +00:00
menghanli
655551841a Use a configurable default if the setting has never been set.
AccessibilityManager#getAccessibilityShortcutTargets may not return
correct shortcut targets during boot. Needs to read settings directly.

Bug: 149293174
Bug: 147989561
Test: Manual test
Change-Id: Ia8997b08d11da78dab5cd568787e9c61b0b0eeab
2020-02-16 00:38:31 +00:00
Daniel Bright
c5dbc53ea5 Moving code to previous behavior
Undoing change to move to updated SystemApi version of
secret code.  This failed because the AndroidManifest
was not updated.  Rolling it back to previous state
for now.

Bug: 149604099
Test: make, flash
Test: Moving code to previous behavior
Change-Id: I8f3f9f4ef5c64dd9fa74bb9393446a9a1340f26e
2020-02-15 14:35:20 -08:00
Julia Reynolds
184e2f34ab Fix history links for conversations
Include the conversation id who the right settings screen
is launched

Test: manual
Bug: 149505730
Change-Id: Idef9d88c9333a83c5c9ce035f7b25bc50c6cfa35
2020-02-15 12:41:51 +00:00
Jason Hsu
133dc99b42 Merge "Fix the animated image can not be displayed." 2020-02-15 09:22:58 +00:00
TreeHugger Robot
5924be85dc Merge "Add a SaftyNet for security vulnerability" 2020-02-15 08:09:47 +00:00
jasonwshsu
78400244af Fix the animated image can not be displayed.
* Need to process arguments earlier.

Bug: 142528112
Test: Manual test
Change-Id: I63e116e47ccdb6409969f629b41b8c3622adb9dc
2020-02-15 15:53:45 +08:00
TreeHugger Robot
00596b03a5 Merge "Remove the isCustomCard and related codes" 2020-02-15 07:26:35 +00:00
Bonian Chen
1716548685 [Settings] Replace isVolteEnabledByPlatform
Replace ImsManager#isVolteEnabledByPlatform() by ImsMmTelManager#isSupport().

Bug: 140542283
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gBasePreferenceControllerTest
Test: m RunSettingsRoboTests -j ROBOTEST_FILTER=Enhanced4gLteSliceHelperTest
Change-Id: I656a00ad2c6120255e53d0b836945462258e01bb
2020-02-15 15:19:49 +08:00
Jason Hsu
e5cdb3a9ac Merge "Fix the NPE error when get the service summary." 2020-02-15 07:05:23 +00:00
changbetty
1a5351c433 [Mainline] To use getActiveSubscriptionInfo() instead of get default subscription Info with data/sms/voice
- getDefaultDataSubscriptionInfo()
   	- getActiveSubscriptionInfo(getDefaultDataSubscriptionId());
   - getDefaultSmsSubscriptionInfo()
   	- getActiveSubscriptionInfo(getDefaultSmsSubscriptionId());
   - getDefaultVoiceSubscriptionInfo()
   	- getActiveSubscriptionInfo(getDefaultVoiceSubscriptionId());

Bug: 147206736
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageUtilsTest
      make RunSettingsRoboTests ROBOTEST_FILTER=MobileDataSliceTest
      make RunSettingsRoboTests ROBOTEST_FILTER=MobileDataPreferenceControllerTest
      make RunSettingsRoboTests ROBOTEST_FILTER=DefaultSubscriptionControllerTest

Change-Id: I7b5988b3c3068c12e242e123ebb54477093d37ad
Merged-Id: I7b5988b3c3068c12e242e123ebb54477093d37ad
2020-02-15 14:56:58 +08:00
Sunny Shao
f0b0d46106 Remove the isCustomCard and related codes
Bug: 143058171
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.homepage
Change-Id: I9d9ab16f327aef65599150e2f58b23bcb9986b30
2020-02-15 13:46:22 +08:00