OSDN Git Service

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

5 years agoMerge "Fix signal strength display in 'Choose network' list" into qt-dev
TreeHugger Robot [Tue, 21 May 2019 16:05:34 +0000 (16:05 +0000)]
Merge "Fix signal strength display in 'Choose network' list" into qt-dev

5 years agoRemove unnecessary STOPSHIP.
Amin Shaikh [Mon, 20 May 2019 21:36:57 +0000 (21:36 +0000)]
Remove unnecessary STOPSHIP.

THEME_CUSTOMIZATION_OVERLAY_PACKAGES will no be set in Q. When it is set, these developer settings will be removed entirely.

Change-Id: Ic33bb68a4e4a0fabc6731169ef96ecd386dc441e
Fixes: 122308197
Test: presubmit

5 years agoMerge "Make SeekBarPreference to be selectable" into qt-dev
TreeHugger Robot [Tue, 21 May 2019 10:28:28 +0000 (10:28 +0000)]
Merge "Make SeekBarPreference to be selectable" into qt-dev

5 years agoFix gray lines appear in animation video
Raff Tsai [Tue, 21 May 2019 07:12:46 +0000 (15:12 +0800)]
Fix gray lines appear in animation video

Fixes: 133076740
Fixes: 132991217
Test: manual
Change-Id: I3ab740ede12bf768176691e513bcaff4349eb76e

5 years agoMerge "Remove SmsDefaultDialog which has been replaced by role." into qt-dev
TreeHugger Robot [Tue, 21 May 2019 06:05:31 +0000 (06:05 +0000)]
Merge "Remove SmsDefaultDialog which has been replaced by role." into qt-dev

5 years agoMake SeekBarPreference to be selectable
Raff Tsai [Tue, 21 May 2019 03:30:13 +0000 (11:30 +0800)]
Make SeekBarPreference to be selectable

Fixes: 132983200
Test: make RunSettingsRoboTests, manual
Change-Id: I3d4bc59d948236ff2482945a4fc976ee61c37c27

5 years agoMerge "Don't display footer text when calling app is DPC." into qt-dev
TreeHugger Robot [Tue, 21 May 2019 01:24:19 +0000 (01:24 +0000)]
Merge "Don't display footer text when calling app is DPC." into qt-dev

5 years agoMerge "Fix view overlap in landscape wifi dpp enrollment." into qt-dev
Fan Zhang [Tue, 21 May 2019 00:34:54 +0000 (00:34 +0000)]
Merge "Fix view overlap in landscape wifi dpp enrollment." into qt-dev

5 years agoMerge "Help URI for USB contaminant dialog" into qt-dev
Badhri Jagan Sridharan [Tue, 21 May 2019 00:31:45 +0000 (00:31 +0000)]
Merge "Help URI for USB contaminant dialog" into qt-dev

5 years agoFix signal strength display in 'Choose network' list
Antony Sargent [Tue, 21 May 2019 00:20:31 +0000 (17:20 -0700)]
Fix signal strength display in 'Choose network' list

For GSM networks, the "Choose network" page allows you to manually pick
from among different cell networks, and shows signal strength and
network type (LTE, 3g, etc.) for available ones. The signal strength
wedges were transparent and not visible to the user - this CL fixes
that.

Bug: 132895135
Test: visual (Insert SIM with GSM service, then go to Settings ->
Network & internet -> Mobile network -> Advanced -> Automatically select
network)

Change-Id: Ibbbc60b590b09e4b4f5e31b49fe578769dcdbc4d

5 years agoRemove SmsDefaultDialog which has been replaced by role.
Hai Zhang [Mon, 20 May 2019 22:23:05 +0000 (15:23 -0700)]
Remove SmsDefaultDialog which has been replaced by role.

Bug: 131204827
Test: presubmit
Change-Id: If436d4f0777838dc490fa45901005008bb57315b

5 years agoMerge "Break infinite refresh loop in battery estimates" into qt-dev
Salvador Martinez [Mon, 20 May 2019 21:22:23 +0000 (21:22 +0000)]
Merge "Break infinite refresh loop in battery estimates" into qt-dev

5 years agoFix hiding of channel fields
Julia Reynolds [Mon, 20 May 2019 18:03:07 +0000 (14:03 -0400)]
Fix hiding of channel fields

When channel is off

Test: atest
Bug: 132971502
Change-Id: I5772266e022e5ebb5dbf20f231ca30fad95e3db7

5 years agoDon't display footer text when calling app is DPC.
Alex Kershaw [Fri, 17 May 2019 14:36:28 +0000 (15:36 +0100)]
Don't display footer text when calling app is DPC.

If the calling app has admin rights (DA/DO/PO), don't display footer
text that the calling app is 'recommending' that a password is set.

Fixes: 131888973
Test: atest com.android.settings.password.SetNewPasswordActivityTest --verbose
Test: atest com.android.settings.password.ChooseLockGenericTest --verbose
Test: manual
Change-Id: I32785d33e6425416fc1dbba24540ece8917b58f3

5 years agoMerge "Hide AppButtonsPreferenceController for system modules." into qt-dev
Narayan Kamath [Mon, 20 May 2019 07:42:53 +0000 (07:42 +0000)]
Merge "Hide AppButtonsPreferenceController for system modules." into qt-dev

5 years agoFix view overlap in landscape wifi dpp enrollment.
Arc Wang [Mon, 20 May 2019 05:17:14 +0000 (13:17 +0800)]
Fix view overlap in landscape wifi dpp enrollment.

Bug: 132813855
Test: manual
Change-Id: I961dcc88e044dc1ba6dc3d87d9820a2ced5196ee

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 18 May 2019 22:15:15 +0000 (15:15 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: d6d1ac5e87 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic6626c84da89b05066387585c87a7cade7a85e22

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sat, 18 May 2019 14:28:54 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 18 May 2019 13:44:53 +0000 (06:44 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I69697c36e862b2725dfd7fa1f542f9f7a3c6fa03

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 18 May 2019 12:17:15 +0000 (05:17 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iaa2924d0d22913bbd4f1182c974c6ea5b2e321e0

5 years agoMerge "Fix overlapping problem in display size screen." into qt-dev
TreeHugger Robot [Sat, 18 May 2019 11:22:34 +0000 (11:22 +0000)]
Merge "Fix overlapping problem in display size screen." into qt-dev

5 years agoMerge "Revert "Change string of switchbar and installed service category title""...
Kevin Chang [Sat, 18 May 2019 08:09:43 +0000 (08:09 +0000)]
Merge "Revert "Change string of switchbar and installed service category title"" into qt-dev

5 years agoMerge "Show the accessibility usage preference when Permissions Hub is disabled....
TreeHugger Robot [Sat, 18 May 2019 01:47:09 +0000 (01:47 +0000)]
Merge "Show the accessibility usage preference when Permissions Hub is disabled." into qt-dev

5 years agoMerge changes I06c1bc14,I5415b8ed into qt-dev
TreeHugger Robot [Fri, 17 May 2019 22:41:26 +0000 (22:41 +0000)]
Merge changes I06c1bc14,I5415b8ed into qt-dev

* changes:
  Clean up a STOPSHIP string
  Fix view overlap in wifi dpp enrollment.

5 years agoBreak infinite refresh loop in battery estimates
Salvador Martinez [Fri, 17 May 2019 22:36:55 +0000 (15:36 -0700)]
Break infinite refresh loop in battery estimates

There was an infinite loop that could occur in BatterySaverUtils
what was caused by battery saver utils updating the battery estimate
which then told the page to check for an estimate and then it would
repeat from there. This cleans up the logic in that loop slightly
to prevent it from refreshing more than is necessary.

Test: atest BatteryUtilsTest
Bug: 132751712
Change-Id: I918484747ecd9735315570ad608489e0f61d7578

5 years agoSet some BT icon background to white
Lei Yu [Fri, 17 May 2019 21:47:01 +0000 (14:47 -0700)]
Set some BT icon background to white

Fixes: 132992480
Test: Manual
Change-Id: I22aad1ab327dd34ad67b9bbac10f6f2e3c9ec139

5 years agoClean up a STOPSHIP string
Fan Zhang [Fri, 17 May 2019 20:44:01 +0000 (13:44 -0700)]
Clean up a STOPSHIP string

Bug: 110557011
Test: rebuild
Change-Id: I06c1bc1460cbb47feb6152298151477549a9e411

5 years agoFix view overlap in wifi dpp enrollment.
Fan Zhang [Fri, 17 May 2019 19:56:07 +0000 (12:56 -0700)]
Fix view overlap in wifi dpp enrollment.

Fixes: 132813855
Test: visual
Change-Id: I5415b8edaf1ce5ae122e4d1ee41e65ca825f72e6

5 years agoHide AppButtonsPreferenceController for system modules.
Narayan Kamath [Wed, 15 May 2019 17:19:44 +0000 (18:19 +0100)]
Hide AppButtonsPreferenceController for system modules.

Bug: 131927465
Test: atest AppButtonsPreferenceControllerTest
Change-Id: I2d3aa3429f61325afe49bfe322522fe9ccd03b2c

5 years agoShow the accessibility usage preference when Permissions Hub is disabled.
Joel Galenson [Thu, 16 May 2019 23:36:00 +0000 (16:36 -0700)]
Show the accessibility usage preference when Permissions Hub is disabled.

Fixes: 132909181
Test: See dialog with Permissions Hub disabled.
Test: atest AccessibilityUsagePreferenceControllerTest
Change-Id: I56a433d561b0d77d8ece0fd6752871fa79cec850

5 years agoAdd a clarifying comment
Alexey Kuzmin [Fri, 17 May 2019 15:51:18 +0000 (16:51 +0100)]
Add a clarifying comment

Bug: 130332550
Test: no test
Change-Id: If6dea9b5deab35f8c2da1019c17be80bbf1c5fd8

5 years agoMerge "Play vibration preview when turning on vibration" into qt-dev
TreeHugger Robot [Fri, 17 May 2019 13:59:43 +0000 (13:59 +0000)]
Merge "Play vibration preview when turning on vibration" into qt-dev

5 years agoRevert "Change string of switchbar and installed service category title"
Kevin Chang [Fri, 17 May 2019 08:02:06 +0000 (08:02 +0000)]
Revert "Change string of switchbar and installed service category title"

This reverts commit 7eddb0e4dc4f860c76e013c8b85b07a296c4cc69.

Reason for revert: There's some side effects with string.
Create a new CL in master branch to fix it.

Bug: 132840332
Change-Id: I17526a06474d25bdb32beda96f5bb6371f0e5ade

5 years agoRevert "Revert "Update dialog background color for dark theme""
Mill Chen [Thu, 16 May 2019 09:43:06 +0000 (17:43 +0800)]
Revert "Revert "Update dialog background color for dark theme""

This reverts commit 77259dc9bbe7d61c66a674ed0ac77fcc69a55cb0.

Previously, using a general attribute to change the background color
for alert dialog. It will also impact on the background of other
components. To fix it, we used another attribute to change the dialog
background.

Bug: 132753127
Bug: 132623454
Bug: 129993336
Test: visual
Change-Id: I09091ee8fb45238d0ea94760f2fca5c206299a57

5 years agoFix overlapping problem in display size screen.
tmfang [Fri, 17 May 2019 04:04:43 +0000 (12:04 +0800)]
Fix overlapping problem in display size screen.

All screen in Settings set clipToPadding to false by default,
so we see this side effect on display size screen.

To fix it, we set clipToPadding and clipChidren to true.

Fixes: 132905691
Test: visual
Change-Id: I58752c0ba7bd033cde97ff6047513a50ab933ae9

5 years agoHelp URI for USB contaminant dialog
Badhri Jagan Sridharan [Thu, 16 May 2019 23:19:02 +0000 (16:19 -0700)]
Help URI for USB contaminant dialog

Bug: 132737150
Test: build test.
Change-Id: If6ac3b086edaee18cd982ef12220b480d12f5228

5 years agoMerge "Use short summary in advanced BT header" into qt-dev
Lei Yu [Thu, 16 May 2019 18:18:45 +0000 (18:18 +0000)]
Merge "Use short summary in advanced BT header" into qt-dev

5 years agoMerge "Fix usage hint of ringtone vibration preview" into qt-dev
TreeHugger Robot [Thu, 16 May 2019 16:51:32 +0000 (16:51 +0000)]
Merge "Fix usage hint of ringtone vibration preview" into qt-dev

5 years agoMerge "Modify Accessibility Setting UI for timeout feature" into qt-dev
Leon Liao [Thu, 16 May 2019 13:02:56 +0000 (13:02 +0000)]
Merge "Modify Accessibility Setting UI for timeout feature" into qt-dev

5 years agoMerge "Make credential confirmation activity resizeable." into qt-dev
Pavel Grafov [Thu, 16 May 2019 12:05:14 +0000 (12:05 +0000)]
Merge "Make credential confirmation activity resizeable." into qt-dev

5 years agoModify Accessibility Setting UI for timeout feature
Leon Liao [Thu, 9 May 2019 09:26:52 +0000 (17:26 +0800)]
Modify Accessibility Setting UI for timeout feature

Using single timeout setting page instead of current two timeout pages
to keep the user experience simple and reduce confusion.

Current timeout page & API:
'Time to take action'
    --  Settings.Secure.ACCESSIBILITY_INTERACTIVE_UI_TIMEOUT_MS
'Time to read'
    --  Settings.Secure.ACCESSIBILITY_NON_INTERACTIVE_UI_TIMEOUT_MS

New timeout page & API:
'Time to take action(Accessibility timeout)'
    --  Settings.Secure.ACCESSIBILITY_INTERACTIVE_UI_TIMEOUT_MS
    --  Settings.Secure.ACCESSIBILITY_NON_INTERACTIVE_UI_TIMEOUT_MS

Bug: 132247225
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=AccessibilityTimeoutControllerTest
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=AccessibilitySettingsTest
Change-Id: I0b69682425324d3b1e0ff3f7b6e2c299b60cd215

5 years agoRevert "Update dialog background color for dark theme"
Mill Chen [Thu, 16 May 2019 06:39:02 +0000 (06:39 +0000)]
Revert "Update dialog background color for dark theme"

This reverts commit 3032628269b1010e05e0c7f63d07d02c3230a818.

Reason for revert: This will also change the background color of other components within dialog.

Bug: 132753127
Bug: 132623454
Test: visual
Change-Id: I59d4731e84e8d516a01780c4cce70b2d86208098

5 years agoMerge "Update footer buttons depending on entry point" into qt-dev
Kevin Chyn [Thu, 16 May 2019 01:24:28 +0000 (01:24 +0000)]
Merge "Update footer buttons depending on entry point" into qt-dev

5 years agoMerge "Fix no reaction when tapping permission dialog button in shortcut service...
Kevin Chang [Thu, 16 May 2019 01:10:11 +0000 (01:10 +0000)]
Merge "Fix no reaction when tapping permission dialog button in shortcut service page" into qt-dev

5 years agoUpdate footer buttons depending on entry point
Kevin Chyn [Thu, 16 May 2019 00:57:16 +0000 (17:57 -0700)]
Update footer buttons depending on entry point

Bug: 130917883

Test: Manual
Change-Id: I8954f782dc26d0ceb6f55a9efe29c3e1b290c6bd

5 years agoMerge "Re enable remove button after cancel" into qt-dev
TreeHugger Robot [Thu, 16 May 2019 00:51:26 +0000 (00:51 +0000)]
Merge "Re enable remove button after cancel" into qt-dev

5 years agoMerge "Always include uid as part of recentApp key" into qt-dev
TreeHugger Robot [Wed, 15 May 2019 22:47:28 +0000 (22:47 +0000)]
Merge "Always include uid as part of recentApp key" into qt-dev

5 years agoMerge "Update enroll to match mocks" into qt-dev
Kevin Chyn [Wed, 15 May 2019 22:34:40 +0000 (22:34 +0000)]
Merge "Update enroll to match mocks" into qt-dev

5 years agoMerge "Add empty check for path in UsageGraph" into qt-dev
Lei Yu [Wed, 15 May 2019 22:05:18 +0000 (22:05 +0000)]
Merge "Add empty check for path in UsageGraph" into qt-dev

5 years agoMerge "Fix preview image alignment issue due to clip padding." into qt-dev
TreeHugger Robot [Wed, 15 May 2019 22:01:06 +0000 (22:01 +0000)]
Merge "Fix preview image alignment issue due to clip padding." into qt-dev

5 years agoMerge "Replace system navigation animations will smaller files" into qt-dev
TreeHugger Robot [Wed, 15 May 2019 21:17:13 +0000 (21:17 +0000)]
Merge "Replace system navigation animations will smaller files" into qt-dev

5 years agoFix preview image alignment issue due to clip padding.
Fan Zhang [Wed, 15 May 2019 20:13:10 +0000 (13:13 -0700)]
Fix preview image alignment issue due to clip padding.

CaptionPropertiesFragment is using a non-standard way to display preview
images. Changed to use LayoutPreference.

Bug: 132797057
Test: visual
Change-Id: I92bfd38e2880226d7385e98ed871dad4e1f30e42

5 years agoUpdate enroll to match mocks
Kevin Chyn [Wed, 15 May 2019 19:51:13 +0000 (12:51 -0700)]
Update enroll to match mocks

Test: manual
Fixes: 132803438
Change-Id: I99a10e60833a31b71abf8fdbf7e426e9867a1cf5

5 years agoRe enable remove button after cancel
joshmccloskey [Wed, 15 May 2019 19:44:14 +0000 (12:44 -0700)]
Re enable remove button after cancel

Fixes: 132753128
Test: Manual.
Change-Id: I36ef74455dc8ceca52dfbc8d0e6fbef770b2533d

5 years agoAlways include uid as part of recentApp key
Beverly [Mon, 13 May 2019 20:39:21 +0000 (16:39 -0400)]
Always include uid as part of recentApp key

- so that work apps are also tracked

Test: atest RecentNotifyingAppsPreferenceControllerTest
Fixes: 132183578
Change-Id: Iceb9604674a3525b93c1cdde6e32a3a83b813866

5 years agoAdd empty check for path in UsageGraph
Lei Yu [Wed, 15 May 2019 18:14:14 +0000 (11:14 -0700)]
Add empty check for path in UsageGraph

If path is empty, skip method since there is nothing to draw.

Bug: 132728523
Test: RunSettingsRoboTests
Change-Id: I6fdb7c2f69d3d658c47b58c7304cfeb7d4010a46

5 years agoReplace system navigation animations will smaller files
Mehdi Alizadeh [Wed, 15 May 2019 18:05:12 +0000 (11:05 -0700)]
Replace system navigation animations will smaller files

Bug: 130915285
Test: Manual test
Change-Id: I902177c5f5c0d56f463fbc4e9532c70581fe9154

5 years agoPlay vibration preview when turning on vibration
Alexey Kuzmin [Wed, 15 May 2019 16:03:48 +0000 (17:03 +0100)]
Play vibration preview when turning on vibration

Bug: 130332550
Test: Go to Settings > Accessibility > Vibration. Set vibration strength
to some value, then set it to off, then set it back to the previous
value. The vibration preview should be played

Change-Id: Ie28efe01fc4df5356cc0d316c1a88e518f81df41

5 years agoFix usage hint of ringtone vibration preview
Alexey Kuzmin [Wed, 15 May 2019 13:56:16 +0000 (14:56 +0100)]
Fix usage hint of ringtone vibration preview

Bug: 130332550
Test: Go to Settings > Accessibility > Vibration > Notification
vibration, set it to off. Go to Settings > Accessibility > Vibration >
Ring vibration, and switch it a couple times. The preview effect should
be played

Change-Id: Ida4f04bb92873120c0f958d298ec31c8fb5dab97