Commit Graph

50837 Commits

Author SHA1 Message Date
Salvador Martinez
d12d722099 Flip the preference for sticky battery saver
Instead of toggled on being to keep battery saver on, the UX
writers would like to make toggled on be turn battery saver off
automatically. Also turns the controller into a
TogglePreferenceController, because those exist apparently.

Test: visual inspection, tests pass
Fixes: 126938839
Change-Id: Iffac536d0b1956d4534ca1b5fa5c6440c4d3a3ff
2019-03-26 11:29:18 -07:00
Salvador Martinez
66320c2c47 Add a help URI for each ManageApplications subclass
This just adds the ability to add help pages to each ManageApplications
subclass. We can remove any we don't end up needing later.

Test: robotests pass
Bug: 121442558
Change-Id: I7aac30aa081d93efaa473248cf259e45ae63870c
2019-03-26 11:27:03 -07:00
Fan Zhang
a95e2165a9 Merge "Take out debugging log for blank suggestions" 2019-03-26 17:38:15 +00:00
Anthony Tripaldi
308d833d16 Add Live Caption preference to Accessibility page.
This reverts commit fa27a88292.

The original was only a temporary revert in order to remove from initial beta release for dogfooding before the feature was ready.

Reason for revert: b/123652115

Bug:123652115
Test: manual
Change-Id: Id647c2992e30289d72a4f6144829a997677be3fa
2019-03-26 13:09:50 -04:00
Fan Zhang
bb679d4817 Update search keywords for some pages.
Fixes: 129016511
Test: reindex
Change-Id: I73f7094168b00ecd92958c1760fde0dbd634bef9
2019-03-26 09:57:37 -07:00
TreeHugger Robot
8edea74eda Merge "[WPA3] Initialize Suite-B ciphers correctly based on the CA cert type" 2019-03-26 16:14:17 +00:00
TreeHugger Robot
d9ab124d81 Merge "Add a different Wi-Fi Easy Connect entry point" 2019-03-26 15:12:24 +00:00
TreeHugger Robot
dad8b16fa9 Merge "Update the background color of dismissal view to align with notification" 2019-03-26 13:19:27 +00:00
Tony Zhu
14ce904fa3 Merge "Fix VoLTE toggle names for all carriers." 2019-03-26 11:41:58 +00:00
Yanting Yang
62608f6fe7 Optimize latency of NotificationChannelSlice
- Use NotificationBackend.getChannel() in onNotifyChange().
- Record AppRow and use it in getEnabledChannels().

Bug: 123065955
Test: robotests
Change-Id: I92466d31544128f09d599d86fb265997207eb55c
2019-03-26 18:18:48 +08:00
Arc Wang
8ae9717226 Fix Wi-Fi Easy Connect QR code scanner problems
1. When camera area overlaps display cutout, it's onLayout size is 0/0.
   To fix it, use ConstraintLayout to specify width and height in layout file.

2. When scanned a QR code and there is an error, set camera area frame line
   back to unfocused color.

Bug: 124399763
Test: manual test
Change-Id: I7575efd0ccfb58d114acc3dcca6978d68b801f91
2019-03-26 16:07:02 +08:00
Yi-Ling Chuang
1867933f67 Update the background color of dismissal view to align with
notification

Bug: 126214056
Test: visual
Change-Id: Ib5c187d9259b64bcf2081ef911aa2d953248239d
2019-03-26 16:03:01 +08:00
Yi-Ling Chuang
78fbb3cb98 Take out debugging log for blank suggestions
Fixes: 120629936
Test: rebuild
Change-Id: Icabfea8e636bf20bed7b174fc3082949ac37721c
2019-03-26 15:02:35 +08:00
Jason Chiu
5b15c6748e Fix broken tests in WifiSliceTest
Fixes: 129293669
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi.slice
Change-Id: I70bbeb1fcf01ff0569c937c5dd5c9cfa2e8f9b3c
2019-03-26 14:29:41 +08:00
Joel Galenson
22ab71c7c6 Change the permission bar chart to use the new design
- Each bar is now labeled with the permission name and the subtitle is
slightly different.
- Change some string for new design

Test: View screen.
Test: atest PermissionBarChartPreferenceControllerTest
Change-Id: Ia82f9cbb6255d93c38a27b038ae5af3f066eec28
2019-03-26 13:50:35 +08:00
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
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