OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoFixed spacing on Intro & Edu screens
joshmccloskey [Thu, 9 May 2019 23:01:13 +0000 (16:01 -0700)]
Fixed spacing on Intro & Edu screens

Test: It builds.
Fixes: 132370812
Change-Id: I7bfa8a7eae91ad9b0fc9b19c9a6bc019f884e729

5 years agoMerge "Make preview image not selectable" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 21:22:18 +0000 (21:22 +0000)]
Merge "Make preview image not selectable" into qt-dev

5 years agoMerge "Fix mirrored arrow issue for RTL" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 20:33:26 +0000 (20:33 +0000)]
Merge "Fix mirrored arrow issue for RTL" into qt-dev

5 years agoMerge "Update strings used in SAW unsupported screen" into qt-dev
Zhi An Ng [Thu, 9 May 2019 19:29:33 +0000 (19:29 +0000)]
Merge "Update strings used in SAW unsupported screen" into qt-dev

5 years agoUpdate strings used in SAW unsupported screen
Ng Zhi An [Thu, 9 May 2019 17:43:53 +0000 (10:43 -0700)]
Update strings used in SAW unsupported screen

Bug: 132183451
Test: adb shell am start-activity -a android.settings.action.MANAGE_OVERLAY_PERMISSION
Change-Id: Ia840b82838bed43234572c4a08bd56b97f391a5b

5 years agoMerge "Fix robolectric test error" into qt-dev
Raff Tsai [Thu, 9 May 2019 19:01:20 +0000 (19:01 +0000)]
Merge "Fix robolectric test error" into qt-dev

5 years agoMake preview image not selectable
Beth Thibodeau [Thu, 9 May 2019 18:38:24 +0000 (14:38 -0400)]
Make preview image not selectable

Fixes: 132050099
Test: manual
Change-Id: I102ced947d352901f5bdbf34eeeba98ab0a32cca

5 years agoMerge "Display profile picker for content capture settings." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 18:27:37 +0000 (18:27 +0000)]
Merge "Display profile picker for content capture settings." into qt-dev

5 years agoMerge "Catch another exception when we are building slices data for search" into...
TreeHugger Robot [Thu, 9 May 2019 17:45:10 +0000 (17:45 +0000)]
Merge "Catch another exception when we are building slices data for search" into qt-dev

5 years agoMerge "Change inactive backup UI to show "Disabled by admin"" into qt-dev
Annie Meng [Thu, 9 May 2019 09:20:03 +0000 (09:20 +0000)]
Merge "Change inactive backup UI to show "Disabled by admin"" into qt-dev

5 years agoFix mirrored arrow issue for RTL
Yanting Yang [Thu, 9 May 2019 07:29:40 +0000 (15:29 +0800)]
Fix mirrored arrow issue for RTL

There is no mirrored arrow for RTL in Settings after applying icon
overlays for theming (b/131346125), add autoMirrored attr to fix it.

Fixes: 132174923
Test: visual
Change-Id: I6e70c39c00a5859e49b3a4dce493ea9ccac0417a

5 years agoFix robolectric test error
Raff Tsai [Thu, 9 May 2019 03:36:35 +0000 (11:36 +0800)]
Fix robolectric test error

Bug: 132302277
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.AdaptiveSleepPreferenceControllerTest"
Change-Id: I6c823298d8e346eb2e87686a691dc4a2536423f6

5 years agoCatch another exception when we are building slices data for search
tmfang [Mon, 29 Apr 2019 05:32:22 +0000 (13:32 +0800)]
Catch another exception when we are building slices data for search

We lose chance to build all Settings slices if we got an exception
when settings was creating slice data for controllers.
We should make sure the process goes well even we got an exception
on an incorrect controller.

Also, we log exceptions for each catch.

Bug: 131449561
Test: Open Settings search and then we can see slice for some
search result.

Change-Id: Iac9f0e0a187f6d10cf53886afeb9cab479b6ce02

5 years agoMerge "Fix WebViewAppPickerTest" into qt-dev
TreeHugger Robot [Thu, 9 May 2019 02:00:26 +0000 (02:00 +0000)]
Merge "Fix WebViewAppPickerTest" into qt-dev

5 years agoMerge "Fix back arrow in wifi settings "connect to this network connection qr code...
Arc Wang [Thu, 9 May 2019 01:29:48 +0000 (01:29 +0000)]
Merge "Fix back arrow in wifi settings "connect to this network connection qr code" does not work" into qt-dev

5 years agoMerge "Add margin 24dp to the error message of Wi-Fi QR code scanner" into qt-dev
Arc Wang [Thu, 9 May 2019 01:29:25 +0000 (01:29 +0000)]
Merge "Add margin 24dp to the error message of Wi-Fi QR code scanner" into qt-dev

5 years agoMerge "Update summary for mobile data toggle for CBRS." into qt-dev
TreeHugger Robot [Thu, 9 May 2019 00:51:31 +0000 (00:51 +0000)]
Merge "Update summary for mobile data toggle for CBRS." into qt-dev

5 years ago[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings...
Jonathan Scott [Wed, 8 May 2019 23:56:02 +0000 (16:56 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am: b985aa2f29 am: 133337b4dc am: 7d86790c7b am: 003ce809c6 skipped: 333afb4357 am: bd3672b2d8 am: 9f280a15a2 am: 306ff7e3a9 -s ours
am: 550496d236 -s ours
am skip reason: subject contains skip directive

Change-Id: I2571156e2d9a07fdae9e5685dd3edc6c6fb18849

5 years agoMerge changes from topic "Face Intro Changes" into qt-dev
Kevin Chyn [Wed, 8 May 2019 23:55:22 +0000 (23:55 +0000)]
Merge changes from topic "Face Intro Changes" into qt-dev

* changes:
  Added Face Enroll Education Screen
  Updated Face Enroll Introduction

5 years ago[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings...
Jonathan Scott [Wed, 8 May 2019 23:25:48 +0000 (16:25 -0700)]
[automerger skipped] [automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am: b985aa2f29 am: 133337b4dc am: 7d86790c7b am: 003ce809c6 skipped: 333afb4357 am: bd3672b2d8 am: 9f280a15a2
am: 306ff7e3a9 -s ours
am skip reason: subject contains skip directive

Change-Id: If66c539a683b4edeeca60140fb6c85eed1902d99

5 years ago[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent...
Jonathan Scott [Wed, 8 May 2019 23:09:26 +0000 (16:09 -0700)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am: b985aa2f29 am: 133337b4dc am: 7d86790c7b am: 003ce809c6 skipped: 333afb4357 am: bd3672b2d8
am: 9f280a15a2

Change-Id: I2dae0b0e41b34480c99a81fd3c05014e5ec43f33

5 years agoUpdate summary for mobile data toggle for CBRS.
Andrew Sapperstein [Wed, 8 May 2019 22:55:04 +0000 (15:55 -0700)]
Update summary for mobile data toggle for CBRS.

Fixes: 127529917
Test: robotests
Change-Id: Id2d0bdbcf9674106a3dff8db8e9ceb22dbdda314

5 years ago[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent...
Jonathan Scott [Wed, 8 May 2019 22:43:07 +0000 (15:43 -0700)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am: b985aa2f29 am: 133337b4dc am: 7d86790c7b am: 003ce809c6 skipped: 333afb4357
am: bd3672b2d8

Change-Id: I9157d6fd4afc3426142dbfbbdc9a57aceb2b7d7f

5 years agoMerge "Increase char limit as requested by i18n team" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 21:26:14 +0000 (21:26 +0000)]
Merge "Increase char limit as requested by i18n team" into qt-dev

5 years agoMerge "Clear preferences when dialog acknowledged and increase order" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 21:12:52 +0000 (21:12 +0000)]
Merge "Clear preferences when dialog acknowledged and increase order" into qt-dev

5 years agoMerge "Increate max height of sliceView" into qt-dev
Lei Yu [Wed, 8 May 2019 21:02:22 +0000 (21:02 +0000)]
Merge "Increate max height of sliceView" into qt-dev

5 years ago[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent...
Android Build Merger (Role) [Wed, 8 May 2019 20:51:48 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am: b985aa2f29 am: 133337b4dc am: 7d86790c7b am: 003ce809c6 skipped: 333afb4357

Change-Id: If8d375a600b9db7b011b08770ad6e7fbf29073c4

5 years ago[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent...
Android Build Merger (Role) [Wed, 8 May 2019 20:51:45 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am: b985aa2f29 am: 133337b4dc am: 7d86790c7b am: 003ce809c6

Change-Id: Ief43c33183fa5f24cf3bd9f26c9d7362d235492e

5 years ago[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent...
Android Build Merger (Role) [Wed, 8 May 2019 20:51:43 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am: b985aa2f29 am: 133337b4dc am: 7d86790c7b

Change-Id: I89b5b93b63beb9f52e5799c822edccf208158f39

5 years ago[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent...
Android Build Merger (Role) [Wed, 8 May 2019 20:51:40 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am: b985aa2f29 am: 133337b4dc

Change-Id: Ibb0d6c1d0253c78160d66e27a2847192c19d10d1

5 years ago[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent...
Android Build Merger (Role) [Wed, 8 May 2019 20:51:37 +0000 (20:51 +0000)]
[automerger] [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks. am: b985aa2f29

Change-Id: Iee20bc7fe4fe756b87c9231689792ab50f8a76bc

5 years ago[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks.
Jonathan Scott [Tue, 7 May 2019 16:20:00 +0000 (17:20 +0100)]
[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with lock tasks.

Bug: 127605586
Test: Manual
Change-Id: I4186c2d57b42b6e3d27013f2c9708fca56c561fe
Merged-In: I1cdd82bea4dc9e4182694b061a7746aa83dabdfe

5 years agoMerge "Re-enable the test" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 20:29:38 +0000 (20:29 +0000)]
Merge "Re-enable the test" into qt-dev

5 years agoMerge "Display settings homepage content fully edge-to-edge" into qt-dev
Fan Zhang [Wed, 8 May 2019 20:26:31 +0000 (20:26 +0000)]
Merge "Display settings homepage content fully edge-to-edge" into qt-dev

5 years agoMerge "[automerger skipped] Merge "[RESTRICT AUTOMERGE] Make ScreenPinningSettings...
Android Build Merger (Role) [Wed, 8 May 2019 20:20:20 +0000 (20:20 +0000)]
Merge "[automerger skipped] Merge "[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskController." into pi-dev am: db98a8edec -s ours am skip reason: subject contains skip directive" into qt-dev

5 years agoMerge "Add null check when restart batteryinfo loader" into qt-dev
Lei Yu [Wed, 8 May 2019 20:18:11 +0000 (20:18 +0000)]
Merge "Add null check when restart batteryinfo loader" into qt-dev

5 years ago[automerger skipped] Merge "[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour...
Jonathan Scott [Wed, 8 May 2019 20:17:58 +0000 (13:17 -0700)]
[automerger skipped] Merge "[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskController." into pi-dev
am: db98a8edec -s ours
am skip reason: subject contains skip directive

Change-Id: Ibd95dd35f7efcc5d2605799bfa65b3b296be7d88

5 years agoMerge "[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with...
TreeHugger Robot [Wed, 8 May 2019 20:00:27 +0000 (20:00 +0000)]
Merge "[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskController." into pi-dev

5 years agoClear preferences when dialog acknowledged and increase order
Salvador Martinez [Wed, 8 May 2019 19:28:43 +0000 (12:28 -0700)]
Clear preferences when dialog acknowledged and increase order

This CL makes it so that the order on the seekbar is increased
to a very large value to ensure it gets added to the end in the
case where a refresh is triggered due to the first time battery
saver dialog. Additionally it clears the preferences on the screen
when we receive confirmation to ensure that no caching can cause
the seekbar ot show up on top of other preferences.

Test: atest BatterySaverScheduleSeekBarControllerTest
Bug: 132107662
Change-Id: I26bf2772ed7135daa4879bca17e0ecfc22a2d0dd

5 years agoMerge "Update datausage for DataUsagePreferenceController" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 19:20:13 +0000 (19:20 +0000)]
Merge "Update datausage for DataUsagePreferenceController" into qt-dev

5 years agoAdded Face Enroll Education Screen
joshmccloskey [Tue, 7 May 2019 04:42:14 +0000 (21:42 -0700)]
Added Face Enroll Education Screen

Test: Builds
Bug: 131774352
Fixes: 131857742

Change-Id: Ib384b9efaf053b405ce3f55e449dd6abb9e75296

5 years agoIncrease char limit as requested by i18n team
Beth Thibodeau [Wed, 8 May 2019 19:01:32 +0000 (15:01 -0400)]
Increase char limit as requested by i18n team

Fixes: 132257773
Test: mp settingsg

Change-Id: I4c5c21899bb9fa61f8f8b32cd56dc57288e282bd

5 years agoMerge "Use correct constants for Global Actions Panel settings." into qt-dev
Aran Ink [Wed, 8 May 2019 18:56:26 +0000 (18:56 +0000)]
Merge "Use correct constants for Global Actions Panel settings." into qt-dev

5 years agoDisplay settings homepage content fully edge-to-edge
Fan Zhang [Tue, 7 May 2019 22:14:09 +0000 (15:14 -0700)]
Display settings homepage content fully edge-to-edge

This is needed to support fully gesture navigation.

Bug: 132182711
Test: visual
Change-Id: Ifaf15ecec73b974356355a74e73754f95b84ad3e

5 years agoMerge "Fix two problems related to data connectivity in the multi-SIM header" into...
TreeHugger Robot [Wed, 8 May 2019 18:31:39 +0000 (18:31 +0000)]
Merge "Fix two problems related to data connectivity in the multi-SIM header" into qt-dev

5 years agoAdd null check when restart batteryinfo loader
Lei Yu [Wed, 8 May 2019 18:12:55 +0000 (11:12 -0700)]
Add null check when restart batteryinfo loader

Even though we unregister contentObserver in onPause and register
in onResume, callback still be called while fragment is detached.

Anyhow add a null check in settings to stop crash

Fixes: 131905853
Test: RunSettingsRoboTests
Change-Id: I8c0c2c04c3b8d942e0c97cf71a7d3e735a24b467

5 years agoRe-enable the test
Alex Salo [Wed, 1 May 2019 17:10:21 +0000 (10:10 -0700)]
Re-enable the test

Update the test to handle new API and simplify the logic in the
controller.

Bug: 130897305
Test: make RunSettingsRoboTests -j64

Change-Id: I0c46ff22d4a3bf913add753f85a24af9aeee0a33

5 years agoUpdate datausage for DataUsagePreferenceController
Lei Yu [Mon, 6 May 2019 23:35:19 +0000 (16:35 -0700)]
Update datausage for DataUsagePreferenceController

Data usage number was wrong because we didn't set correct
subId, this CL fixes this issue.

Bug: 132113657
Test: RunSettingsRoboTests
Change-Id: If7c9cf2f4709d9a8e5f9a154c02de9484800d6d5

5 years agoMerge "Add flag to disable part of event_logging in Settings." into qt-dev
TreeHugger Robot [Wed, 8 May 2019 17:15:03 +0000 (17:15 +0000)]
Merge "Add flag to disable part of event_logging in Settings." into qt-dev

5 years agoMerge "Show admin dialog when preference is disabled by Device Admin" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 17:03:42 +0000 (17:03 +0000)]
Merge "Show admin dialog when preference is disabled by Device Admin" into qt-dev

5 years agoMerge "[PATCH] Buttons in storage settings" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 16:35:12 +0000 (16:35 +0000)]
Merge "[PATCH] Buttons in storage settings" into qt-dev

5 years agoMerge "Add null check before setting the visibility of swipe background" into qt-dev
TreeHugger Robot [Wed, 8 May 2019 16:34:32 +0000 (16:34 +0000)]
Merge "Add null check before setting the visibility of swipe background" into qt-dev

5 years agoChange inactive backup UI to show "Disabled by admin"
Annie Meng [Wed, 8 May 2019 14:18:10 +0000 (15:18 +0100)]
Change inactive backup UI to show "Disabled by admin"

Change text displayed when backup is inactive for a user from "Backup
service isn't active" to "Disabled by admin".

Bug: 131296047
Test: Make backup inactive, check UI (primary and work profile)
Change-Id: I087755fa1e79564d320fe1fa62de92e3dc40a343

5 years agoMerge "Create Settings preference for Global Actions Panel." into qt-dev
Aran Ink [Wed, 8 May 2019 14:16:07 +0000 (14:16 +0000)]
Merge "Create Settings preference for Global Actions Panel." into qt-dev

5 years ago[automerger skipped] Treat mode_default as denied for install_unknown_apps am: 4b78bc...
Christopher Dombroski [Wed, 8 May 2019 05:00:45 +0000 (22:00 -0700)]
[automerger skipped] Treat mode_default as denied for install_unknown_apps am: 4b78bcd5cd am: aebc5bbc94 am: 1d163af113
am: 6b34347b4c -s ours
am skip reason: change_id Ieeb6456854cc3d0faa0e9c407accd94f56a25813 with SHA1 d3864daebd is in history

Change-Id: I79dcfa95d120b6b03c71d426fc3c3efb0bf4e6c0

5 years agoTreat mode_default as denied for install_unknown_apps am: 4b78bcd5cd am: aebc5bbc94
Christopher Dombroski [Wed, 8 May 2019 04:15:40 +0000 (21:15 -0700)]
Treat mode_default as denied for install_unknown_apps am: 4b78bcd5cd am: aebc5bbc94
am: 1d163af113

Change-Id: Icdbf3b7a403270384d92a0a9fed1326ca16b232f

5 years agoAdd null check before setting the visibility of swipe background
Yi-Ling Chuang [Wed, 8 May 2019 03:34:40 +0000 (11:34 +0800)]
Add null check before setting the visibility of swipe background

Some contextual cards does not allow card dismissal, so they won't have
swipe background declared in the layout file. Add null check to prevent
from NPE.

Fixes: 132209310
Test: robotests & launch Settings
Change-Id: I31f897f445c4901d007c8187fe69aea416b915d1

5 years agoMerge "Disable settings preferences when the packages do not exist" into qt-dev
Winson Chung [Wed, 8 May 2019 03:47:09 +0000 (03:47 +0000)]
Merge "Disable settings preferences when the packages do not exist" into qt-dev

5 years agoTreat mode_default as denied for install_unknown_apps am: 4b78bcd5cd
Christopher Dombroski [Wed, 8 May 2019 03:20:44 +0000 (20:20 -0700)]
Treat mode_default as denied for install_unknown_apps am: 4b78bcd5cd
am: aebc5bbc94

Change-Id: Ia0b46cf2ff284b149df14451b04e1d2b935e4942

5 years agoTreat mode_default as denied for install_unknown_apps
Christopher Dombroski [Wed, 8 May 2019 02:14:43 +0000 (19:14 -0700)]
Treat mode_default as denied for install_unknown_apps
am: 4b78bcd5cd

Change-Id: I09e4fa32947b51a6614012ae3f42062416ca086e

5 years agoAdd margin 24dp to the error message of Wi-Fi QR code scanner
Arc Wang [Wed, 8 May 2019 01:53:15 +0000 (09:53 +0800)]
Add margin 24dp to the error message of Wi-Fi QR code scanner

Bug: 131628073
Test: manual
Change-Id: I8eaf461efbc8e3c44952d92b151ca621c4640bc1

5 years agoMerge "Add an interface that returns time spent text for app." into qt-dev
TreeHugger Robot [Wed, 8 May 2019 00:11:32 +0000 (00:11 +0000)]
Merge "Add an interface that returns time spent text for app." into qt-dev

5 years agoFix two problems related to data connectivity in the multi-SIM header
Antony Sargent [Tue, 7 May 2019 23:01:09 +0000 (16:01 -0700)]
Fix two problems related to data connectivity in the multi-SIM header

When you have multiple active SIMs, the Network & internet page has a
header showing entries for each one, with summary text indicating which
one is used for data (and whether it is just set as the default, or
actively using data). We were not properly setting this text when either
data wasn't being used, eg when connected to wifi, or mobile data was
disabled for this SIM. This CL fixes both these problems by adding new
helper classes to listen for relevant events.

Test: make RunSettingsRoboTests
Fixes: 124394250
Fixes: 128857712
Change-Id: I34f2679752fa41a50247dd0b12581cbfd77a34f6

5 years agoUpdated Face Enroll Introduction
joshmccloskey [Mon, 6 May 2019 22:11:34 +0000 (15:11 -0700)]
Updated Face Enroll Introduction

Test: Builds.
Bug: 131774204
Change-Id: Ibccd54185b9d8ffbfd2678be1c8680ffb1699425

5 years ago[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskCon...
Jonathan Scott [Tue, 30 Apr 2019 14:52:52 +0000 (15:52 +0100)]
[RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskController.

Bug: 127605586
Test: Manual
Change-Id: Id85632b5e6975fc5f92d6e8126a6603a07f097e1

5 years agoAdd flag to disable part of event_logging in Settings.
Fan Zhang [Tue, 7 May 2019 20:43:38 +0000 (13:43 -0700)]
Add flag to disable part of event_logging in Settings.

- Fork SettingsEventLogWriter from EventLogWritter. This is identical to
the base class except it overrides some logging method with a flag
check.  We can't entirely disable event_log logging because some of the stuff
being logged will not exist in stats_log, for example paired metadata.

Bug: 129697155
Test: robotest
Change-Id: I9cd46bbb54cb85737bbf7760e315c1fe34f77498

5 years agoMerge "Hide display white balance setting depending on accessibility" into qt-dev
Daniel Solomon [Tue, 7 May 2019 21:19:36 +0000 (21:19 +0000)]
Merge "Hide display white balance setting depending on accessibility" into qt-dev

5 years agoUse correct constants for Global Actions Panel settings.
Aran Ink [Tue, 7 May 2019 20:36:56 +0000 (16:36 -0400)]
Use correct constants for Global Actions Panel settings.

Test: Automated tests pass. Manual testing allows enabling/disabling of secure setting via Settings preference.

Fixes: 132182180
Fixes: 132184167
Change-Id: I62caccfe64e073c95b0c0f8a42e5728cf7f3c1ca

5 years agoCreate Settings preference for Global Actions Panel.
Aaron Heuckroth [Thu, 2 May 2019 15:04:42 +0000 (11:04 -0400)]
Create Settings preference for Global Actions Panel.

Test: Automated tests pass.

Bug: 127295457
Change-Id: I6502d4c8541a3f279fb96d5f050f13890db8f376

5 years agoDisable settings preferences when the packages do not exist
Winson Chung [Thu, 2 May 2019 23:43:34 +0000 (16:43 -0700)]
Disable settings preferences when the packages do not exist

Bug: 131273934
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationLegacyPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationSwipeUpPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationEdgeToEdgePreferenceControllerTest
Change-Id: I5b12831d0eacbaa9c8b13d7a7b380b8c99f20009

5 years agoIncreate max height of sliceView
Lei Yu [Tue, 7 May 2019 19:50:30 +0000 (12:50 -0700)]
Increate max height of sliceView

To make sure it can have 8 devices at maximum.

Fixes: 130357332
Test: Manual
Change-Id: I4274a04d1dd8447b9b5904a77af2723e4637f22a

5 years agoMerge "Remove animator on app list." into qt-dev
Fan Zhang [Tue, 7 May 2019 19:05:39 +0000 (19:05 +0000)]
Merge "Remove animator on app list." into qt-dev

5 years agoMerge "Update SliceViewStyle background color" into qt-dev
Linda Tseng [Tue, 7 May 2019 18:55:31 +0000 (18:55 +0000)]
Merge "Update SliceViewStyle background color" into qt-dev

5 years agoDisplay profile picker for content capture settings.
Adam He [Fri, 3 May 2019 23:53:57 +0000 (16:53 -0700)]
Display profile picker for content capture settings.

Fixes: 131748579
Test: manual verification
Change-Id: Iccce8aab8eb3596cb195d64d5711e9407a844541

5 years agoShow admin dialog when preference is disabled by Device Admin
Edgar Wang [Tue, 30 Apr 2019 03:58:32 +0000 (11:58 +0800)]
Show admin dialog when preference is disabled by Device Admin

Fixes: 130694312
Test: manual & robotest
Change-Id: I9c6487ac056ec3d784bd6f6901e96869e27e0b3e

5 years agoMerge "Hide dismissal swipe background before slice gets ready" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 15:34:24 +0000 (15:34 +0000)]
Merge "Hide dismissal swipe background before slice gets ready" into qt-dev

5 years agoMerge "Adapts P2P settings to work with with new MAC privacy restrictions." into...
Bram Bonné [Tue, 7 May 2019 14:02:04 +0000 (14:02 +0000)]
Merge "Adapts P2P settings to work with with new MAC privacy restrictions." into qt-dev

5 years agoFix back arrow in wifi settings "connect to this network connection qr code" does...
Arc Wang [Tue, 7 May 2019 10:06:54 +0000 (18:06 +0800)]
Fix back arrow in wifi settings "connect to this network connection qr code" does not work

When clicking back button, pop fragment and Finish the activity if there is nothing to pop

Bug: 132132756
Test: atest WifiDppConfiguratorActivityTest
Change-Id: Ia16951e79e578f1625e5fadd26553735fa90bffa

5 years agoHide dismissal swipe background before slice gets ready
Yi-Ling Chuang [Mon, 6 May 2019 11:03:39 +0000 (19:03 +0800)]
Hide dismissal swipe background before slice gets ready

Only make swipe background visible once slice has a successfual binding.

Bug: 131843256
Test: robotests
Change-Id: I7866873a217e8ca882634a48108939022713c87b

5 years agoMerge "Change the attributes of SwitchBar and ToggleSwitch" into qt-dev
Kevin Chang [Tue, 7 May 2019 08:53:28 +0000 (08:53 +0000)]
Merge "Change the attributes of SwitchBar and ToggleSwitch" into qt-dev

5 years agoMerge "Fix no touch feedback present on the settings suggestion card." into qt-dev
Stanley Wang [Tue, 7 May 2019 07:45:31 +0000 (07:45 +0000)]
Merge "Fix no touch feedback present on the settings suggestion card." into qt-dev

5 years agoMerge "ANR observed under settings when trying to reset network settings" into qt-dev
Raff Tsai [Tue, 7 May 2019 04:40:34 +0000 (04:40 +0000)]
Merge "ANR observed under settings when trying to reset network settings" into qt-dev

5 years agoMerge "Change the string of Captions and reorder the feature in audio category" into...
Kevin Chang [Tue, 7 May 2019 03:47:51 +0000 (03:47 +0000)]
Merge "Change the string of Captions and reorder the feature in audio category" into qt-dev

5 years agoChange the attributes of SwitchBar and ToggleSwitch
Kevin Chang [Mon, 29 Apr 2019 03:21:02 +0000 (11:21 +0800)]
Change the attributes of SwitchBar and ToggleSwitch

Change the focusable and clickable of SwitchBar and ToggleSwitch
to avoid multiple focus with TalkBack

Bug: 124334500
Bug: 128475156
Test: Visual
Change-Id: I13003f4e17d4c76644f87095c140f005b38889af

5 years agoMerge "Add subtext for Wi-Fi items on Wi-Fi slice" into qt-dev
TreeHugger Robot [Tue, 7 May 2019 02:45:19 +0000 (02:45 +0000)]
Merge "Add subtext for Wi-Fi items on Wi-Fi slice" into qt-dev

5 years agoUpdate SliceViewStyle background color
lindatseng [Mon, 6 May 2019 23:24:08 +0000 (16:24 -0700)]
Update SliceViewStyle background color

Update android:background color in SliceViewStle to make it have correct
color when Panel is in dark mode.  Use the attr which will change
depends on theme, rather than contextual card background which is
defined by settings, to make it correct in more general case.

Fixes: 131927006
Test: Manual
Change-Id: I38733f5a53d38f70f925268efea7592bd0f48260

5 years ago[PATCH] Buttons in storage settings
JeiFeng Lee [Thu, 2 May 2019 00:32:01 +0000 (08:32 +0800)]
[PATCH] Buttons in storage settings

Due to changes in layout of storage wizard base,
2 extra buttons are shown on progress screen while formatting SD card
and also on other screens which have storage wizard base as their super class.
Hence when these buttons were clicked unsupported exception takes place.
Hide these unnecessary next/back buttons from all screen so that user cannot click these.

Fixes: 131779469
Test: manual
Change-Id: I235a180627e68bbb38f4ed4e7ac58ae38838c8d7
Signed-off-by: JeiFeng Lee <linger.lee@mediatek.com>
5 years agoMerge "Clean up import in homepage" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 20:28:37 +0000 (20:28 +0000)]
Merge "Clean up import in homepage" into qt-dev

5 years agoMerge "New NIM animation" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 19:33:36 +0000 (19:33 +0000)]
Merge "New NIM animation" into qt-dev

5 years agoMerge "Add log for manual network select settings" into qt-dev
Pengquan Meng [Mon, 6 May 2019 18:15:02 +0000 (18:15 +0000)]
Merge "Add log for manual network select settings" into qt-dev

5 years agoAdapts P2P settings to work with with new MAC privacy restrictions.
Bram Bonné [Mon, 29 Apr 2019 11:24:36 +0000 (13:24 +0200)]
Adapts P2P settings to work with with new MAC privacy restrictions.

With change ag/7340724, the device's P2P MAC adress will no longer be
included as part of the WIFI_P2P_THIS_DEVICE_CHANGED_ACTION broadcast.
This change makes WifiP2pSettings request the device info after
receiving that broadcast, to make it aware of the device's MAC.

Bug: 132055766
Test: atest
/media/sdb1/android/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
Test: Open Wi-Fi Direct settings, clear device name, observe that the
device's MAC is displayed.

Change-Id: I524afb0c8061c90cd775af422b542213cf14640a

5 years agoFix WebViewAppPickerTest
tmfang [Mon, 6 May 2019 07:14:03 +0000 (15:14 +0800)]
Fix WebViewAppPickerTest

- Also do some minor refactoring

Test: robotest
Fixes: 131921277
Change-Id: I8de2e1b9b384ef9722bbe95111b86193fddb83d5

5 years agoLimit the number of permissions being displayed.
Yi-Ling Chuang [Mon, 6 May 2019 06:12:00 +0000 (14:12 +0800)]
Limit the number of permissions being displayed.

To avoid a long permission summary, let's limit the number to three.

Fixes: 117978938
Test: robotests
Change-Id: Id83fac7ad91140b22757d3e6e8eb72d86ad6ad42

5 years agoMerge "Use PermissionControllerManager to get permission groups" into qt-dev
TreeHugger Robot [Mon, 6 May 2019 02:39:13 +0000 (02:39 +0000)]
Merge "Use PermissionControllerManager to get permission groups" into qt-dev

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

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 5 May 2019 04:38:56 +0000 (21:38 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I83ccb7a7e4790d44a1853ea67da9fb43cb84af78

5 years agoMerge "Gentle notifications screen" into qt-dev
Julia Reynolds [Sat, 4 May 2019 20:02:39 +0000 (20:02 +0000)]
Merge "Gentle notifications screen" into qt-dev

5 years agoNew NIM animation
Julia Reynolds [Sat, 4 May 2019 15:03:33 +0000 (11:03 -0400)]
New NIM animation

Test: make
Fixes: 123899489
Change-Id: I8e28d304b17cf5441bd9626924fa1450084062e8

5 years agoGentle notifications screen
Julia Reynolds [Fri, 3 May 2019 02:16:05 +0000 (22:16 -0400)]
Gentle notifications screen

With lockscreen and status bar settings

Test: robo tests
Bug: 128445911
Change-Id: I46c5943d4d8dc1ee74b5b920239f259f5880a2d3

5 years agoMerge "Populate recent notifying apps from usage events" into qt-dev
TreeHugger Robot [Sat, 4 May 2019 14:30:29 +0000 (14:30 +0000)]
Merge "Populate recent notifying apps from usage events" into qt-dev