Commit Graph

50923 Commits

Author SHA1 Message Date
Raff Tsai
b0bb2f36a1 Merge "Fix broken settings tests" 2019-03-26 05:16:21 +00:00
tonyzhu
ef9c44461f Fix VoLTE toggle names for all carriers.
Change default from "Enhanced 4G LTE Mode" to "VoLTE".
Add 4g calling and its sub summary.
Show carreirs VoLTE toggle names by carrier config.

Bug: 129112234
Bug: 129153582
Test: Use commands to override carrier config to observe the
UI as expected.

Change-Id: I1d418873a661b3c20c5a6d0a056dcb2573742c65
2019-03-26 11:43:51 +08:00
Xiangyu/Malcolm Chen
41562c66aa Merge "Clean up a few names of Telephony intent extra." 2019-03-26 01:59:58 +00:00
Arc Wang
8a9ccfd8d9 Add a different Wi-Fi Easy Connect entry point
To separate it further from Wi-Fi sharing as it was
causing some confusion.

Bug: 129031195
Test: manual test
Change-Id: Ia55e3ed91e92c3ec36ae6a9401897c5c960762da
2019-03-26 09:55:38 +08:00
Arc Wang
200fe62814 Merge "Add divider line in Preference for scan QR code button and share hotspot button" 2019-03-26 01:36:26 +00:00
pastychang
fefc66853b Set attribute sucUsePartnerResource
Add the attribute for all pages apply gliflayout of setupdesign library.
In addition, set the value false to remove stencil theme customization for outside setupwizard flow.

Test: atest
Bug: 128961334
Bug: 128364683
Change-Id: If55e9bf97970a5cd08d8d426747c483d80565559
2019-03-26 09:00:49 +08:00
Yong Shi
cfb4ca74c1 Show the disclaimer regarding WFC location privacy policy
In some countries the rules is very strict about responsibility and
liability around location data during emergency calls. The purpose of
this feature is to notify end user that the location information will
be shared for calls over wifi calling.

Test: manual - Checked that WFC locatopn privacy policy is shown when
changing wifi calling setting to turned on.
Test: auto - Passed LocationPolicyDisclaimerTest.
Bug: 67872298

Change-Id: I03895743fb8da95269069ad7eda9a7b3e282857e
Merged-In: I03895743fb8da95269069ad7eda9a7b3e282857e
2019-03-25 23:33:17 +00:00
jackqdyulei
4dbcdd632f Fix broken settings tests
1. Mark a few as Ignore with bug number
2. Remove some tests since it is covered in other places
3. Fix some tests

I think we should make tests at least green asap.

Bug: 129159331
Test: RunSettingsRoboTests
Change-Id: I90971b416806e4e9be249b06ad5abfb73d9d7c23
2019-03-25 15:54:47 -07:00
Lei Yu
d8665574d5 Merge "Fix broken bluetooth robo tests" 2019-03-25 22:53:04 +00:00
Hai Shalom
566101d166 [WPA3] Initialize Suite-B ciphers correctly based on the CA cert type
Initialize Suite-B ciphers correctly based on the CA cert type. Read the
cert type from key store, parse it and get the signature algorithm.
Enforce SHA384, and initialize AllowedSuiteBCiphers based on the
certificate type: RSA or ECSDA.
Wi-Fi alliance requires the use of both ECDSA secp384r1 and RSA 3072
certificates in WPA3-Enterprise 192-bit security networks, which are
also known as Suite-B-192 netowkrs, even though NSA Suite-B-192 mandates
ECDSA only. The use of the term Suite-B was already coined in the
IEEE 802.11-2016 specification for AKM 00-0F-AC but the test plan for
WPA3-Enterprise 192-bit for APs mandates support for both RSA and ECDSA,
and for STAs it mandates ECDSA and optionally RSA. In order to be
compatible with all WPA3-Enterprise 192-bit deployments,

Bug: 128861164
Test: Verify Suite-B initialized correctly with RSA and ECDSA certs.
Test: Associate to SUITE_B_192 AP with RSA certificate
Test: Associate to SUITE_B_192 AP with ECDSA certificate
Change-Id: I5e8b6794e68ed3af5f8c8beac622fff8076a46a1
2019-03-25 14:40:59 -07:00
TreeHugger Robot
cd0b74d730 Merge "Strings changes for opportunistic mobile networks" 2019-03-25 20:56:14 +00:00
jackqdyulei
a2208c008b Fix broken bluetooth robo tests
Bug: 129159331
Test: RunSettingsRoboTests
Change-Id: I3e64659e59fd9b2ac58bf697116e1ee34928a3cd
2019-03-25 13:15:30 -07:00
Matt Pape
a970f6051b Remove interface for Telephony.
Per API council feedback, we are making changes to include only the
namespace in the system API defined in DeviceConfig.java. Strings which
define property names should be defined in code local to the feature
instead.

Bug: 126411407
Test: atest FrameworksCoreTests:DeviceConfigTest
Change-Id: I4fc2dc6b4f6876962a9f41d887124016e547f4fa
2019-03-25 11:07:16 -07:00
Antony Sargent
d08c7cd00f Strings changes for opportunistic mobile networks
-Summary for opportunistic networks on multi-network header on the
 Network & internet home page. There are two strings we need here for
 when the network is configured but isn't being actively used: "In
 range" (e.g. we would be using it for data, but we already have a wifi
 connection) and "Not in range".

-Summary of the mobile data switch for opportunistic networks: "Phone
 will automatically switch to this carrier when in range".

Bug: 127529917
Bug: 128859152
Test: compile
Change-Id: I25e2f359790db6cfc328831c9bd06c172c9d9ad3
2019-03-25 11:07:11 -07:00
Soonil Nagarkar
c5dd4e503c Fix control flow bug in preference controller
BUG: 118908907
Test: manual
Change-Id: I5300309a13833e278902c75090c9f7de43d6e2b7
2019-03-25 10:52:28 -07:00
Winson Chung
ed8b0aebea Merge "Updating settings to use resource overlay instead of setting." 2019-03-25 16:58:11 +00:00
Salvador Martinez
12256ca49f Merge "Add dark mode strings" 2019-03-25 15:43:59 +00:00
TreeHugger Robot
6029cf9677 Merge "Do no crash when profile is deleted" 2019-03-25 14:27:28 +00:00
cosmohsieh
10d648af3b Fix inconsistent border width in QR code scanning camera
1) Fix border width become larger in the corner.
2) Correct border width

Bug: 127654782
Test: manual
Change-Id: I792ac571b5c59d14af82848698d76cb59a2f4249
2019-03-25 16:37:29 +08:00
Winson Chung
d16e3233af Updating settings to use resource overlay instead of setting.
Bug: 127366543
Test: Manual test on device
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationLegacyPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationSwipeUpPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationEdgeToEdgePreferenceControllerTest

Change-Id: I021d05a21e00136c6f3651247964319274bdab91
2019-03-25 00:26:39 -07:00
TreeHugger Robot
e29b62cc83 Merge "Import translations. DO NOT MERGE" 2019-03-25 05:53:50 +00:00
Bill Yi
365f23e49d [automerger skipped] Import translations. DO NOT MERGE am: e6d11ed962 -s ours
am: 2fab42da0a -s ours
am skip reason: subject contains skip directive

Change-Id: I9c0510407818d9b5ebc12954d029e53f6f5574b5
2019-03-24 22:42:26 -07:00
Bill Yi
2fab42da0a [automerger skipped] Import translations. DO NOT MERGE
am: e6d11ed962 -s ours
am skip reason: subject contains skip directive

Change-Id: I144c24a4b3c2dcab4693d0f5eb45a2df29b2c380
2019-03-24 22:38:25 -07:00
Bill Yi
e6d11ed962 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id87c2f36401630b5a5e6b1537ec2a44340cadbec
2019-03-24 15:43:53 -07:00
Bill Yi
78d50e9afd Import translations. DO NOT MERGE
Change-Id: Ic074f6ea5240dba0cc33def268871adc3a3a9f69
Auto-generated-cl: translation import
2019-03-24 14:26:02 -07:00
Bill Yi
aa0d851e11 Import translations. DO NOT MERGE
Change-Id: I2ac8a855320e331141528a7007f220b587b06535
Auto-generated-cl: translation import
2019-03-23 23:37:59 -07:00
Bill Yi
8c4cac59b3 Import translations. DO NOT MERGE
Change-Id: I2f73ce8833edd4dacc89d18a45c600deea9f2e29
Auto-generated-cl: translation import
2019-03-23 10:58:45 -07:00
Andrew Sapperstein
63ab34827f Merge "Update eSIM deletion strings." 2019-03-23 02:51:06 +00:00
TreeHugger Robot
9ed12130b1 Merge "Add String for new graph from Privacy screen" 2019-03-23 02:17:28 +00:00
Hall Liu
928d2abc57 Merge "Show the disclaimer regarding WFC location privacy policy" 2019-03-23 02:13:33 +00:00
TreeHugger Robot
24983db38a Merge "String changes for some SIM switch confirmation dialogs" 2019-03-23 01:53:22 +00:00
Malcolm Chen
f2fca31c51 Clean up a few names of Telephony intent extra.
Bug: 128645056
Test: build
Change-Id: I5d47b132abb722282bd10b9fbb362fb1f1d32f11
2019-03-22 18:03:42 -07:00
TreeHugger Robot
60320024cf Merge "Adding strings for heap dump dev options." 2019-03-23 00:39:57 +00:00
TreeHugger Robot
a6f2d8133b Merge "Add new sticky battery saver strings" 2019-03-22 23:49:32 +00:00
Antony Sargent
fcc9440a52 String changes for some SIM switch confirmation dialogs
These are changes for strings used in two scenarios:

-When switching which SIM is used for mobile data. This is an update to
 some existing strings.

-Enabling an eSIM when another one is already enabled (so the first one
 will need to be disabled). These are new strings.

Bug: 129156640
Test: compile, plus manual (run a device in DSDS mode, go to details for
SIM that isn't currently used for mobile data, and tap on mobile data
switch)

Change-Id: Ie9dfe23c466cb454bbad916ba83b833967a0da0e
2019-03-22 16:47:33 -07:00
Salvador Martinez
f3daccde12 Add dark mode strings
This adds some dark mode strings and also tweaks the title string
for the preference.

Test: phone boots
Bug: 124252163
Change-Id: I32b8eda6d28ba03dd895a36db536ce5334713f9a
2019-03-22 15:38:43 -07:00
Lei Yu
fb93cb224f Merge "Add fp icon with background shape" 2019-03-22 22:03:53 +00:00
Kweku Adams
8d35e03390 Adding strings for heap dump dev options.
This is taken from http://ag/6794787.

Bug: 77490269
Test: N/A
Change-Id: I37e6abe2e58c0d68bd8dc66a4a715608e7e18484
2019-03-22 14:57:25 -07:00
Ryan Mitchell
139ea3f082 Merge "Fix Settings test that uses OverlayInfo" 2019-03-22 21:39:41 +00:00
TreeHugger Robot
72f63e2ccc Merge "Strings for erase SIM preference" 2019-03-22 21:33:19 +00:00
Salvador Martinez
e7908b5a4d Add new sticky battery saver strings
Adds some strings we'll need to update the preference for sticky
battery saver.

Test: phone boots
Bug: 126938839
Change-Id: I6e7f78f832490e2fe003418bac4d2caec60ddbac
2019-03-22 14:07:29 -07:00
Salvador Martinez
6cf1399d5e Merge "Rename battery saver schedule mode apis" 2019-03-22 20:52:13 +00:00
TreeHugger Robot
f28a845bcc Merge "Switch some strings to 'Downloaded SIM' instead of 'eSIM'" 2019-03-22 20:37:21 +00:00
Andrew Sapperstein
88930e373e Update eSIM deletion strings.
Adds some conditional behavior for the confirmation screens.
When the erase eSIM option is visible and checked, shows alternate string.

Fixes: 126262481
Fixes: 118751918
Test: visual inspection & make -j RunSettingsRoboTests
Change-Id: I40f983b03ad470d785bf104e645dbc92e7897d2d
2019-03-22 13:03:25 -07:00
jackqdyulei
36ce63dcb5 Add fp icon with background shape
Fixes: 126425211
Test: RunSettingsRoboTests

Change-Id: I779f76f597b80d73b6dd6eb9e43a96abc9fee0bb
2019-03-22 12:06:36 -07:00
tmfang
616f2f94c9 Add String for new graph from Privacy screen
Test: rebuild
Bug: 129132950
Change-Id: I25b9edf80d0ed11e504724d475d902eac485f85d
2019-03-23 03:01:36 +08:00
TreeHugger Robot
4d33ead8ef Merge "Updated privacy settings to launch custom content capture settings when available." 2019-03-22 18:35:58 +00:00
Antony Sargent
72286f2908 Switch some strings to 'Downloaded SIM' instead of 'eSIM'
We also added a '/' divider to distinguish the two bits of state that
these strings convey - active vs inactive, and SIM vs eSIM (aka
downloaded sim).

Fixes: 127821561
Test: m Settings
Change-Id: Ibaa611bb5585dd9797e4db2fb4d684274be26791
2019-03-22 11:27:10 -07:00
Antony Sargent
e4d93dfa34 Strings for erase SIM preference
These are strings for a preference and its associated dialogs allowing a
user to erase an eSIM profile.

Bug: 124254555
Test: m Settings
Change-Id: Ieb57121544687ff96ad2c939144497aaf7d29367
2019-03-22 11:09:47 -07:00
TreeHugger Robot
c14515cc45 Merge "Add unofficial intent for BatterySaverSchedule screen" 2019-03-22 17:21:15 +00:00