OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Add generateChallenge() in onResume()" into qt-r1-dev
TreeHugger Robot [Fri, 31 May 2019 00:52:11 +0000 (00:52 +0000)]
Merge "Add generateChallenge() in onResume()" into qt-r1-dev

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Fri, 31 May 2019 00:42:52 +0000 (17:42 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: d1ddb16617 -s ours
am skip reason: subject contains skip directive

Change-Id: I86d2ea6736d4765940832bd48b4d37a9bb5046b7

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 00:30:42 +0000 (00:30 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "String update." into qt-r1-dev
Joshua Mccloskey [Thu, 30 May 2019 23:12:53 +0000 (23:12 +0000)]
Merge "String update." into qt-r1-dev

5 years agoMerge "Adds contextual cards for screen attention in Settings Homepage" into qt-r1-dev
Alex Salo [Thu, 30 May 2019 22:59:12 +0000 (22:59 +0000)]
Merge "Adds contextual cards for screen attention in Settings Homepage" into qt-r1-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 May 2019 22:17:06 +0000 (15:17 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6da271a883e0a62cc5f32890c3411e64ef856fa7

5 years agoMerge "Increase char limit to 60 for string translation" into qt-dev
Mehdi Alizadeh [Thu, 30 May 2019 22:16:16 +0000 (15:16 -0700)]
Merge "Increase char limit to 60 for string translation" into qt-dev
am: 178d4a7f8f

Change-Id: I8369dc9dc525652253f4d5a8945725b09268470c

5 years agoMerge "Increase char limit to 60 for string translation" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 22:04:47 +0000 (22:04 +0000)]
Merge "Increase char limit to 60 for string translation" into qt-dev

5 years agoAdd generateChallenge() in onResume()
Ilya Matyukhin [Thu, 30 May 2019 18:37:15 +0000 (11:37 -0700)]
Add generateChallenge() in onResume()

Fixes: 133498264
Fixes: 133440610
Test: open FaceSettings from Settings with and without an enrolled face
Test: open FaceSettings from the notification that asks to re-enroll
Change-Id: I80ca7644f96a538614962232fb3951d1a91d87c7

5 years agoMerge "Change notification alert icon" into qt-dev
Julia Reynolds [Thu, 30 May 2019 21:11:52 +0000 (14:11 -0700)]
Merge "Change notification alert icon" into qt-dev
am: 2821456995

Change-Id: I7b38e88e702ce91162f29592c69dcc4f8612181d

5 years agoMerge "Change notification alert icon" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 20:51:49 +0000 (20:51 +0000)]
Merge "Change notification alert icon" into qt-dev

5 years agoMerge "Add SIM color picker" into qt-dev
Christine Franks [Thu, 30 May 2019 20:20:46 +0000 (13:20 -0700)]
Merge "Add SIM color picker" into qt-dev
am: b747c5c270

Change-Id: Ia234bd596017cf98dd5a76202c6fe7af486562f4

5 years agoMerge "Add SIM color picker" into qt-dev
Christine Franks [Thu, 30 May 2019 20:01:48 +0000 (20:01 +0000)]
Merge "Add SIM color picker" into qt-dev

5 years agoMerge "Fix a11y readout of notification importance buttons" into qt-dev
Julia Reynolds [Thu, 30 May 2019 19:09:22 +0000 (12:09 -0700)]
Merge "Fix a11y readout of notification importance buttons" into qt-dev
am: 1b25f986cb

Change-Id: Ia42d67cab34dfb380d5be909f22f717f8ecfd5b6

5 years agoMerge "Fix a11y readout of notification importance buttons" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 18:53:57 +0000 (18:53 +0000)]
Merge "Fix a11y readout of notification importance buttons" into qt-dev

5 years agoChange notification alert icon
Julia Reynolds [Thu, 30 May 2019 18:47:07 +0000 (14:47 -0400)]
Change notification alert icon

Test: manual
Bug: 134054170
Change-Id: Ibd66a55a30ac9fbeb7a32638fe236067c6175bc4

5 years agoMerge "Profile select only shows with multiple profiles present." into qt-r1-dev
TreeHugger Robot [Thu, 30 May 2019 18:32:54 +0000 (18:32 +0000)]
Merge "Profile select only shows with multiple profiles present." into qt-r1-dev

5 years agoMerge "Load wallpaper colors in a background thread." into qt-dev
Yi-Ling Chuang [Thu, 30 May 2019 18:24:31 +0000 (11:24 -0700)]
Merge "Load wallpaper colors in a background thread." into qt-dev
am: 7b332d981d

Change-Id: I97aea80bd414e26a443d549fcf0cdc93e07b58db

5 years agoMerge "Update SliceView when slice is null" into qt-dev
Lei Yu [Thu, 30 May 2019 18:00:45 +0000 (11:00 -0700)]
Merge "Update SliceView when slice is null" into qt-dev
am: f32025a17d

Change-Id: I3ada32a9c34ded2d1324228314272030b6f6b489

5 years agoMerge "Load wallpaper colors in a background thread." into qt-dev
TreeHugger Robot [Thu, 30 May 2019 17:59:54 +0000 (17:59 +0000)]
Merge "Load wallpaper colors in a background thread." into qt-dev

5 years agoString update.
joshmccloskey [Wed, 29 May 2019 03:19:46 +0000 (20:19 -0700)]
String update.

Test: Manual.
Bug: 133783098
Change-Id: If8ea2b6c9372a3da02b93b815f76e3143cc54dea

5 years agoMerge "Update SliceView when slice is null" into qt-dev
Lei Yu [Thu, 30 May 2019 17:38:59 +0000 (17:38 +0000)]
Merge "Update SliceView when slice is null" into qt-dev

5 years agoMerge "Make work challenge pattern resizeable." into qt-dev
Pavel Grafov [Thu, 30 May 2019 16:06:07 +0000 (09:06 -0700)]
Merge "Make work challenge pattern resizeable." into qt-dev
am: caa3b34243

Change-Id: I6ec27069266c2efcea3aa6fcfb08a8298eaad00a

5 years agoFix a11y readout of notification importance buttons
Julia Reynolds [Thu, 30 May 2019 14:31:40 +0000 (10:31 -0400)]
Fix a11y readout of notification importance buttons

Test: manual with TB
Bug: 134047401
Change-Id: Idab3426a37ed3f25c2cde47e0747ac9a31850f62

5 years agoMerge "Make work challenge pattern resizeable." into qt-dev
Pavel Grafov [Thu, 30 May 2019 13:38:22 +0000 (13:38 +0000)]
Merge "Make work challenge pattern resizeable." into qt-dev

5 years agoMerge "Fix IllegalArgumentException in AudioHelper" into qt-dev
Raff Tsai [Thu, 30 May 2019 09:57:00 +0000 (02:57 -0700)]
Merge "Fix IllegalArgumentException in AudioHelper" into qt-dev
am: fde0bee473

Change-Id: I979bf482e49c1961b68c9d1f29f2fd4a7d53368c

5 years agoMerge "Fix IllegalArgumentException in AudioHelper" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 09:39:33 +0000 (09:39 +0000)]
Merge "Fix IllegalArgumentException in AudioHelper" into qt-dev

5 years agoFix IllegalArgumentException in AudioHelper
Raff Tsai [Wed, 29 May 2019 22:39:39 +0000 (06:39 +0800)]
Fix IllegalArgumentException in AudioHelper

Audio streams for phone calls in BT device (STREAM_VOICE_CALL) is not
supported in AudioManager.getStreamMinVolume(), fallback to use
STREAM_VOICE_CALL

Fixes: 133812547
Test: make RunSettingsRoboTests
Change-Id: I8e330f60bae2a7cf9cd0cf7288076b8320ccc504

5 years agoMerge "Fix the crash while tapping "app data usage" as second user" into qt-dev
Sunny Shao [Thu, 30 May 2019 07:00:22 +0000 (00:00 -0700)]
Merge "Fix the crash while tapping "app data usage" as second user" into qt-dev
am: 3d16fc9519

Change-Id: I9bd04562a2d86e80c5401434eef5c45baaa6be87

5 years agoMerge "Add setting to bypass lock screen" into qt-r1-dev
Lucas Dupin [Thu, 30 May 2019 06:50:17 +0000 (06:50 +0000)]
Merge "Add setting to bypass lock screen" into qt-r1-dev

5 years agoMerge "Fix the crash while tapping "app data usage" as second user" into qt-dev
TreeHugger Robot [Thu, 30 May 2019 06:37:12 +0000 (06:37 +0000)]
Merge "Fix the crash while tapping "app data usage" as second user" into qt-dev

5 years agoIncrease char limit to 60 for string translation
Mehdi Alizadeh [Thu, 30 May 2019 03:21:03 +0000 (20:21 -0700)]
Increase char limit to 60 for string translation

Bug: 133862422
Test: None
Change-Id: I3fa6705a6657c5aa65e496cba2ce470fb558a45f

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:49:31 +0000 (18:49 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-dev am: 811229a2fd am: fd058ab872 -s ours am: 3fb5933880 -s ours am: 08672ec74e -s ours
am: dd7de36bbc -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 fe86a2a51f is in history

Change-Id: Ifac0cbe2dfe1b76012bf0d7a182f4eeca69a0e06

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:44:27 +0000 (18:44 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-dev am: 811229a2fd am: fd058ab872 -s ours am: 3fb5933880 -s ours
am: 08672ec74e -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 fe86a2a51f is in history

Change-Id: I1f06a8e5c931e789518ea1a751a93ecfc73a9090

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:40:47 +0000 (18:40 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-mr1-dev am: b95361ab60 -s ours am: 8837b15f78 -s ours
am: 93aed56281 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 fe86a2a51f is in history

Change-Id: I4f9a572f60d6233d55a3ef973c34c85b33700fdd

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:40:29 +0000 (18:40 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-dev am: 811229a2fd am: fd058ab872 -s ours
am: 3fb5933880 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 9fa8329b02 is in history

Change-Id: I68b1c3e845c9f8cff305583b6cd19869e36cc027

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:35:24 +0000 (18:35 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-dev am: 811229a2fd
am: fd058ab872 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 e4800786cf is in history

Change-Id: I7fbd29f4d72fda672e986f12d17e37bee1b89e4b

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:33:23 +0000 (18:33 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-mr1-dev am: b95361ab60 -s ours
am: 8837b15f78 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 fe86a2a51f is in history

Change-Id: Iaee4509328c45e5405edc1bae475d2e1cf5f4ba7

5 years agoMerge "Do not allow draw on top for App notification settings" into oc-dev
Raff Tsai [Thu, 30 May 2019 01:30:24 +0000 (18:30 -0700)]
Merge "Do not allow draw on top for App notification settings" into oc-dev
am: 811229a2fd

Change-Id: Ie5ed40b8f573b974850234987bacc5ae7db925a4

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 01:28:27 +0000 (18:28 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into oc-mr1-dev
am: b95361ab60 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 9fa8329b02 is in history

Change-Id: I66e6f4f24bd7349db363f28f0462d16825e544c8

5 years agoMerge "Do not allow draw on top for App notification settings" into oc-dev
TreeHugger Robot [Thu, 30 May 2019 01:14:19 +0000 (01:14 +0000)]
Merge "Do not allow draw on top for App notification settings" into oc-dev

5 years agoMerge "Do not allow draw on top for App notification settings" into oc-mr1-dev
TreeHugger Robot [Thu, 30 May 2019 01:11:01 +0000 (01:11 +0000)]
Merge "Do not allow draw on top for App notification settings" into oc-mr1-dev

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 00:31:57 +0000 (17:31 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into pi-dev am: 4d01717c14 -s ours
am: d08b633e28 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 fe86a2a51f is in history

Change-Id: Ic89de10d4c3e242a5b5cc442804d26ffbbe8ed72

5 years ago[automerger skipped] Merge "Do not allow draw on top for App notification settings...
Raff Tsai [Thu, 30 May 2019 00:28:49 +0000 (17:28 -0700)]
[automerger skipped] Merge "Do not allow draw on top for App notification settings" into pi-dev
am: 4d01717c14 -s ours
am skip reason: change_id Ib7b878a23b4a99171c58b5de992fb87feca8a28a with SHA1 fe86a2a51f is in history

Change-Id: Ifb49814e6f18d000aafb89652ce26e5469ef0fb5

5 years agoMerge "Do not allow draw on top for App notification settings" into pi-dev
TreeHugger Robot [Thu, 30 May 2019 00:15:17 +0000 (00:15 +0000)]
Merge "Do not allow draw on top for App notification settings" into pi-dev

5 years agoAdd SIM color picker
Christine Franks [Fri, 24 May 2019 17:52:55 +0000 (10:52 -0700)]
Add SIM color picker

Bug: 133193155
Test: make ROBOTEST_FILTER="(RenameMobileNetwork*)" RunSettingsRoboTests -j48

Change-Id: Ifae8b77bc5b4ba1039ede70889468a018f57d78f

5 years agoAdd setting to bypass lock screen
Lucas Dupin [Wed, 29 May 2019 00:58:07 +0000 (17:58 -0700)]
Add setting to bypass lock screen

Test: manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER=LockscreenBypassPreferenceControllerTest
Bug: 130327302
Change-Id: I324c6e384480fa8576ba58d0bf73c1ef20484ee0

5 years agoFix the crash while tapping "app data usage" as second user
Sunny Shao [Mon, 27 May 2019 03:55:34 +0000 (11:55 +0800)]
Fix the crash while tapping "app data usage" as second user

Second user or guest is limited some mobile network access. We need to check current user
is admin or not to decide the preferece page will be found in search or not.

Bug: 133466016
Fixes: 133466016
Test: Manual test & make RunSettingsRoboTests -j56 ROBOTEST_FILTER=com.android.settings.network

Change-Id: I48d3064a8aa28ac1f2ac699b42a999b9682b1b52

5 years agoProfile select only shows with multiple profiles present.
Adam He [Wed, 29 May 2019 21:21:33 +0000 (14:21 -0700)]
Profile select only shows with multiple profiles present.

Bug: 133328247
Change-Id: Id5d03a1aa74f1789c41af37562848603a90db84f
Test: manual verification

5 years agoMerge "Switch to using an intent for eSIM erasing" into qt-dev
Antony Sargent [Wed, 29 May 2019 20:16:31 +0000 (13:16 -0700)]
Merge "Switch to using an intent for eSIM erasing" into qt-dev
am: f010cb4034

Change-Id: Ic7ab832ec9997bf50d7b9277dfbd9e50adda9517

5 years agoUpdate SliceView when slice is null
Lei Yu [Wed, 29 May 2019 20:11:57 +0000 (13:11 -0700)]
Update SliceView when slice is null

When it is null, we should also update SliceView, so SliceView can
update to be "invisible"

Fixes: 133790296
Test: RunSettingsRoboTests
Change-Id: I239405cce8bcadacbd374ccbb24d0fcbadc04880

5 years agoMerge "Switch to using an intent for eSIM erasing" into qt-dev
TreeHugger Robot [Wed, 29 May 2019 20:02:48 +0000 (20:02 +0000)]
Merge "Switch to using an intent for eSIM erasing" into qt-dev

5 years agoMerge "Change title to "Alerting"" into qt-dev
Evan Laird [Wed, 29 May 2019 19:39:14 +0000 (12:39 -0700)]
Merge "Change title to "Alerting"" into qt-dev
am: c64d41fd98

Change-Id: I9b45e08a54097a5e04f58439a87443902f1c28bf

5 years agoMerge "Change title to "Alerting"" into qt-dev
TreeHugger Robot [Wed, 29 May 2019 19:19:59 +0000 (19:19 +0000)]
Merge "Change title to "Alerting"" into qt-dev

5 years agoMerge "Allow renaming inactive subscriptions." into qt-dev
Amit Mahajan [Wed, 29 May 2019 18:28:42 +0000 (11:28 -0700)]
Merge "Allow renaming inactive subscriptions." into qt-dev
am: d133a026cd

Change-Id: Ic4d5cc450923ed422ef97761c8a16303a81268dc

5 years agoMerge "Allow renaming inactive subscriptions." into qt-dev
TreeHugger Robot [Wed, 29 May 2019 18:16:40 +0000 (18:16 +0000)]
Merge "Allow renaming inactive subscriptions." into qt-dev

5 years agoAdds contextual cards for screen attention in Settings Homepage
Yi Jiang [Tue, 16 Apr 2019 21:51:11 +0000 (14:51 -0700)]
Adds contextual cards for screen attention in Settings Homepage

Bug: 128527964
Test: atest ContextualAdaptiveSleepSliceTest, maually verified.
Change-Id: Ifaea7d8d4391e91cf6cbde38a2506728f55913d8

5 years agoChange title to "Alerting"
Evan Laird [Wed, 29 May 2019 17:19:37 +0000 (13:19 -0400)]
Change title to "Alerting"

Test: visual
Fixes: 133825282
Change-Id: I08c58328eafdc37ba993d5189c8830e2c00115e6

5 years agoMerge "Add snooze notification setting" into qt-dev
Julia Reynolds [Wed, 29 May 2019 17:15:46 +0000 (10:15 -0700)]
Merge "Add snooze notification setting" into qt-dev
am: b8f7db90ce

Change-Id: I2059c7ac5ae2922bba2c3d22413b21ed0ee60979

5 years agoMerge "Add EID as a synonym to SIM status" into qt-dev
Mill Chen [Wed, 29 May 2019 17:04:32 +0000 (10:04 -0700)]
Merge "Add EID as a synonym to SIM status" into qt-dev
am: 994d7d63d3

Change-Id: I7df67710b59ff6d6d0ae25c8665c8b44a6b1860b

5 years agoMerge "Add snooze notification setting" into qt-dev
TreeHugger Robot [Wed, 29 May 2019 17:03:32 +0000 (17:03 +0000)]
Merge "Add snooze notification setting" into qt-dev

5 years agoRevert "Tweak title for "App content""
Tsung-Mao Fang [Wed, 29 May 2019 16:48:52 +0000 (09:48 -0700)]
Revert "Tweak title for "App content""
am: 685d247730

Change-Id: I32054bc26328ae66e2f3baa42ef8794476337e86

5 years agoMerge "Add EID as a synonym to SIM status" into qt-dev
TreeHugger Robot [Wed, 29 May 2019 16:48:23 +0000 (16:48 +0000)]
Merge "Add EID as a synonym to SIM status" into qt-dev

5 years agoMake work challenge pattern resizeable.
Pavel Grafov [Wed, 29 May 2019 13:36:46 +0000 (14:36 +0100)]
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

5 years agoRevert "Tweak title for "App content""
Tsung-Mao Fang [Wed, 29 May 2019 08:27:43 +0000 (08:27 +0000)]
Revert "Tweak title for "App content""

This reverts commit a00e725b0aae876ca44ce6c20271405992e1c33b.

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

Test: visual
Bug: 133370964

Change-Id: Ib21bff1abc2fd169f957f10154914f85c71d22d1

5 years agoAdd EID as a synonym to SIM status
Mill Chen [Wed, 29 May 2019 03:13:09 +0000 (11:13 +0800)]
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

5 years agoLoad wallpaper colors in a background thread.
Yi-Ling Chuang [Tue, 28 May 2019 08:14:08 +0000 (16:14 +0800)]
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

5 years agoMerge "Developer settings: Disable wifi scan throttling" into qt-dev
Roshan Pius [Tue, 28 May 2019 23:25:30 +0000 (16:25 -0700)]
Merge "Developer settings: Disable wifi scan throttling" into qt-dev
am: 7b2897ff93

Change-Id: Idae682080e9d4ca0151132fbbcf23f3280f72d3f

5 years agoMerge "Remove theming developer settings." into qt-r1-dev
TreeHugger Robot [Tue, 28 May 2019 23:20:22 +0000 (23:20 +0000)]
Merge "Remove theming developer settings." into qt-r1-dev

5 years agoMerge "Developer settings: Disable wifi scan throttling" into qt-dev
Roshan Pius [Tue, 28 May 2019 23:13:03 +0000 (23:13 +0000)]
Merge "Developer settings: Disable wifi scan throttling" into qt-dev

5 years agoAllow renaming inactive subscriptions.
Amit Mahajan [Tue, 28 May 2019 23:03:55 +0000 (16:03 -0700)]
Allow renaming inactive subscriptions.

Test: manual
Bug: 132922483
Change-Id: I30b4b88ddf53b917081a57bd9a917a51b4b44ec6

5 years agoSwitch to using an intent for eSIM erasing
Antony Sargent [Tue, 28 May 2019 22:03:23 +0000 (15:03 -0700)]
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

5 years agoMerge "Add signal strength icons to multi-SIM header" into qt-dev
Antony Sargent [Tue, 28 May 2019 21:58:09 +0000 (14:58 -0700)]
Merge "Add signal strength icons to multi-SIM header" into qt-dev
am: 42c451610e

Change-Id: Ice796e09d1821dedb0ad00ff8218afd1be205374

5 years agoMerge "Add signal strength icons to multi-SIM header" into qt-dev
TreeHugger Robot [Tue, 28 May 2019 21:54:12 +0000 (21:54 +0000)]
Merge "Add signal strength icons to multi-SIM header" into qt-dev

5 years agoMerge "Tweak title for "App content"" into qt-dev
tmfang [Tue, 28 May 2019 20:48:29 +0000 (13:48 -0700)]
Merge "Tweak title for "App content"" into qt-dev
am: e40b0f7b8a

Change-Id: Ic5b178957533091e409fbd1bf84807ab7cac3193

5 years agoMerge "Tweak title for "App content"" into qt-dev
TreeHugger Robot [Tue, 28 May 2019 20:31:51 +0000 (20:31 +0000)]
Merge "Tweak title for "App content"" into qt-dev

5 years agoAdd signal strength icons to multi-SIM header
Antony Sargent [Wed, 22 May 2019 21:50:36 +0000 (14:50 -0700)]
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

5 years agoMerge "Fix transparent view issue in page "Erase all data"" into qt-dev
Fan Zhang [Tue, 28 May 2019 19:39:11 +0000 (12:39 -0700)]
Merge "Fix transparent view issue in page "Erase all data"" into qt-dev
am: 317597ae6a

Change-Id: I916dbbaf83c153e66686db2a8a83e2fb0edd16cc

5 years agoMerge "Fix transparent view issue in page "Erase all data"" into qt-dev
Fan Zhang [Tue, 28 May 2019 19:23:54 +0000 (19:23 +0000)]
Merge "Fix transparent view issue in page "Erase all data"" into qt-dev

5 years agoMerge "Adds string resources for gesture not supported dialog" into qt-dev
Mehdi Alizadeh [Tue, 28 May 2019 18:33:58 +0000 (11:33 -0700)]
Merge "Adds string resources for gesture not supported dialog" into qt-dev
am: 7009b21d74

Change-Id: If52a8ca219c7dcdfb89405910b86f7b1c8ee2e54

5 years agoMerge "Adds string resources for gesture not supported dialog" into qt-dev
Mehdi Alizadeh [Tue, 28 May 2019 18:16:27 +0000 (18:16 +0000)]
Merge "Adds string resources for gesture not supported dialog" into qt-dev

5 years agoMerge "Move priorization setting to dev options" into qt-dev
Julia Reynolds [Tue, 28 May 2019 17:08:48 +0000 (10:08 -0700)]
Merge "Move priorization setting to dev options" into qt-dev
am: 64f229d32b

Change-Id: I17f48bbdea860e1b8e4b333f2370d446e906eaa9

5 years agoMerge "Move priorization setting to dev options" into qt-dev
TreeHugger Robot [Tue, 28 May 2019 16:59:35 +0000 (16:59 +0000)]
Merge "Move priorization setting to dev options" into qt-dev

5 years agoMerge "Fix overlapping problem in AlertDialog" into qt-dev
Fan Zhang [Tue, 28 May 2019 16:49:28 +0000 (09:49 -0700)]
Merge "Fix overlapping problem in AlertDialog" into qt-dev
am: 574679ace4

Change-Id: I1a39f1596c9148bd3e970c443d2d4dd0bdff0080

5 years agoFix transparent view issue in page "Erase all data"
Yanting Yang [Fri, 24 May 2019 14:36:32 +0000 (22:36 +0800)]
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

5 years agoMerge "Fix overlapping problem in AlertDialog" into qt-dev
Fan Zhang [Tue, 28 May 2019 16:32:23 +0000 (16:32 +0000)]
Merge "Fix overlapping problem in AlertDialog" into qt-dev

5 years agoFix overlapping problem in AlertDialog
Mill Chen [Tue, 28 May 2019 09:27:03 +0000 (17:27 +0800)]
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

5 years agoMove priorization setting to dev options
Julia Reynolds [Tue, 28 May 2019 14:55:33 +0000 (10:55 -0400)]
Move priorization setting to dev options

Under the other notif channel setting

Test: atest
Fixes: 133747537
Change-Id: I22fcf348b2070758a752babe64fe2af60fbe95a4

5 years agoAdd snooze notification setting
Julia Reynolds [Tue, 28 May 2019 14:38:55 +0000 (10:38 -0400)]
Add snooze notification setting

Test: atest
Bug: 133494458
Change-Id: I3c0534860aaeb374384c4e30764313b1cb83c82a

5 years agoDeveloper settings: Disable wifi scan throttling
Roshan Pius [Fri, 24 May 2019 16:19:12 +0000 (09:19 -0700)]
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

5 years agoMerge "Fix failed test case" into qt-dev
Raff Tsai [Mon, 27 May 2019 16:47:32 +0000 (09:47 -0700)]
Merge "Fix failed test case" into qt-dev
am: fb28f92f71

Change-Id: I4649655d6a97e6a7e4d4641154319628905498ae

5 years agoFix icon color in dark mode
Raff Tsai [Mon, 27 May 2019 16:47:10 +0000 (09:47 -0700)]
Fix icon color in dark mode
am: e30f61f739

Change-Id: I04179fd328a393e8bd5ff891bd86665a8f37cbbb

5 years agoMerge "Fix failed test case" into qt-dev
TreeHugger Robot [Mon, 27 May 2019 16:41:13 +0000 (16:41 +0000)]
Merge "Fix failed test case" into qt-dev

5 years agoFix icon color in dark mode
Raff Tsai [Mon, 27 May 2019 10:32:35 +0000 (18:32 +0800)]
Fix icon color in dark mode

Fixes: 133651524
Test: visual
Change-Id: Ic6f05dc491ad1d49b5cc81e294bf91271420d8e2

5 years agoMerge "Set media router group id to sync cast status" into qt-dev
Kyunglyul Hyun [Mon, 27 May 2019 02:49:23 +0000 (19:49 -0700)]
Merge "Set media router group id to sync cast status" into qt-dev
am: 9d33198dc2

Change-Id: Ia4802bde8e253c542d4aa3b7c59b9771935fc460

5 years agoMerge "Set media router group id to sync cast status" into qt-dev
Kyunglyul Hyun [Mon, 27 May 2019 02:35:27 +0000 (02:35 +0000)]
Merge "Set media router group id to sync cast status" into qt-dev

5 years agoFix failed test case
Raff Tsai [Mon, 27 May 2019 01:33:02 +0000 (09:33 +0800)]
Fix failed test case

Fixes: 133629032
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.core"
Change-Id: I4baf0582a528e3601ca132c15e5078bc0159a352

5 years agoSet media router group id to sync cast status
Kyunglyul Hyun [Fri, 24 May 2019 08:48:54 +0000 (17:48 +0900)]
Set media router group id to sync cast status

Using media router group id, Settings can sync cast status with
Settings.
If Settings begins/stops cast (mirrorring), CastTile can know that and
Settings also knows when CastTile begins cast.

Please refer ag/7669852 to how router group id can be used to
synchronize cast status.

Bug: 112826114
Bug: 131385091
Bug: 130345243

Test: Manually tested after applying ag/7704172 and this.
Change-Id: I78c3c6163e1352b3a8d0801890064369a861fb8a

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
Bill Yi [Sat, 25 May 2019 03:06:19 +0000 (20:06 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 0cf1a84f81 -s ours
am skip reason: subject contains skip directive

Change-Id: If4c1028ee512d03e28a556dc70dba02d41543c1c

5 years agoMerge "Fix unexpected grey-out in Screen attention Fix preference controller searchab...
Yi Jiang [Sat, 25 May 2019 03:04:23 +0000 (20:04 -0700)]
Merge "Fix unexpected grey-out in Screen attention Fix preference controller searchable issue." into qt-dev
am: 79abf23f4d

Change-Id: Iee258b27bed5dc6a7338ae64d52567e9bf759b0b