Commit Graph

52667 Commits

Author SHA1 Message Date
Amit Mahajan
355340fd7e Merge "Allow renaming inactive subscriptions." into qt-dev
am: d133a026cd

Change-Id: Ic4d5cc450923ed422ef97761c8a16303a81268dc
2019-05-29 11:28:42 -07:00
TreeHugger Robot
d133a026cd Merge "Allow renaming inactive subscriptions." into qt-dev 2019-05-29 18:16:40 +00:00
Yi Jiang
7605494cc5 Adds contextual cards for screen attention in Settings Homepage
Bug: 128527964
Test: atest ContextualAdaptiveSleepSliceTest, maually verified.
Change-Id: Ifaea7d8d4391e91cf6cbde38a2506728f55913d8
2019-05-29 10:37:11 -07:00
Julia Reynolds
ea147d788d Merge "Add snooze notification setting" into qt-dev am: b8f7db90ce
am: 75034e5c20

Change-Id: Ica0a52e8c09471df96c414254fbcc90eae33f2b3
2019-05-29 10:26:19 -07:00
Evan Laird
b18ec1958a Change title to "Alerting"
Test: visual
Fixes: 133825282
Change-Id: I08c58328eafdc37ba993d5189c8830e2c00115e6
2019-05-29 13:19:37 -04:00
Julia Reynolds
75034e5c20 Merge "Add snooze notification setting" into qt-dev
am: b8f7db90ce

Change-Id: I2059c7ac5ae2922bba2c3d22413b21ed0ee60979
2019-05-29 10:15:46 -07:00
Mill Chen
750fd083b2 Merge "Add EID as a synonym to SIM status" into qt-dev am: 994d7d63d3
am: 9ebf7e8ece

Change-Id: If63fdce6d7fd36d5fc4af242bc470e8c96fe2edb
2019-05-29 10:08:12 -07:00
Mill Chen
9ebf7e8ece Merge "Add EID as a synonym to SIM status" into qt-dev
am: 994d7d63d3

Change-Id: I7df67710b59ff6d6d0ae25c8665c8b44a6b1860b
2019-05-29 10:04:32 -07:00
TreeHugger Robot
b8f7db90ce Merge "Add snooze notification setting" into qt-dev 2019-05-29 17:03:32 +00:00
Tsung-Mao Fang
fee493adeb Revert "Tweak title for "App content"" am: 685d247730
am: 6705e45ca6

Change-Id: Ieebc3577674f4fcfc1fa5ab30d75c60fd5b263e8
2019-05-29 10:00:41 -07:00
Tsung-Mao Fang
6705e45ca6 Revert "Tweak title for "App content""
am: 685d247730

Change-Id: I32054bc26328ae66e2f3baa42ef8794476337e86
2019-05-29 09:48:52 -07:00
TreeHugger Robot
994d7d63d3 Merge "Add EID as a synonym to SIM status" into qt-dev 2019-05-29 16:48:23 +00:00
Pavel Grafov
b49eb4348a Make work challenge pattern resizeable.
Currently in split-screen mode if work challenge window is made too narrow,
the dots of the pattern will go beyond window/screen boundaries. This change
makes pattern behave in the same way as primary profile pattern does, see
confirm_lock_pattern_normal.xml

Fixes: 133135598
Test: manual, resizing work challenge in portrait and landscape.
Change-Id: I40649911c2b7c587bf0b7e4a5c0449a5c2b7abb0
2019-05-29 14:41:33 +01:00
Tsung-Mao Fang
685d247730 Revert "Tweak title for "App content""
This reverts commit a00e725b0a.

Reason for revert: The string change only for Google Settings instead of
AOSP.

Test: visual
Bug: 133370964

Change-Id: Ib21bff1abc2fd169f957f10154914f85c71d22d1
2019-05-29 17:19:36 +08:00
Mill Chen
a5bbb26dfe Add EID as a synonym to SIM status
We can't use EID as keyword to search for it because EID info is located
in the SIM status dialog in which it's not searchable. EID is added as a
synonym of SIM status to support its search result.

Fixes: 133801685
Test: Settings > Search settings > type "eid"
      then will show "SIM status" search result
Change-Id: I03b49bf6f2951c468440f635d7b211266bb00d83
2019-05-29 07:36:38 +00:00
Yi-Ling Chuang
bef25b52fb Load wallpaper colors in a background thread.
In WallpaperManagerService, it takes some time to load wallpaper colors
from image wallpapers since bitmap decoding will be involved. This will
block the UI thread and lead to app launch latency. So here we are
making it in another thread to avoid this.

Bug: 133396959
Test: robotest, reboot phone and look at boot trace
Change-Id: Ibd1952a4bf10431ba4be4dd69634d64354670daa
2019-05-29 12:02:12 +08:00
Roshan Pius
420d742cd6 Merge "Developer settings: Disable wifi scan throttling" into qt-dev am: 7b2897ff93
am: 0fbbad92f9

Change-Id: Ic1f2742209a59f1e30db7d272e10f38eaaac8493
2019-05-28 16:31:29 -07:00
Roshan Pius
0fbbad92f9 Merge "Developer settings: Disable wifi scan throttling" into qt-dev
am: 7b2897ff93

Change-Id: Idae682080e9d4ca0151132fbbcf23f3280f72d3f
2019-05-28 16:25:30 -07:00
Amin Shaikh
be0002232e Merge "Remove theming developer settings." into qt-r1-dev
am: aa3ae7291a

Change-Id: Ife40a74dfa89279aba3cf10a79fe7c6044824344
2019-05-28 16:25:06 -07:00
TreeHugger Robot
aa3ae7291a Merge "Remove theming developer settings." into qt-r1-dev 2019-05-28 23:20:22 +00:00
Roshan Pius
7b2897ff93 Merge "Developer settings: Disable wifi scan throttling" into qt-dev 2019-05-28 23:13:03 +00:00
Amit Mahajan
e0285703b2 Allow renaming inactive subscriptions.
Test: manual
Bug: 132922483
Change-Id: I30b4b88ddf53b917081a57bd9a917a51b4b44ec6
2019-05-28 16:03:55 -07:00
Antony Sargent
c6e07c61d0 Switch to using an intent for eSIM erasing
We initially landed support for erasing an eSIM subscription in
ag/7208624 for b/124254555 using our own confirmation/progress UI, and
calling the EuiccManager.deleteSubscription method to do the
deletion. It turns out this is a low-level API which doesn't handle some
important cases such as subscription grouping or the eSIM slot not being
active.

This CL changes Settings to just launch an intent to begin an eSIM
Manager flow to delete a subscription that provides its own
confirmation/progress UI, and should properly handle subscription
grouping and making the eSIM slot active as needed.

Bug: 132114333
Test: make RunSettingsRoboTests
Change-Id: Ie59fea37fa73c5e6573e1181e271ffb5d453bd08
2019-05-28 15:31:51 -07:00
Antony Sargent
f880b098ac Merge "Add signal strength icons to multi-SIM header" into qt-dev am: 42c451610e
am: d7bcf57ed8

Change-Id: Ida8e91d65ebee421ab899b5d5199c911d6dfe1e8
2019-05-28 15:06:03 -07:00
Antony Sargent
d7bcf57ed8 Merge "Add signal strength icons to multi-SIM header" into qt-dev
am: 42c451610e

Change-Id: Ice796e09d1821dedb0ad00ff8218afd1be205374
2019-05-28 14:58:09 -07:00
TreeHugger Robot
42c451610e Merge "Add signal strength icons to multi-SIM header" into qt-dev 2019-05-28 21:54:12 +00:00
tmfang
5fc70637d3 Merge "Tweak title for "App content"" into qt-dev am: e40b0f7b8a
am: f3327de8af

Change-Id: I5cc4c19cf855b50afb4d4b889286dd05305eb5ac
2019-05-28 13:53:58 -07:00
tmfang
f3327de8af Merge "Tweak title for "App content"" into qt-dev
am: e40b0f7b8a

Change-Id: Ic5b178957533091e409fbd1bf84807ab7cac3193
2019-05-28 13:48:29 -07:00
TreeHugger Robot
e40b0f7b8a Merge "Tweak title for "App content"" into qt-dev 2019-05-28 20:31:51 +00:00
Fan Zhang
a61902963b Merge "Fix transparent view issue in page "Erase all data"" into qt-dev am: 317597ae6a
am: 7c96c6549a

Change-Id: I2c197d0e68e5ad1039b7b4d03aaecc14a30055af
2019-05-28 12:50:58 -07:00
Antony Sargent
223c179cd3 Add signal strength icons to multi-SIM header
When a device is in DSDS mode with multiple SIMs, we show a header on
the Network & internet page with a "connectivity overview", with an
entry for Wi-Fi (if connected) and each active SIM. The icon for Wi-Fi
shows signal strength, but the icons for the active SIMs were just
static; this CL fixes that. It introduces a class for listening to
signal strength changes on a set of subscriptions, and moves some
existing code we had for displaying signal strength (when manually
picking networks for GSM) in NetworkOperatorPreference into a utility
method that can be shared.

Bug: 128855095
Test: make RunSettingsRoboTests
Change-Id: I668cafe1e9f9c3651b1f33783c8538ad9c2732b5
2019-05-28 12:49:08 -07:00
Fan Zhang
7c96c6549a Merge "Fix transparent view issue in page "Erase all data"" into qt-dev
am: 317597ae6a

Change-Id: I916dbbaf83c153e66686db2a8a83e2fb0edd16cc
2019-05-28 12:39:11 -07:00
Fan Zhang
317597ae6a Merge "Fix transparent view issue in page "Erase all data"" into qt-dev 2019-05-28 19:23:54 +00:00
Mehdi Alizadeh
c4d4307d15 Merge "Adds string resources for gesture not supported dialog" into qt-dev am: 7009b21d74
am: facec6bc87

Change-Id: I4d6c5c9be32027cede573063cf191cf8071f8be5
2019-05-28 11:45:58 -07:00
Mehdi Alizadeh
facec6bc87 Merge "Adds string resources for gesture not supported dialog" into qt-dev
am: 7009b21d74

Change-Id: If52a8ca219c7dcdfb89405910b86f7b1c8ee2e54
2019-05-28 11:33:58 -07:00
Mehdi Alizadeh
7009b21d74 Merge "Adds string resources for gesture not supported dialog" into qt-dev 2019-05-28 18:16:27 +00:00
Julia Reynolds
7708b5a098 Merge "Move priorization setting to dev options" into qt-dev am: 64f229d32b
am: 67471c290a

Change-Id: Iaba377c7820665fc55b8191a1437aa4a0b453fde
2019-05-28 10:14:06 -07:00
Julia Reynolds
67471c290a Merge "Move priorization setting to dev options" into qt-dev
am: 64f229d32b

Change-Id: I17f48bbdea860e1b8e4b333f2370d446e906eaa9
2019-05-28 10:08:48 -07:00
TreeHugger Robot
64f229d32b Merge "Move priorization setting to dev options" into qt-dev 2019-05-28 16:59:35 +00:00
Fan Zhang
5d30954de5 Merge "Fix overlapping problem in AlertDialog" into qt-dev am: 574679ace4
am: 326f60b6bc

Change-Id: I224b07f78222b08d218a8491dfd8a5bba2d3463a
2019-05-28 09:58:27 -07:00
Fan Zhang
326f60b6bc Merge "Fix overlapping problem in AlertDialog" into qt-dev
am: 574679ace4

Change-Id: I1a39f1596c9148bd3e970c443d2d4dd0bdff0080
2019-05-28 09:49:28 -07:00
Yanting Yang
156b3f3e2d Fix transparent view issue in page "Erase all data"
This issue was impacted by edge-to-edge changed b/132182711, that
disabled android:clipToPadding and android:clipChildren from
Theme.Settings. Add a customized theme to enable them for GlifLayout to
fix transparent issue.

Fixes: 133451030
Test: visual
Change-Id: Id5a69c937a291eec10fc6255607632e877f8a8ce
2019-05-29 00:33:02 +08:00
Fan Zhang
574679ace4 Merge "Fix overlapping problem in AlertDialog" into qt-dev 2019-05-28 16:32:23 +00:00
Mill Chen
fb72f38c58 Fix overlapping problem in AlertDialog
Because clipChildren and clipToPadding by default are set to false in
the Settings, this will cause the strings overlapping with the title
of AlertDialog. These 2 attributes in the Theme.AlertDialog are set to
true to fix this problem.

Fixes: 133731437
Test: visual
Change-Id: I57ea48ac97c64dac6dfeec711daf4f40dc131ff6
2019-05-28 16:31:56 +00:00
Julia Reynolds
ada3676b2d Move priorization setting to dev options
Under the other notif channel setting

Test: atest
Fixes: 133747537
Change-Id: I22fcf348b2070758a752babe64fe2af60fbe95a4
2019-05-28 15:33:22 +00:00
Julia Reynolds
3562c97441 Add snooze notification setting
Test: atest
Bug: 133494458
Change-Id: I3c0534860aaeb374384c4e30764313b1cb83c82a
2019-05-28 10:40:53 -04:00
Roshan Pius
260e79ef34 Developer settings: Disable wifi scan throttling
Add a new developer settings toggle to allow users to
toggle wifi scan throttling off.

Bug: 112825565
Test: atest com.android.settings.development
Test: Manual verification of the new switch.
Change-Id: I1d8c149305ca92957c7d1b9f28497291ca8b2bf7
2019-05-28 07:37:24 -07:00
Alan Stokes
121eaa7d3e Cleanup background activity starts for release.
This removes the parts of the feature that were only needed in beta
releases:
- Develper setting to force feature on or off.

Not to be submitted until after beta 5 is cut.

Bug: 131747138
Test: Still builds, developer settings still works.

Change-Id: I573761174317797aeb4df97cf1a2b1ce005c0715
2019-05-28 09:31:12 +01:00
Raff Tsai
21f7ab787e Merge "Fix failed test case" into qt-dev am: fb28f92f71
am: 08b3d016f4

Change-Id: I5ae8e24f39e0c6f1e545145c51a5c57ab91c6ecc
2019-05-27 09:52:29 -07:00
Raff Tsai
e2ec0a0015 Fix icon color in dark mode am: e30f61f739
am: 73cda7c700

Change-Id: I69dea86b2c89e0ebd6f6ef66e553b441e76e0e05
2019-05-27 09:52:10 -07:00