Commit Graph

51077 Commits

Author SHA1 Message Date
Lei Yu
033fe6eec0 Init PowerWhitelistbackend to stop crash
Also update text to "unavailable" to reflect its current status.

Fixes: 129955147
Test: Manual
Change-Id: Ib80d68d6d2b6bc4ced4a72483859e675b7e7e61c
2019-04-04 13:44:45 -07:00
Jordan Liu
52ad6f0dcb Merge "Make RadioInfo settings menu work for mSIM" 2019-04-04 20:33:31 +00:00
Kevin Chyn
39ca021586 Add face profile settings
Fixes: 110907543

Test: Builds

Change-Id: I9761f289bb250c5d9f5b5e75cf682d164c591050
2019-04-04 13:18:04 -07:00
Lei Yu
254afc0da0 Create gitignore for Settings
Fixes: 129973953
Test: Manual
Change-Id: I0d57d5b2fe161d150605854cbe7fe62494390a3e
2019-04-04 12:49:15 -07:00
Fan Zhang
f2ec3cfbad Update strings
Fixes: 129885706
Fixes: 129855545
Test: visual
Change-Id: I655655033c019de4365de9fe208c8c362134dfe3
2019-04-04 12:01:21 -07:00
Alex Salo
e0c9d3c474 Update adaptive sleep setting with the latest copy
Bug: 129352433
Change-Id: I3c9594f9ed49208ef1d7bbc33e8083a0c733b1f8
Test: manually confirmed it works and looks correct
(cherry picked from commit fdeb07c05b)
2019-04-04 18:55:59 +00:00
Jordan Liu
77c522c7b1 Make RadioInfo settings menu work for mSIM
Just add a spinner to the top of the screen which lets you select the
phoneIndex. Upating this value updates the mTelephonyManager
mImsManager, and mPhoneStateListener to use the selected phoneIndex and
the subscription associated with it.

Also adds fields for current subId and default data sim subId.

Test: manual test (on single sim)
Fixes: 128033739
Change-Id: Id075e3bffe20523d8ceeb8f2e4320f995abdab55
2019-04-04 11:21:51 -07:00
Jordan Liu
b69e8f2615 Make RadioInfo settings menu work for mSIM
Just add a spinner to the top of the screen which lets you select the
phoneIndex. Upating this value updates the mTelephonyManager
mImsManager, and mPhoneStateListener to use the selected phoneIndex and
the subscription associated with it.

Also adds fields for current subId and default data sim subId.

Test: manual test
Fixes: 128033739
Change-Id: Id075e3bffe20523d8ceeb8f2e4320f995abdab55
Merged-In: Id075e3bffe20523d8ceeb8f2e4320f995abdab55
2019-04-04 10:54:53 -07:00
jackqdyulei
c833ee74ca Customized Wifi calling text
This only fixed in old page from aosp/777974. We need to migrate
it to new preference controller

Fixes: 117257109
Test: Manual
Change-Id: I257be10d7cc1fc4a91ee0df404dd69b4d2ee8ae2
(cherry picked from commit acacaf44d3)
2019-04-04 17:15:59 +00:00
Lei Yu
bcdb4611ab Merge "Customized Wifi calling text" 2019-04-04 17:13:37 +00:00
Jason Chiu
8f6c06974c Add prompt to sign in at captive portal to Wi-Fi Slice
- Support signing in captive portal APs in WifiSlice
- Show ContextualWifiSlice when signing in is required
- Generifies SliceBackgroundWorker.getInstance() to return <T extends SliceBackgroundWorker>

Fixes: 128056349
Test: make RunSettingsRoboTests -j
Change-Id: Ib4d3942591a65e81018389e4c0bbddfea6854dbc
(cherry picked from commit dd9f92280b)
2019-04-04 16:51:02 +00:00
TreeHugger Robot
4ecca52827 Merge "Add prompt to sign in at captive portal to Wi-Fi Slice" 2019-04-04 16:47:11 +00:00
Andrew Sapperstein
7b3734e129 Update char limit for reset_esim_title.
Fixes: 129711512
Test: verified manually with larger string.
Change-Id: I802ed901ad65d79dbe761929467607f5e783be9e
2019-04-04 16:16:07 +00:00
TreeHugger Robot
650b3724c6 Merge "Update adaptive sleep setting with the latest copy" 2019-04-04 15:51:57 +00:00
Rich Cannings
40994b00af [automerger skipped] Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte[]" into pi-dev am: 5d9189fab2 -s ours am: 44427259e8
am: 4afd567d8d -s ours
am skip reason: subject contains skip directive

Change-Id: I0734c123fb365bccad8bdd124ada568e46e963d3
2019-04-04 00:42:25 -07:00
Rich Cannings
4afd567d8d [automerger skipped] Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte[]" into pi-dev am: 5d9189fab2 -s ours
am: 44427259e8

Change-Id: I6dd5016aa9636457b740f92f3770e5b5a69d4c78
2019-04-04 00:39:11 -07:00
Rich Cannings
b8c09d9bc2 [automerger skipped] DO NOT MERGE Refactor passwords/pins/patterns to byte[] am: 34042bbf1d -s ours am: 2095ac82c4
am: 303429eb26 -s ours
am skip reason: subject contains skip directive

Change-Id: I8b275f8c7e6fc3bd9a86c0a442aba3009521cc6f
2019-04-04 00:37:12 -07:00
Rich Cannings
44427259e8 [automerger skipped] Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte[]" into pi-dev
am: 5d9189fab2 -s ours
am skip reason: subject contains skip directive

Change-Id: Id431f40576a5375d541b4b41d2880ac0c9ac7519
2019-04-04 00:17:57 -07:00
Rich Cannings
303429eb26 [automerger skipped] DO NOT MERGE Refactor passwords/pins/patterns to byte[] am: 34042bbf1d -s ours
am: 2095ac82c4

Change-Id: I124662fa7bd0513fea6f7b8a6b2330835c6c386b
2019-04-04 00:13:15 -07:00
Rich Cannings
2095ac82c4 [automerger skipped] DO NOT MERGE Refactor passwords/pins/patterns to byte[]
am: 34042bbf1d -s ours
am skip reason: subject contains skip directive

Change-Id: I903bcc9500ea4732fdacd9f7c77538ba8390f34d
2019-04-03 23:56:43 -07:00
Rich Cannings
a620754b87 [automerger skipped] Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte[]" into pi-dev am: 5d9189fab2
am: 3ac6fd041a -s ours
am skip reason: subject contains skip directive

Change-Id: I6871f8ddc5ee697bc0fa3251c6b36f6cc27e2653
2019-04-03 19:44:21 -07:00
Rich Cannings
3ac6fd041a Merge "DO NOT MERGE Refactor passwords/pins/patterns to byte[]" into pi-dev
am: 5d9189fab2

Change-Id: I03c009dfae16e86c9e27f7dfef568b7f5948f2ac
2019-04-03 19:13:43 -07:00
Christine Franks
0ffaf2ae25 Merge "Use CDS display white balance getter and setter" 2019-04-04 01:38:46 +00:00
Bill Rassieur
4cb74a9b54 Merge master@5428150 into git_qt-dev-plus-aosp.
am: 367625d5c1

Change-Id: I5943f2838184ba71ceacc05cb271500eacace6e3
2019-04-03 18:07:50 -07:00
Michael Groover
d1ead6d76c Merge "Use Settings instead of DeviceConfig to relax device ID dev option" 2019-04-04 00:28:01 +00:00
Xiangyu/Malcolm Chen
14b8b27f1c [automerger skipped] Merge "Clean up a few names of Telephony intent extra." am: 6bb737c5b9 am: 681bf8a664
am: 37683154b4 -s ours
am skip reason: change_id I5d47b132abb722282bd10b9fbb362fb1f1d32f11 with SHA1 f2fca31c51 is in history

Change-Id: I8d45b26d7863190ddf51a8e8a5e86b4acfbde816
2019-04-03 17:15:19 -07:00
Bill Rassieur
52ab4c895f Merge master@5406228 into git_qt-dev-plus-aosp.
am: d09106b207

Change-Id: I9de6ed0dae680c55f3f1396cb8fbc95c6a77f9a3
2019-04-03 16:59:32 -07:00
Xiangyu/Malcolm Chen
37683154b4 Merge "Clean up a few names of Telephony intent extra." am: 6bb737c5b9
am: 681bf8a664

Change-Id: I8576bf49c27620f873c501d3bf837ec0b0b3e679
2019-04-03 16:50:20 -07:00
Kevin Chyn
782b7f9919 Merge "Set/Get features with new interface" 2019-04-03 23:46:14 +00:00
Xiangyu/Malcolm Chen
681bf8a664 Merge "Clean up a few names of Telephony intent extra."
am: 6bb737c5b9

Change-Id: I1a2232458ab8fd4a89c1ada1e5195bf346e31074
2019-04-03 16:25:05 -07:00
Xiangyu/Malcolm Chen
6bb737c5b9 Merge "Clean up a few names of Telephony intent extra." 2019-04-03 23:06:47 +00:00
jackqdyulei
acacaf44d3 Customized Wifi calling text
This only fixed in old page from aosp/777974. We need to migrate
it to new preference controller

Fixes: 117257109
Test: Manual
Change-Id: I257be10d7cc1fc4a91ee0df404dd69b4d2ee8ae2
2019-04-03 15:54:48 -07:00
Lei Yu
e4f64e5c0c Merge "Move telephony method to worker thread" 2019-04-03 22:45:28 +00:00
jackqdyulei
6db1440a0a Move telephony method to worker thread
Get bug complaining it blocks UI even though it works fine some devices.
This CL moves methods to worker thread and keep progressbar
shown at least for 1 second, to avoid janky UI.

Fixes: 129329645
Test: RunSettingsRoboTests
Change-Id: Iee51949b7f6dfe2ede0fc4e6cd0f7b96d7199081
2019-04-03 22:45:07 +00:00
Michael Groover
60c80bb295 Use Settings instead of DeviceConfig to relax device ID dev option
The 'Disable device identifier restrictions' developer option
currently uses DeviceConfig to set whether the new access
restrictions should be disabled. However this API now requires
the WRITE_DEVICE_CONFIG permission and should only be used from
the server side. This change modifies the developer option to use the
Settings to relax the device identifier check, and the option will
be hidden if the new restrictions have been disabled from the server.

Bug: 129888611
Test: Manually verified device ID check was relaxed with option
      enabled. Also verified option is not displayed if DeiviceConfig
      option is set.

Change-Id: Id8759f2219e702c1f93a638d45ac99bce685383b
2019-04-03 15:28:34 -07:00
Alex Salo
fdeb07c05b Update adaptive sleep setting with the latest copy
Bug: 129352433
Change-Id: I3c9594f9ed49208ef1d7bbc33e8083a0c733b1f8
Test: manually confirmed it works and looks correct
2019-04-03 22:27:58 +00:00
Chen Xu
5a9f447300 Merge "SDK API doesSwitchModemConfigTriggerReboot" 2019-04-03 22:17:46 +00:00
TreeHugger Robot
d4f24dd9a9 Merge "Add tests for ContextualCardManager." 2019-04-03 22:07:38 +00:00
Kevin Chyn
856b34dabc Set/Get features with new interface
Bug: 127382095

Test: Builds
Change-Id: Ideb252989a49eec88b8ee7f3ce6ea4f9d85bb3bc
2019-04-03 14:53:28 -07:00
TreeHugger Robot
3205d9405d Merge "Add tests for ContextualCardsAdapter." 2019-04-03 21:17:45 +00:00
TreeHugger Robot
67c9f40278 Merge "Add a flashlight handler activity to support indexability." 2019-04-03 20:48:23 +00:00
TreeHugger Robot
fbd53d21e6 Merge "Disable "Battery dialog" for default apps" 2019-04-03 20:41:21 +00:00
TreeHugger Robot
1382660313 Merge "Convert xml based API allowDynamicSummaryInSlice to java" 2019-04-03 19:42:25 +00:00
Fan Zhang
03dd39c92a Add a flashlight handler activity to support indexability.
Fixes: 128465925
Fixes: 123711093
Test: reindex
Change-Id: Ie082e65ee070f6143c4c65db3f70615b16af0e52
2019-04-03 12:16:33 -07:00
chen xu
4f379d290b SDK API doesSwitchModemConfigTriggerReboot
Bug: 129424775
Change-Id: I95045f8e2c572a9ee7e8f402568e72ac02a2d1be
2019-04-03 10:31:19 -07:00
clownshen
fafdfea72c Add Wi-Fi data usage field
Add Wi-Fi data usage field at Wi-Fi Setting to show out the total Wi-Fi
data usage for user.

Bug: 129474341
Test: atest WifiSettingsTest
Test: manual test
Change-Id: Iad5bee47bd83ed143a2730f042d77907344f4017
2019-04-03 17:04:36 +00:00
Cn Chen
3c7c6ae28f Merge "Pass back number of fingerprint enrolled from settings to SUW" 2019-04-03 15:36:47 +00:00
TreeHugger Robot
a41fb1867d Merge "Remove unused method from NotificationChannelSlice" 2019-04-03 11:47:38 +00:00
Yi-Ling Chuang
dbc2bb9ba5 Add tests for ContextualCardsAdapter.
Fixes: 114307549
Test: robotests
Change-Id: I6ce023bf97c9f7b3c709bda2aa991a349c7aa825
2019-04-03 19:12:47 +08:00
Jason Chiu
95667e5ea6 Merge "Micro cleanup and refactoring" 2019-04-03 10:26:48 +00:00