Commit Graph

49733 Commits

Author SHA1 Message Date
TreeHugger Robot
00ca556f26 Merge "Create special case mobile data slice" 2019-02-11 22:53:50 +00: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
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
Matthew Fritze
1138218abe Create special case mobile data slice
Build the special case mobile data slice for general use,
and for the Internet Connectivity Panel. The Slice controls
the default data subscription, and links to the subscriptions
page.

Bug: 117804089
Fixse: 119411534
Test: robotests & test app.

Change-Id: I31b524a8fe3182a244d940848090e97250632f39
2019-02-08 13:13:28 -08:00
TreeHugger Robot
01a171b5fb Merge "Import translations. DO NOT MERGE" 2019-02-08 20:57:24 +00: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
Julia Reynolds
7d257171dc Merge "Fix failing test" 2019-02-08 17:53:43 +00:00
Julia Reynolds
d8629c5ebb Fix failing test
Test: robo tests
Change-Id: Ic4c927948b3c91a126ab830960e12550a5fd80fa
Fixes: 124077441
2019-02-08 10:49:11 -05:00
TreeHugger Robot
d9d6acf1fd Merge "Logging SetNewPasswordActivity events" 2019-02-08 13:59:19 +00: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
c621a5517e Merge "Fix broken tests." 2019-02-08 05:10:48 +00:00
TreeHugger Robot
2aa5a8adf1 Merge "Use correct default subscription id to get default network template." 2019-02-08 04:09:00 +00:00
Joel Galenson
a330abba0a Fix broken tests.
This test was passing in invalid values for the namespace and key.
Modify it to use the correct ones.

Change-Id: Idc6971c20d64b711953bdde9fe710f592b04e807
Fixes: 124077137
Test: atest VibrateWhenRingPreferenceControllerTest
2019-02-07 19:36:21 -08:00
Doris Ling
dddeb5f25e Use correct default subscription id to get default network template.
- when launching the app info page and no network template is defined in
the launch arguments, use the correct default data subscription id to
check whether mobile network template should be used or not.

Change-Id: If9341abf3416c775a2b7407c1d6d0b33f4aad67f
Fixes: 120098637
Test: make RunSettingsRoboTests
2019-02-07 14:41:45 -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
TreeHugger Robot
6e54c774be Merge "Revert "Update proguard"" 2019-02-07 17:42:47 +00:00
TreeHugger Robot
16d8f7087a Merge "Fix mobile data on/off switch for multi-sim case" 2019-02-07 16:51:02 +00:00
Christine Franks
6f7b68ca62 Merge "Use ColorDisplayManager for night display settings" 2019-02-07 16:11:14 +00:00
Xiangyu/Malcolm Chen
09f76a0298 Merge "Enable data when user selects default data through popped up dialog." 2019-02-07 03:34:14 +00:00
TreeHugger Robot
175b7b9256 Merge "Retrieve effectiveUserId after userId is set/re-set" 2019-02-07 02:01:21 +00: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
Malcolm Chen
e8fabb522a Enable data when user selects default data through popped up dialog.
In DSDS device, when user explicitly selects a SIM as data SIM, we
should not only set it as default data SIM in Telephony, but also
enable its data.

Bug: 120712558
Test: manual
Change-Id: I429efa090ebf5bb71ee491ae66525abee00f62c6
2019-02-06 15:23:23 -08:00
Antony Sargent
8af118bd87 Fix mobile data on/off switch for multi-sim case
In multi-sim, the on/off switch for mobile data on the mobile network
details page doesn't quite work right. The thing it's missing is
checking whether the current sim is the default one used for data - if
it's not the default, then the switch should be off even if mobile data
is turned on. And clicking to enable needs to prompt the user to ask if
this sim should be become the new default one, which we already have
code for, but we weren't triggering it properly.

Bug: 124005813
Test: make RunSettingsRoboTests
Change-Id: Ifdf58addfde94b3bac85c68e4b22ddfbaf01dff7
2019-02-06 14:28:27 -08: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
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
Fan Zhang
11482d220f Add PRIVACY_SETTINGS intent to privacy, not backup, page.
Bug: 123878762
Test: updated backupSettingsHelper
Change-Id: I53632e4eeb5fa42447aa5fc075be69eeb68cdd52
2019-02-06 12:22:40 -08:00
Kevin Chyn
e264bf3f66 Retrieve effectiveUserId after userId is set/re-set
Fixes: 123502937

Test: Followed steps in comment #1 of the first bug above
      Note that the test should be done with unified lock disabled, e.g.
      have separate pin/pattern/pass for owner and work profile

Change-Id: I01d66a8a1d3ed1811497c2acb7db6158d99727a0
2019-02-06 11:23:27 -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
Beverly Tai
aaa52b4c90 Revert "Update proguard"
This reverts commit dbd48da49a.

Reason for revert: was only hiding aware settings for beta 1
Bug: 123532083
Change-Id: I7d07f9ec62a3bd6f81838da1e2639102d501e1c4
2019-02-06 15:44:40 +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
TreeHugger Robot
84d31373fc Merge "Move android.settings.PRIVACY_SETTINGS to PrivacySettings." 2019-02-06 03:20:35 +00:00
Michael Groover
9285d84aa4 Merge "Add developer option for device identifier restrictions" 2019-02-06 00:00:08 +00:00
Fan Zhang
2d77b0192a Move android.settings.PRIVACY_SETTINGS to PrivacySettings.
Bug: 123878762
Test: manual
Change-Id: I9312c8455b0325f7c582523938a1fde21fbd81ce
2019-02-05 15:58:35 -08:00
TreeHugger Robot
0e96dcc2a0 Merge "Use adaptive icon shapes for settings homeepage" 2019-02-05 23:13:08 +00:00