Commit Graph

16911 Commits

Author SHA1 Message Date
Mill Chen
9703d79ce2 Normalize the icons in Accessibility
The icons displayed in Accessibility are larger than others, they should
be the same size as app icons. Change the drawable's icon size to fix
it.

Fixes: 123411506
Test: visual, rebuild
Change-Id: Ib693dd2ac8e2e191e5ecb2d0d8d4fdac5a32a2de
2019-03-26 16:14:34 -07:00
Salvador Martinez
ef1b5ceb10 Merge "Update dark theme to have new screen" 2019-03-26 22:32:15 +00:00
TreeHugger Robot
f245d907bd Merge "Update DND duration setting string" 2019-03-26 21:16:33 +00:00
TreeHugger Robot
d8925d2ef2 Merge "Add a help URI for each ManageApplications subclass" 2019-03-26 20:59:53 +00:00
TreeHugger Robot
507b7bf4f8 Merge "Flip the preference for sticky battery saver" 2019-03-26 20:41:27 +00:00
Salvador Martinez
1053ec04b4 Update dark theme to have new screen
The dark theme preference should have it's own screen rather than
being a dialog. This adds some boilerplate code that will be
needed for the illustration as well as converting the current
list preference to open a new screen.

Test: robotests
Bug: 128686189
Change-Id: I5b62276353c0d39ad2ad00d21d2280e76cceb09b
2019-03-26 13:17:11 -07:00
TreeHugger Robot
dec5aff009 Merge "Add Live Caption preference to Accessibility page." 2019-03-26 19:25:39 +00:00
TreeHugger Robot
73f570febc Merge "Update search keywords for some pages." 2019-03-26 18:49:32 +00:00
Beverly
aa0ce85001 Update DND duration setting string
Fixes: 125537656
Test: manual
Change-Id: I545c00083c36e7e8f3ff0e6f33d2b000af12093c
2019-03-26 14:48:17 -04:00
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
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
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
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
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
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
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
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
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
Salvador Martinez
12256ca49f Merge "Add dark mode strings" 2019-03-25 15:43:59 +00: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
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
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
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
Alex Kershaw
73136b6e03 Merge "Add new policy transparency UI strings." 2019-03-22 16:44:19 +00:00
Irina Dumitrescu
60d5117b9f Merge "Fail the screen lock flow if the old password has already changed." 2019-03-22 16:12:39 +00:00
Felipe Leme
fcf98251f2 Updated privacy settings to launch custom content capture settings when available.
Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest \
      CtsContentTestCases:android.content.cts.AvailableIntentsTest#testRequestEnableContentCaptureIntent
Test: adb shell am start-activity -a android.settings.REQUEST_ENABLE_CONTENT_CAPTURE

Fixes: 119264902

Change-Id: I2a030c31d966d40feb6ba449e4bbc9ef8cf0565b
2019-03-22 08:10:48 -07:00
TreeHugger Robot
8bb2c1da2d Merge "More strings for bubble settings" 2019-03-22 13:57:29 +00:00