OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 5 Jun 2019 00:23:38 +0000 (00:23 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMove vibration preview invokation to the correct place
Alexey Kuzmin [Tue, 4 Jun 2019 14:59:32 +0000 (15:59 +0100)]
Move vibration preview invokation to the correct place

Bug: 133711461
Bug: 130332550
Test: Open Settings > Accessibility > Vibration. Switch between the
vibration settings several times. The preview should be played, and it
should be in line with the selected setting

Change-Id: I65fcd679c4c61afa4cce9cee652987d81572096c

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 4 Jun 2019 15:36:03 +0000 (08:36 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I11c95502fa223dc53994a1dde87cc2400106b815

5 years agoMerge "Cleanup background activity starts for release." into qt-dev
Alan Stokes [Tue, 4 Jun 2019 14:26:29 +0000 (14:26 +0000)]
Merge "Cleanup background activity starts for release." into qt-dev

5 years agoMerge "Update the string of both magnification settings and gesture navigation tutori...
Kevin Chang [Tue, 4 Jun 2019 01:29:21 +0000 (01:29 +0000)]
Merge "Update the string of both magnification settings and gesture navigation tutorial dialog" into qt-dev

5 years agoAdd a "data during calls" preference
Antony Sargent [Mon, 13 May 2019 23:44:13 +0000 (16:44 -0700)]
Add a "data during calls" preference

This adds a switch which appears on the SIM details page for any SIMs
that aren't the default on for data. It lets the user opt-in to turning
on data on this SIM only in the case where there is an active call -
this is needed because in some cases the default data SIM may not be
able to be used when a call is active on another SIM.

Bug: 132114205
Test: make RunSettingsRoboTests
Change-Id: Ie44c56e0f486fd93aff411a0ba0e47d3695a4941

5 years agoMerge "Use new API to build NetworkTemplate" into qt-dev
Lei Yu [Mon, 3 Jun 2019 16:54:29 +0000 (16:54 +0000)]
Merge "Use new API to build NetworkTemplate" into qt-dev

5 years agoUpdate the string of both magnification settings and gesture navigation tutorial...
Kevin Chang [Wed, 29 May 2019 10:21:28 +0000 (18:21 +0800)]
Update the string of both magnification settings and gesture navigation tutorial dialog

Referenced link for the details:
https://docs.google.com/document/d/1eB2wukextG5UFECTwde5zcmXXTQCvgnqJJjnd1Chu9Q
https://docs.google.com/document/d/14iwCag7FBD4e9bR03HjbC0D2s_u-Fpr3K8vl_XMjkD0

Bug: 133336814
Bug: 133650388
Test: Visual
Change-Id: I4893183b55f609bfee3d1dfe80aa02cce624e857

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 1 Jun 2019 18:17:35 +0000 (18:17 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 1 Jun 2019 17:06:36 +0000 (10:06 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I861f60fb68f5bb9d20d0c0e7c338144e70c077eb

5 years agoMerge "Disables the Gesture nav option if 3P launcher is default" into qt-dev
Mehdi Alizadeh [Fri, 31 May 2019 21:08:08 +0000 (21:08 +0000)]
Merge "Disables the Gesture nav option if 3P launcher is default" into qt-dev

5 years agoDisables the Gesture nav option if 3P launcher is default
Mehdi Alizadeh [Wed, 15 May 2019 18:01:25 +0000 (11:01 -0700)]
Disables the Gesture nav option if 3P launcher is default

Disables the Gesture navigation radio button if 3P launcher is set as
default for current user. Also shows an info icon on the right side that
opens a dialog explaining why it is disables.

Bug: 129532605
Test: Manual test with 3P launcher
Test: make RunSettingsRoboTests ROBOTEST_FILTER=RadioButtonPreferenceWithExtraWidgetTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationGestureSettingsTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationPreferenceControllerTest

Change-Id: I90000c74246699fa9391ac042c87d7f0ece03637

5 years agoMerge "Update notification settings animation" into qt-dev
Julia Reynolds [Fri, 31 May 2019 17:27:09 +0000 (17:27 +0000)]
Merge "Update notification settings animation" into qt-dev

5 years agoUse new API to build NetworkTemplate
Lei Yu [Tue, 28 May 2019 17:05:44 +0000 (10:05 -0700)]
Use new API to build NetworkTemplate

This CL is built to make CBRS show correct data usage, by merging
all subscriberId under same groupuuid.

Bug: 133865338
Test: RunSettingsRoboTests
Change-Id: I3c717d0f1a1b95aa21c2ccefe4d1cefb4d854cb5

5 years agoMerge "Fix issues in battery usage accounting" into qt-dev
Lei Yu [Fri, 31 May 2019 17:17:51 +0000 (17:17 +0000)]
Merge "Fix issues in battery usage accounting" into qt-dev

5 years agoMerge "Change switch text color to black in dark mode" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 15:59:42 +0000 (15:59 +0000)]
Merge "Change switch text color to black in dark mode" into qt-dev

5 years agoMerge "Reorder notification settings" into qt-dev
TreeHugger Robot [Fri, 31 May 2019 13:24:17 +0000 (13:24 +0000)]
Merge "Reorder notification settings" into qt-dev

5 years agoUpdate notification settings animation
Julia Reynolds [Fri, 31 May 2019 13:18:42 +0000 (09:18 -0400)]
Update notification settings animation

Test: manual
Fixes: 133874971
Change-Id: I8dc399f9de578197322cadbb7cc2c5f75902461d

5 years agoMerge "Remove Permissions Hub." into qt-dev
TreeHugger Robot [Fri, 31 May 2019 13:02:12 +0000 (13:02 +0000)]
Merge "Remove Permissions Hub." into qt-dev

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 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
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 agoChange switch text color to black in dark mode
Salvador Martinez [Thu, 30 May 2019 21:16:52 +0000 (14:16 -0700)]
Change switch text color to black in dark mode

It seems that the attribute values that are used to text color
in the switch bar are selectors which leads to problems because
they include an alpha value when the switch is "off". This would
cause the contrast between the text and the background to be too
low for GAR. This CL simply makes it so that in dark mode the text
for the switch bar is just true black since adjusting the
attributes would have wide scale implications for all UIs using
device default themes.

Test: visual inspection
Bug: 132755745
Change-Id: I309db82e9bf020fb654e0b93f6ec84380ae092f7

5 years agoReorder notification settings
Julia Reynolds [Thu, 30 May 2019 20:52:08 +0000 (16:52 -0400)]
Reorder notification settings

Test: manual
Fixes: 132271798
Change-Id: I57e726a332513620bea25b97345b1a8564c6d5ef

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: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
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 "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 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 agoRemove Permissions Hub.
Joel Galenson [Thu, 30 May 2019 15:30:49 +0000 (08:30 -0700)]
Remove Permissions Hub.

Bug: 132292477
Test: View all related screens.
Change-Id: Ic0e890e04f210f3be3eb80c95e398a40a8062001

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
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
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: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: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: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 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 agoFix issues in battery usage accounting
Lei Yu [Tue, 28 May 2019 17:42:19 +0000 (10:42 -0700)]
Fix issues in battery usage accounting

1. In High usage dialog, show top apps based on battery usage, not app
time.
2. Refactor the check for hidden system modules into ShouldHideSipper,
however don't smear it, this is also the current logic before this CL.

Bug: 133445008
Test: RunSettingsRoboTests
Change-Id: I851a1c9ef9b79a934ba0501cd96001f2e450bda4

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
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
TreeHugger Robot [Wed, 29 May 2019 18:16:40 +0000 (18:16 +0000)]
Merge "Allow renaming inactive subscriptions." into qt-dev

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
TreeHugger Robot [Wed, 29 May 2019 17:03:32 +0000 (17:03 +0000)]
Merge "Add snooze notification setting" into qt-dev

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: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
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
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: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: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
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 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 agoCleanup background activity starts for release.
Alan Stokes [Tue, 21 May 2019 14:12:16 +0000 (15:12 +0100)]
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

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: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 agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 25 May 2019 02:39:20 +0000 (02:39 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoAdds string resources for gesture not supported dialog
Mehdi Alizadeh [Wed, 22 May 2019 21:34:09 +0000 (14:34 -0700)]
Adds string resources for gesture not supported dialog

Bug: 129532605
Test: Manual test to verity the strings are shown correctly
Change-Id: Ibc451170e936e7b8e1bf1c0be07be33e2ddca6a4

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

5 years agoFix unexpected grey-out in Screen attention
Yi Jiang [Thu, 16 May 2019 20:21:35 +0000 (13:21 -0700)]
Fix unexpected grey-out in Screen attention
Fix preference controller searchable issue.

Bug: 132821023
Bug: 133255690
Test: atest AdaptiveSleepPreferenceControllerTest
Change-Id: I686ed827fbe572c9d8bcde2d8a8e00f2dcb5a6a8

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 May 2019 21:40:18 +0000 (14:40 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I85ca3c33f3b5db38609634d9a711db9612584567

5 years agoMerge "Allow the default SMS app to be blocked" into qt-dev
Julia Reynolds [Fri, 24 May 2019 17:00:12 +0000 (17:00 +0000)]
Merge "Allow the default SMS app to be blocked" into qt-dev

5 years agoMerge "Simplify channel importance settings screen" into qt-dev
TreeHugger Robot [Fri, 24 May 2019 16:36:49 +0000 (16:36 +0000)]
Merge "Simplify channel importance settings screen" into qt-dev

5 years agoTweak title for "App content"
tmfang [Fri, 24 May 2019 05:41:28 +0000 (13:41 +0800)]
Tweak title for "App content"

Test: visual
Bug: 133370964
Change-Id: I6351df67164b35dc1299aa5a57ab10325af575de

5 years agoMerge "Fix Wi-Fi QR scanner crash problem" into qt-dev
Arc Wang [Fri, 24 May 2019 14:36:44 +0000 (14:36 +0000)]
Merge "Fix Wi-Fi QR scanner crash problem" into qt-dev

5 years agoSimplify channel importance settings screen
Evan Laird [Fri, 17 May 2019 21:05:27 +0000 (17:05 -0400)]
Simplify channel importance settings screen

Back to bell icons, and removed the flavor text

Test: visual
Bug: 132971502
Change-Id: I55ce6dd07404aed2ceb5423796b733a70c3bfa13

5 years agoMerge "Fix no apps shown on app info screen" into qt-dev
TreeHugger Robot [Fri, 24 May 2019 08:03:26 +0000 (08:03 +0000)]
Merge "Fix no apps shown on app info screen" into qt-dev

5 years agoFix Wi-Fi QR scanner crash problem
Arc Wang [Wed, 22 May 2019 08:04:28 +0000 (16:04 +0800)]
Fix Wi-Fi QR scanner crash problem

1. Should only set picture size from the list of supported picture sizes.
   To choose the best picture size, we should keep ratio as preview size to
   avoid image distortion and QR code scan failure.

2. When Camera#setOneShotPreviewCallback callbacks, the image data is of
   preview size, not picture size.

Bug: 132866467
Test: QrCameraTest
      manual
Change-Id: I087e5fcdf064f111e915e0872b50ca5a45ff1d26

5 years agoFix no apps shown on app info screen
tmfang [Thu, 23 May 2019 09:49:44 +0000 (17:49 +0800)]
Fix no apps shown on app info screen

If Settings app hasn't loaded apps list completely yet,
we can't filter result from list. Since there is nothing
can be filtered, we just need to show all apps.

Test: visual
Fixes: 131697606
Change-Id: I971c942b0fe5889206c40d855f8508acd42461a7

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Fri, 24 May 2019 06:13:20 +0000 (06:13 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Fix fingerprint enrolling in settings show heavy theme" into qt-dev
Pasty Chang [Fri, 24 May 2019 05:48:05 +0000 (05:48 +0000)]
Merge "Fix fingerprint enrolling in settings show heavy theme" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 24 May 2019 05:03:41 +0000 (22:03 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I94fac2cb3ffc0d7784b0641f0b3974f56b326be9

5 years agoMerge "Fix Wi-Fi QR code decode fail" into qt-dev
Arc Wang [Fri, 24 May 2019 01:56:42 +0000 (01:56 +0000)]
Merge "Fix Wi-Fi QR code decode fail" into qt-dev

5 years agoMerge "Keep consistency between sound and accessibility settings." into qt-dev
Yiwen Chen [Fri, 24 May 2019 01:24:52 +0000 (01:24 +0000)]
Merge "Keep consistency between sound and accessibility settings." into qt-dev