Commit Graph

16715 Commits

Author SHA1 Message Date
Alex Salo
469f1a345e Merge "Add more keywords to adaptive sleep setting" 2019-02-13 18:32:48 +00:00
TreeHugger Robot
cd15971f14 Merge "Move horizontal progress bar into SettingsLib." 2019-02-13 13:53:56 +00:00
Mill Chen
c8e028cc83 Update the font family for the conditional title
Bug: 113451905
Test: visual
Change-Id: Ic58652f4ac3af0e72308a7c2c293b2ae73eb42b6
2019-02-13 16:57:00 +08:00
TreeHugger Robot
d611df7c48 Merge "Misc ui tweaks." 2019-02-13 02:15:54 +00:00
Alex Salo
97e3967756 Add more keywords to adaptive sleep setting
Test: manually
Bug: 111939367
Change-Id: Ib1e61dc5e743f502233b7589ae2c14b586499630
2019-02-12 16:46:38 -08:00
TreeHugger Robot
545f8b1454 Merge "Update spec for CardPreference" 2019-02-13 00:39:24 +00:00
Fan Zhang
07207c0113 Misc ui tweaks.
- Update conditional card layout
  - move action button from right side to bottom.
  - Get rid of the forking between small/big screens.

- Update a few icons

Fixes: 121189136
Fixes: 124315564
Fixes: 124316920

Test: visual
Change-Id: I205d9995a2d7ed06ad9d32f3cea74f2840a28aed
2019-02-12 16:14:21 -08:00
Doris Ling
17e807a57e Merge "Separate OTA data usage from SYSTEM_UID." 2019-02-12 18:27:30 +00:00
TreeHugger Robot
5999ba5448 Merge "Add carrier settings version to network details page" 2019-02-12 05:01:37 +00:00
TreeHugger Robot
c5143ceec2 Merge "Add nearby device SlicePreference" 2019-02-12 04:16:26 +00:00
jackqdyulei
ca21544f99 Add nearby device SlicePreference
Change-Id: I9e88602df9ab589c3eea087b1202cbc7615dc810
Fixes: 116327443
Test: RunSettingsRoboTests
2019-02-11 17:38:50 -08:00
Bookatz
0921550bac User photo: Remove reference to Photo Gallery
"Choose photo from Gallery" references the no-longer extant Gallery, so
modifying that text.

Change-Id: I049c70eeecfd0a86e3f9d30ee00e97268056af01
Fixes: 35935990
Test: Manual confirmation that text changed
2019-02-11 16:42:36 -08:00
Antony Sargent
f0d4a3730b Add carrier settings version to network details page
This adds a preference showing the carrier settings version to the
mobile network details page.

Bug: 123995414
Test: make RunSettingsRoboTests
Change-Id: I7b80ead0eadb7375b4404262337e47f75102125c
2019-02-11 14:24:56 -08:00
jackqdyulei
8360e0181a Update spec for CardPreference
Make icon and title align to other preference

Bug: 119618813
Test: Manual
Change-Id: I2b088fcfe0b005cde1d79db01806e1919cb131cc
2019-02-11 13:42:41 -08:00
Lei Yu
7946eee850 Merge "Update search for mobile network settings" 2019-02-11 18:00:57 +00:00
TreeHugger Robot
ad6cc282ee Merge "Remove hardcode class path for CredentialStorage." 2019-02-09 01:47:35 +00:00
Joel Galenson
1d3df21699 Add accessibility usage preference to the Privacy screen.
Bug: 123595964
Test: Open Privacy page with one and two accessibility services
enabled and click the preference.
Test: Open Privacy page with zero accessibility services enabled and
do not see the preference.
Test: atest AccessibilityUsagePreferenceControllerTest

Change-Id: Ib1dab374cb53dfbc473b2d5ac49115e608a13ab8
2019-02-08 17:26:52 -08:00
jackqdyulei
e6d7d3b1e7 Update search for mobile network settings
This CL make all mobile related preferences support:
1. If subId is manually set, check visibility by subId
2. If not, try find whether there is one active subId meets requirement.
If so, isAvailable() will return true to enable search.

Bug: 77276236
Test: RunSettingsRoboTests
Change-Id: I24e2d2f5e882284ba8e997b844caee7722b6b07d
2019-02-08 16:23:11 -08:00
Lei Yu
9807f99f26 Merge "Add divider line in battery page" 2019-02-09 00:20:35 +00:00
Fan Zhang
4799e54802 Remove hardcode class path for CredentialStorage.
It can launch with a intent action directly.

Change-Id: I26a3a63d1790c1fd184b38711c736428f86f3659
Fixes: 124124110
Test: manual
2019-02-08 15:11:24 -08:00
TreeHugger Robot
607478b663 Merge changes I9185949e,Ia0f15fd7
* changes:
  Remove advanced button from location settings
  Update strings on date & time setting.
2019-02-08 22:41:40 +00:00
TreeHugger Robot
83e6a68743 Merge "Set summary for SIM entries in multi-SIM header" 2019-02-08 22:06:18 +00:00
TreeHugger Robot
c575ef5cb5 Merge "Use system attr instead of hardcoding for searchbar radius" 2019-02-08 21:32:47 +00:00
jackqdyulei
b52ed906cc Add divider line in battery page
Change-Id: Ib5b1d7980cb6c453bb656a36ff6f1bb62bffc803
Fixes: 119618813
Test: Manual
2019-02-08 13:25:31 -08:00
Fan Zhang
c7cef5ee43 Remove advanced button from location settings
Change-Id: I9185949edffbc4588287221b81d30e136e755f85
Fixes: 124059127
Test: manual
2019-02-08 12:39:00 -08:00
Antony Sargent
8fc473629a Set summary for SIM entries in multi-SIM header
On the Network & internet page, when you have multiple active SIMs we
add a header with an entry for each one. This CL sets the summary for
those entries to be a 1 or 2 line indication of what services (calls,
SMS, and data) that SIM is used for by default, or just an indication
that the SIM is available. And for the SIM used by default for data, we
include status information about whether it's connected or not.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: I46f37433f753724bbde8876f0d89c3155b2c3812
2019-02-08 20:18:30 +00:00
Fan Zhang
7743e12ce6 Update strings on date & time setting.
Change-Id: Ia0f15fd7e680d6dd864567a31186b7e2090c435f
Fixes: 123812588
Test: visual
2019-02-08 11:24:15 -08:00
Fan Zhang
d48a65c44d Use system attr instead of hardcoding for searchbar radius
Change-Id: I41aa10b7fc13271e2d9369fe4dc4e1808a0c1044
Fixes: 123985440
Test: visual
2019-02-08 11:19:13 -08:00
Andrew Sapperstein
5efb70ac18 Separate OTA data usage from SYSTEM_UID.
Prior to this CL, Process.OTA_UPDATE_UID was included with SYSTEM_UID
for the purposes of per-app data usage in the DataUsageList. With this
change, it is now separated into its own category.

This change also deletes the duplicate ic_system_update* icons and
moves the one implementation into SettingsLib.

Fixes: 70640191
Test: manually verified locally that there is an item in the list
with the proper title. Required setting up a custom OTA for my
test device.

Change-Id: Iecc45648f68a12c9f8e2370577ab017863e7fcb2
2019-02-08 10:39:46 -08:00
Bill Yi
624dca2afe Import translations. DO NOT MERGE
Change-Id: Id12a885466480f418f45a1b6e881477771a4b86a
Auto-generated-cl: translation import
2019-02-08 01:07:35 -08:00
TreeHugger Robot
d2e7bfeb1c Merge "Update strings" 2019-02-07 22:29:40 +00:00
Fan Zhang
5b27d18e38 Update strings
Change-Id: Idbf1e3a8b0c7116271e424548ef37340199eaea2
Fixes: 124049901
Test: manual
2019-02-07 11:53:59 -08:00
Joel Galenson
ad0e49bd6e Move horizontal progress bar into SettingsLib.
Remove the horizontal progress bar as it is being moved into
SettingsLib.

Bug: 123538370
Test: See progress bar in wifi settings screen.
Change-Id: I8fc94b1f3a7a52559cfcf89f3e4a604784ec9995
2019-02-07 08:21:01 -08:00
TreeHugger Robot
b6db082fd4 Merge "Merge bool.xml and config.xml into one file." 2019-02-07 00:16:30 +00:00
Michael Groover
09c4347c3c Merge "Change device ID developer setting to disable option" 2019-02-07 00:03:59 +00:00
Fan Zhang
e3acc925c4 Merge changes I690fa4c2,I53632e4e
* changes:
  Use system defined card corners instead of hardcoding to 8.
  Add PRIVACY_SETTINGS intent to privacy, not backup, page.
2019-02-06 23:51:57 +00:00
Fan Zhang
9bc0fb3c6a Merge bool.xml and config.xml into one file.
Bug: 124008048
Test: rebuild
Change-Id: I3a6522e6d0939ef1f80406d91b35492360916aa1
2019-02-06 14:17:53 -08:00
Michael Groover
fcb6aff14c Change device ID developer setting to disable option
Bug: 123646983
Test: Manually verified toggling the option set the expected value
Change-Id: Ia219c154d9572111c4fce1af4128a103ba0409ec
2019-02-06 14:09:13 -08:00
Wenting Xiong
af5c05392b Fix issue that the wifi calling text cannot be customized based on sim
Some carriers have requirements that the wifi calling text should be
customizable. However, the resources for the wifi calling text are
not obtained based on sim. So it cannot be customized per sim for multi
sim device. To solve this issue, obtain the resources with specified
sim.

Test: manual - Checked that the wifi calling text could be customized
based on sim.
Bug: 117257109

Change-Id: I6b3f6b06c9cc984ee6a68a19ae317b5d1d4e48e2
2019-02-06 13:16:12 -08:00
Fan Zhang
96a40bab77 Use system defined card corners instead of hardcoding to 8.
Change-Id: I690fa4c2d5a52d1cb6e1606b5c961d0116a5707b
Fixes: 123985440
Test: visual
2019-02-06 12:22:40 -08:00
Andy Hung
dc1db1c2a7 Merge "Add master audio balance setting" 2019-02-06 18:51:35 +00:00
TreeHugger Robot
2f13aa55d6 Merge "Add an on/off switch to the top of mobile network details page" 2019-02-06 18:00:25 +00:00
Julia Reynolds
0f31b717b9 Merge "Add settings for notification bubbling" 2019-02-06 13:41:43 +00:00
Yohei Yukawa
82ebf6090d Update header test to 'Work profile input & assistance'
Per suggestion from UX, this CL updates the category header of
work-profile specific enties in Languages & input from
  Work profile
to
  Work profile input & assistance.

Other than that, there is no user-visible behavior change.

Bug: 123314089
Test: Manually verified as follows.
  1. Build and flash an AOSP build
  2. Install Test DPC
  3. Open Settings -> System -> Languages & input
  4. Make sure that the new category header for work-profile specific
     entries is now shown as "Work profile input & assistance"
Change-Id: I4a4fb7c8a31d8d849780e71796b92ec0a2f026e3
2019-02-05 19:54:59 -08:00
Michael Groover
9285d84aa4 Merge "Add developer option for device identifier restrictions" 2019-02-06 00:00:08 +00:00
TreeHugger Robot
0e96dcc2a0 Merge "Use adaptive icon shapes for settings homeepage" 2019-02-05 23:13:08 +00:00
Edward Savage-Jones
5042c9b41b Add master audio balance setting
This adds an audio balance slider to accessibility allowing the end
user to adjust the audio balance between left and right channels.

Test: Change Balance through Settings, play audio
Bug: 28390736
Change-Id: I70f22d222ea310fd33ebe4f3fb054f44f69d2548
2019-02-05 14:26:28 -08:00
Stanley Tng
f084b86405 Merge "Update the Hearing Aids Strings" am: 3afa2a7acb am: f8ba53c6fb
am: fdd54f74ed

Change-Id: I3b33647aac8fa8fe1757825a3f9d43fccc9efa35
2019-02-05 13:32:47 -08:00
Stanley Tng
fdd54f74ed Merge "Update the Hearing Aids Strings" am: 3afa2a7acb
am: f8ba53c6fb

Change-Id: I5d6a76265ccb0a7263bb689fa8a3ef4a0044e77a
2019-02-05 13:16:09 -08:00
Antony Sargent
f6d3ac2893 Add an on/off switch to the top of mobile network details page
When a device is in DSDS mode and has two mobile network subscriptions,
a user may want to completely disable one of those subscriptions. This
implements the UI for this, calling into some recently added APIs in the
SubscriptionManager class.

Bug: 122670283
Test: make RunSettingsRoboTests
Change-Id: I40fd3e777ce3542004e4761406b24196505b97d8
2019-02-05 12:28:57 -08:00