OSDN Git Service

android-x86/packages-apps-Settings.git
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 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-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 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 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 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 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

5 years agoKeep consistency between sound and accessibility settings.
Yiwen Chen [Wed, 1 May 2019 19:13:56 +0000 (12:13 -0700)]
Keep consistency between sound and accessibility settings.

Bug: 130741987
Test: Tested on device
Change-Id: Id6dd485c73f9453970b8d79929ffc04acb2c76c8
(cherry picked from commit 494071463be319879543e85d2a9d40626134d357)

5 years agoMerge "Add ability to adjust height of VideoPreference" into qt-dev
TreeHugger Robot [Fri, 24 May 2019 01:19:59 +0000 (01:19 +0000)]
Merge "Add ability to adjust height of VideoPreference" into qt-dev

5 years agoMerge "Add entry point to global actions panel settings" into qt-dev
TreeHugger Robot [Fri, 24 May 2019 01:14:40 +0000 (01:14 +0000)]
Merge "Add entry point to global actions panel settings" into qt-dev

5 years agoMerge "Hide network select in some situations" into qt-dev
Lei Yu [Thu, 23 May 2019 20:28:38 +0000 (20:28 +0000)]
Merge "Hide network select in some situations" into qt-dev

5 years agoMerge "Update design for Family Link supervision enrollment dialog." into qt-dev
TreeHugger Robot [Thu, 23 May 2019 19:17:27 +0000 (19:17 +0000)]
Merge "Update design for Family Link supervision enrollment dialog." into qt-dev

5 years agoMerge "Remove gentle/alerting icons from channel settings" into qt-dev
TreeHugger Robot [Thu, 23 May 2019 18:17:46 +0000 (18:17 +0000)]
Merge "Remove gentle/alerting icons from channel settings" into qt-dev

5 years agoAllow the default SMS app to be blocked
Julia Reynolds [Thu, 23 May 2019 18:04:18 +0000 (14:04 -0400)]
Allow the default SMS app to be blocked

Test: manual
Fixes: 133413626
Change-Id: Iebbba87e31bb3126da179c140eef42311b0be33e

5 years agoHide network select in some situations
Lei Yu [Wed, 22 May 2019 21:52:41 +0000 (14:52 -0700)]
Hide network select in some situations

Hide network select when:
1. NETWORK_MODE_LTE_CDMA_EVDO && worldMode
2. 6 NETWORK_MODE && worldMode && !Tdscdma

Also update GSM/CDMA check since it was only include 1 network mode,
not 6 modes.

Fixes: 131126607
Test: RunSettingsRoboTests
Change-Id: I28782778827ced7d9f24d527d52399e2b544109e

5 years agoMerge "Remove info footer in global actions panel settings" into qt-dev
Steve Elliott [Thu, 23 May 2019 15:25:40 +0000 (15:25 +0000)]
Merge "Remove info footer in global actions panel settings" into qt-dev

5 years agoMerge "App Bubble control page should always be available, even if off globally"...
Mady Mellor [Thu, 23 May 2019 13:58:19 +0000 (13:58 +0000)]
Merge "App Bubble control page should always be available, even if off globally" into qt-dev

5 years agoMerge "Make sure the fragment manager is passed to BubblePreferenceController" into...
Mady Mellor [Thu, 23 May 2019 13:58:00 +0000 (13:58 +0000)]
Merge "Make sure the fragment manager is passed to BubblePreferenceController" into qt-dev

5 years agoMerge "Fix overlapping problem on wifi detail screen" into qt-dev
TreeHugger Robot [Thu, 23 May 2019 13:13:48 +0000 (13:13 +0000)]
Merge "Fix overlapping problem on wifi detail screen" into qt-dev

5 years agoFix Wi-Fi QR code decode fail
Arc Wang [Tue, 21 May 2019 08:53:48 +0000 (16:53 +0800)]
Fix Wi-Fi QR code decode fail

ZXing generate QR code with default encoding ISO-8859-1,
the generated QR code is wrong encoded if there is a
character outside of the charset.

Generate QR code of UTF-8 encoding.

Bug: 131851854
Test: manual
Change-Id: I96a5e72a978c654b62d89b3b11dd3016bf0ee1df

5 years agoAdd ability to adjust height of VideoPreference
Beverly [Wed, 22 May 2019 14:46:34 +0000 (10:46 -0400)]
Add ability to adjust height of VideoPreference

Test: manual
Bug: 132108705
Change-Id: I3b2172764908f408ba96bc6ef6dc0305f4dabd28

5 years agoMerge "Background activity starts are now blocked by default." into qt-dev
TreeHugger Robot [Thu, 23 May 2019 09:43:27 +0000 (09:43 +0000)]
Merge "Background activity starts are now blocked by default." into qt-dev

5 years agoFix fingerprint enrolling in settings show heavy theme
pastychang [Thu, 23 May 2019 07:42:41 +0000 (15:42 +0800)]
Fix fingerprint enrolling in settings show heavy theme

The descrpiton textview of fingerprint enrolling page that launchs from
settings shouldn't apply heavy theme. It must check the atrribute of
heavy theme is true first, and then apply it.

Bug: 132366547
Test: Manual
Change-Id: Id52151b308fa80f84a67d132634a8e9c58291878

5 years agoFix overlapping problem on wifi detail screen
tmfang [Thu, 23 May 2019 06:41:03 +0000 (14:41 +0800)]
Fix overlapping problem on wifi detail screen

If we didn't set view and lifecycle for EntityHeaderController,
it only sets "z-order" as 0 for action bar.

So, user sees overlapped problem while user is scrolling view.

For now, we set view and lifecycle as parameter for EntityHeaderController,
then EntityHeaderController can change "z-order" while scrolling view.

Test: visual and robo test
Fixes: 133380109
Change-Id: I0445c6aeaa42d798374d2c712e9611a09a6b55e7

5 years agoMerge "Fix Settings crashing while displaying phone number slice." into qt-dev
TreeHugger Robot [Thu, 23 May 2019 04:19:27 +0000 (04:19 +0000)]
Merge "Fix Settings crashing while displaying phone number slice." into qt-dev

5 years agoMerge "Apply stencil theme for description textview" into qt-dev
Pasty Chang [Thu, 23 May 2019 01:40:14 +0000 (01:40 +0000)]
Merge "Apply stencil theme for description textview" into qt-dev

5 years agoMerge "Update logic to build slider slice" into qt-dev
TreeHugger Robot [Thu, 23 May 2019 00:39:10 +0000 (00:39 +0000)]
Merge "Update logic to build slider slice" into qt-dev

5 years agoRemove gentle/alerting icons from channel settings
Evan Laird [Fri, 17 May 2019 18:46:04 +0000 (14:46 -0400)]
Remove gentle/alerting icons from channel settings

Don't show the blue/orange gentle/alerting icons in the top-level
notification settings. Just good ol' whitespace.

Bug: 132971502
Test: visual
Change-Id: I63d0f727c9e9a63f888212009b64d89a910b4645

5 years agoApp Bubble control page should always be available, even if off globally
Mady Mellor [Wed, 22 May 2019 17:38:40 +0000 (10:38 -0700)]
App Bubble control page should always be available, even if off globally

There is API to open up the app-specific bubble page, therefor, we should
always show the toggle. The previous work to move bubbles to developer
settings broke this.

This CL adds a param to the controller to note whether it's the app
specific page or not (since controller is also used for channel settings)
to enable this behaviour.

Added a test for this situation.

Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER=Bubble
Bug: 131846917
Change-Id: I72b1f4b5b033d1b24281061cfa6bed4d734dfcb1

5 years agoMake sure the fragment manager is passed to BubblePreferenceController
Mady Mellor [Wed, 22 May 2019 17:01:35 +0000 (10:01 -0700)]
Make sure the fragment manager is passed to BubblePreferenceController

This wasn't being set always / at least for the app specific page.
This CL ensures it is & makes it so that there is only 1 constructor.

Fixes: 132864244
Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER=Bubble
Change-Id: I9c422e75583b3091d1571cfb8cc43ec49b801599

5 years agoUpdate logic to build slider slice
Lei Yu [Wed, 22 May 2019 20:55:24 +0000 (13:55 -0700)]
Update logic to build slider slice

Return null when slider getMax() <= getMin(), instead of force
build it to make it crash

Fixes: 132657278
Test: RunSettingsRoboTests
Change-Id: I9f3c078ae07522aa8f1cebdee3f73df2d014d6bb

5 years agoAdd entry point to global actions panel settings
Steve Elliott [Wed, 22 May 2019 18:13:29 +0000 (14:13 -0400)]
Add entry point to global actions panel settings

Bug: 133241418
Test: manual
Change-Id: Id4268cacce30b08ad5c7c8afe3e1b44d4d1ac1e3

5 years agoRemove info footer in global actions panel settings
Steve Elliott [Wed, 22 May 2019 19:38:00 +0000 (15:38 -0400)]
Remove info footer in global actions panel settings

Bug: 133332405
Test: manual
Change-Id: I8b7eed5ce3b4b585b0940888ef7c7413617e90dd

5 years agoMerge "Add null check to precent crash in monkey test" into qt-dev
TreeHugger Robot [Wed, 22 May 2019 19:21:37 +0000 (19:21 +0000)]
Merge "Add null check to precent crash in monkey test" into qt-dev

5 years agoUpdate design for Family Link supervision enrollment dialog.
Varun Shah [Wed, 22 May 2019 18:48:07 +0000 (11:48 -0700)]
Update design for Family Link supervision enrollment dialog.

Bug: 124066840
Test: manual (trigger dialog via adb shell command)
Change-Id: Iff79a2ed034bb0128ce6c573ceea58c7a9f1c985

5 years agoAdd null check to precent crash in monkey test
lindatseng [Wed, 22 May 2019 17:36:50 +0000 (10:36 -0700)]
Add null check to precent crash in monkey test

Fixes: 133259172
Test: manual
Change-Id: Ib4dd24965fda40a7a917397bf558309e0424bf16

5 years agoMerge "Config notifs page updates" into qt-dev
TreeHugger Robot [Wed, 22 May 2019 17:30:30 +0000 (17:30 +0000)]
Merge "Config notifs page updates" into qt-dev

5 years agoMerge "Always create new task when launching WifiDialogActivity" into qt-dev
TreeHugger Robot [Wed, 22 May 2019 17:12:30 +0000 (17:12 +0000)]
Merge "Always create new task when launching WifiDialogActivity" into qt-dev

5 years agoConfig notifs page updates
Julia Reynolds [Tue, 21 May 2019 14:21:21 +0000 (10:21 -0400)]
Config notifs page updates

- Remove unused settings
- Regroup and combine lockscreen settings. The original
lockscreen controller is used in other places (SUW and privacy)
and so it's left untouched for those uses for now.

Test: atest
Bug: 132971502
Change-Id: Ic82817ff98cab27ca35b9488ae2e0eb6922a18e8

5 years agoMerge "Add a clarifying comment" into qt-dev
TreeHugger Robot [Wed, 22 May 2019 15:08:27 +0000 (15:08 +0000)]
Merge "Add a clarifying comment" into qt-dev

5 years agoApply stencil theme for description textview
pastychang [Wed, 22 May 2019 11:16:23 +0000 (19:16 +0800)]
Apply stencil theme for description textview

Fingerprint enrolling page has a fixed description id. Another
description textview should use setup lib API to apply stencil theme.

Bug: 132366547
Test: Manual
Change-Id: Ifa664b84718ecd211f4c8ff1542ce38c2ef6481b

5 years agoBackground activity starts are now blocked by default.
Alan Stokes [Mon, 20 May 2019 16:18:26 +0000 (17:18 +0100)]
Background activity starts are now blocked by default.

Change the default for "Allow background activity starts" to off,
matching the logic in the activity manager.

Bug: 129955487
Bug: 129533810
Test: make RunSettingsRoboTests \
ROBOTEST_FILTER=AllowBackgroundActivityStartsPreferenceControllerTest

Change-Id: If9eeae699f9c8b7913da4456a45286f816cc7463

5 years agoFix Settings crashing while displaying phone number slice.
Stanley Wang [Wed, 22 May 2019 08:21:33 +0000 (16:21 +0800)]
Fix Settings crashing while displaying phone number slice.

Check if the SubscriptionInfo list is empty to avoid the IndexOutOfBoundsException.

Fixes: 133258244
Test: maunal & robotest

Change-Id: I837f6761ba2b53823f0126f734f65875a30e34dd

5 years agoMerge "Revert "Revert "Update dialog background color for dark theme""" into qt-dev
Mill Chen [Wed, 22 May 2019 05:21:21 +0000 (05:21 +0000)]
Merge "Revert "Revert "Update dialog background color for dark theme""" into qt-dev

5 years agoMerge "Revert "Update dialog background color for dark theme"" into qt-dev
TreeHugger Robot [Wed, 22 May 2019 04:43:09 +0000 (04:43 +0000)]
Merge "Revert "Update dialog background color for dark theme"" into qt-dev

5 years agoMerge "Add AutoCancel Notification UI for sim change" into qt-dev
Shuo Qian [Wed, 22 May 2019 03:23:33 +0000 (03:23 +0000)]
Merge "Add AutoCancel Notification UI for sim change" into qt-dev

5 years agoMerge "New icons for partial system update tile which is listed in the Security Statu...
TreeHugger Robot [Wed, 22 May 2019 01:14:16 +0000 (01:14 +0000)]
Merge "New icons for partial system update tile which is listed in the Security Status category." into qt-dev

5 years agoMerge "Add metrics stuff for dark ui dialog fragment" into qt-dev
TreeHugger Robot [Wed, 22 May 2019 00:08:49 +0000 (00:08 +0000)]
Merge "Add metrics stuff for dark ui dialog fragment" into qt-dev

5 years agoAlways create new task when launching WifiDialogActivity
lindatseng [Tue, 21 May 2019 21:41:11 +0000 (14:41 -0700)]
Always create new task when launching WifiDialogActivity

Set doucmentLaunchMode to always for WifiDialogActivity.  Always
create new task when launching wifi dialog activity so it won't
try to open the existing one.

Test: Manual
Fixes: 133206261
Change-Id: If35f0ea8f6d2f6b94ff58b4508f73f265ca4b5dd

5 years agoMerge "Prevent NullPointerException in SimStatusDialogController" into qt-dev
TreeHugger Robot [Tue, 21 May 2019 20:34:13 +0000 (20:34 +0000)]
Merge "Prevent NullPointerException in SimStatusDialogController" into qt-dev

5 years agoAdd AutoCancel Notification UI for sim change
sqian [Fri, 17 May 2019 17:53:19 +0000 (10:53 -0700)]
Add AutoCancel Notification UI for sim change

Bug: 131380487
Test: manual
Change-Id: Iaf1b1216e358683906b683c688828236f3282cf9

5 years agoMerge "Set some BT icon background to white" into qt-dev
Lei Yu [Tue, 21 May 2019 17:14:53 +0000 (17:14 +0000)]
Merge "Set some BT icon background to white" into qt-dev

5 years agoPrevent NullPointerException in SimStatusDialogController
Antony Sargent [Tue, 21 May 2019 16:45:26 +0000 (09:45 -0700)]
Prevent NullPointerException in SimStatusDialogController

In rare cases the SignalStrength we get for a SIM can be null, which
wasn't checked for in this code. This CL adds a null check and fixes the
tests so it's possible to verify the fix (one of the methods that would
have crashed was being spy'd over unnecessarily).

Fixes: 132570076
Test: make RunSettingsRobotests
Change-Id: Ifdec24f184ee2d93e5e242eb2c20695249992fc6

5 years agoMerge "Fix hiding of channel fields" into qt-dev
TreeHugger Robot [Tue, 21 May 2019 16:58:23 +0000 (16:58 +0000)]
Merge "Fix hiding of channel fields" into qt-dev

5 years agoMerge "Remove unnecessary STOPSHIP." into qt-dev
TreeHugger Robot [Tue, 21 May 2019 16:52:31 +0000 (16:52 +0000)]
Merge "Remove unnecessary STOPSHIP." into qt-dev

5 years agoNew icons for partial system update tile which is listed in the Security
Sorin Dinu [Tue, 21 May 2019 14:14:48 +0000 (15:14 +0100)]
New icons for partial system update tile which is listed in the Security
Status category.

Bug: b/132288646
Test: make RunSettingsRoboTests
Change-Id: Ib9b1951fbed673cba2ed803a1b2bb2752f21cfe9