OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Fix the break of repo hook color check." into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 15:38:03 +0000 (15:38 +0000)]
Merge "Fix the break of repo hook color check." into qt-dev

5 years agoMerge "Show correct text for old zen modes" into qt-dev
Beverly Tai [Fri, 19 Apr 2019 13:17:20 +0000 (13:17 +0000)]
Merge "Show correct text for old zen modes" into qt-dev

5 years agoMerge "Remove odd spacing after the divider" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 07:45:02 +0000 (07:45 +0000)]
Merge "Remove odd spacing after the divider" into qt-dev

5 years agoMerge "Hardware version should should support copy action" into qt-dev
Stanley Wang [Fri, 19 Apr 2019 07:35:46 +0000 (07:35 +0000)]
Merge "Hardware version should should support copy action" into qt-dev

5 years agoFix the break of repo hook color check.
Yi-Ling Chuang [Fri, 19 Apr 2019 05:52:25 +0000 (13:52 +0800)]
Fix the break of repo hook color check.

Add the missing color for notification importance button

Fixes: 130850328
Test: manual
Change-Id: I6c070fad42d5fb0e6d5e3aa00d66b32708dde605

5 years agoMerge "Don't show policy transparency UI for cross-profile setting." into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 05:24:24 +0000 (05:24 +0000)]
Merge "Don't show policy transparency UI for cross-profile setting." into qt-dev

5 years agoHardware version should should support copy action
Stanley Wang [Thu, 18 Apr 2019 12:12:22 +0000 (20:12 +0800)]
Hardware version should should support copy action

Implement isSliceable method in HardwareRevisionPreferenceController

Fixes: 130653205
Test: manual and robotests
Change-Id: Ib872b9625c2c1984ff7b036fef5b3145c7fd8d2a

5 years agoMerge "Update fingerprint suggestion enable state when back pressed" into qt-dev
Cn Chen [Fri, 19 Apr 2019 01:37:13 +0000 (01:37 +0000)]
Merge "Update fingerprint suggestion enable state when back pressed" into qt-dev

5 years agoMerge "Updates to main notification page" into qt-dev
TreeHugger Robot [Fri, 19 Apr 2019 00:57:32 +0000 (00:57 +0000)]
Merge "Updates to main notification page" into qt-dev

5 years agoMerge "Non-blockable whitelist should only control importance fields" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 21:56:02 +0000 (21:56 +0000)]
Merge "Non-blockable whitelist should only control importance fields" into qt-dev

5 years agoMerge "Revert "Add robotest modules for Settings"" into qt-dev
Mill Chen [Thu, 18 Apr 2019 21:49:51 +0000 (21:49 +0000)]
Merge "Revert "Add robotest modules for Settings"" into qt-dev

5 years agoRevert "Add robotest modules for Settings"
Mill Chen [Thu, 18 Apr 2019 21:45:21 +0000 (21:45 +0000)]
Revert "Add robotest modules for Settings"

This reverts commit ce09f5836046a8c987b2ef1cf24be65ccc550d3f.

Reason for revert: will build break on run_host_tests

Bug: 130774632

Change-Id: Id2ee52ffb0689059da9cbdadd5bdae5b6a04a589

5 years agoMerge "Redesign channel listing and channel page" into qt-dev
Julia Reynolds [Thu, 18 Apr 2019 21:34:36 +0000 (21:34 +0000)]
Merge "Redesign channel listing and channel page" into qt-dev

5 years agoMerge "Add correct animation" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 20:26:17 +0000 (20:26 +0000)]
Merge "Add correct animation" into qt-dev

5 years agoMerge "Fix regression of wrong min value on night display slice" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 19:44:43 +0000 (19:44 +0000)]
Merge "Fix regression of wrong min value on night display slice" into qt-dev

5 years agoMerge "Make fingerprint illustrations single color" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 19:38:34 +0000 (19:38 +0000)]
Merge "Make fingerprint illustrations single color" into qt-dev

5 years agoNon-blockable whitelist should only control importance fields
Julia Reynolds [Thu, 18 Apr 2019 18:45:14 +0000 (14:45 -0400)]
Non-blockable whitelist should only control importance fields

Sounds, etc. should still be modifiable

Test: robotests
Fixes: 130086523
Change-Id: I1a95a73b299bb3afd169b249a3dabae3583a448a

5 years agoRedesign channel listing and channel page
Julia Reynolds [Fri, 12 Apr 2019 20:52:40 +0000 (16:52 -0400)]
Redesign channel listing and channel page

Test: atest
Bug: 127796543
Fixes: 129452112
Fixes: 129453207
Change-Id: I1d520c9e35860303235b7ffbb18a76cbc4f4b8bc

5 years agoUpdates to main notification page
Julia Reynolds [Wed, 17 Apr 2019 12:54:38 +0000 (08:54 -0400)]
Updates to main notification page

String updates, images, reordering

Test: manual
Bug: 123899489
Change-Id: Ib7658e427c4868d954dd4cce3779588baaf5a02e

5 years agoMerge "Add Settings keywords for Styles & Wallpaper." into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 18:43:35 +0000 (18:43 +0000)]
Merge "Add Settings keywords for Styles & Wallpaper." into qt-dev

5 years agoMerge "Finalize the adaptive sleep icon" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 18:42:46 +0000 (18:42 +0000)]
Merge "Finalize the adaptive sleep icon" into qt-dev

5 years agoMerge "Move "Build Number" slice to a different controller." into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 18:16:19 +0000 (18:16 +0000)]
Merge "Move "Build Number" slice to a different controller." into qt-dev

5 years agoFix regression of wrong min value on night display slice
lindatseng [Thu, 18 Apr 2019 07:51:23 +0000 (00:51 -0700)]
Fix regression of wrong min value on night display slice

The min value of NightDisplayIntensityPreferenceController
should always be 0 (which is the old value we used before
ag/7062353). The range is cacluated from the relative value
to MinimumColorTemperature, which means the min value should
always be 0.

Test: atest NightDisplayIntensityPreferenceControllerTest
Fixes:130758028
Change-Id: Ica75672dda6a9ee0c6013f1c903611263b7d133f

5 years agoMerge "Prevent bad apps from getting Setting Slices" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 17:38:28 +0000 (17:38 +0000)]
Merge "Prevent bad apps from getting Setting Slices" into qt-dev

5 years agoAdd Settings keywords for Styles & Wallpaper.
Amin Shaikh [Thu, 18 Apr 2019 15:13:01 +0000 (11:13 -0400)]
Add Settings keywords for Styles & Wallpaper.

Reusing existing strings since this is coming in after string freeze.
TODO: create a new keyword string for this preference.

Fixes: 130759285
Test: m RunSettingsRoboTests and searching keywords on device
Change-Id: Ice1bc34b381302745cb55056377cc94ea74e8d50

5 years agoMerge "Let NGA item display above advanced item in the App & Notifications" into...
TreeHugger Robot [Thu, 18 Apr 2019 16:54:58 +0000 (16:54 +0000)]
Merge "Let NGA item display above advanced item in the App & Notifications" into qt-dev

5 years agoMerge "Remove the duplicated search item" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 16:51:56 +0000 (16:51 +0000)]
Merge "Remove the duplicated search item" into qt-dev

5 years agoMerge "[Network Connection] Show full SSID on list item" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 16:51:37 +0000 (16:51 +0000)]
Merge "[Network Connection] Show full SSID on list item" into qt-dev

5 years agoMove "Build Number" slice to a different controller.
Fan Zhang [Wed, 17 Apr 2019 23:25:34 +0000 (16:25 -0700)]
Move "Build Number" slice to a different controller.

There are 2 build number tiles in settings: Android version -> Build
number and About phone -> build number.

The way we index breadcrumb for each slice is making some client
confused. So this change moves the slice capability from Androi
version>BuildNumber to About phone.

Fixes: 130652710
Test: reindex, robotest
Change-Id: I9054d0db124b706e7984cd3d19774bb604bd7fd3

5 years agoPrevent bad apps from getting Setting Slices
Matthew Fritze [Thu, 18 Apr 2019 15:51:17 +0000 (08:51 -0700)]
Prevent bad apps from getting Setting Slices

SettingsSliceProvider no longer allows apps to request permission
from the user for Settings Slices. Instead, the PrimaryAction on the
permission slice will be an intent into Settings.

This is because the dialog for granting apps Settings Slices would act
as a replacement for regular permission dialogs, which we want to avoid.

Fixes: 130795282
Test: robolectrico
Change-Id: I6848215bab2bf10ee5e53814b765d04f04f53f4e

5 years agoDon't show policy transparency UI for cross-profile setting.
Jonathan Scott [Mon, 15 Apr 2019 14:36:17 +0000 (15:36 +0100)]
Don't show policy transparency UI for cross-profile setting.

Also removes the switch if cross-profile calendar is disabled by admin.

Test: atest ManagedProfileSettingsTest
Fixes: 123930863
Change-Id: Ieeb9266e8833d7ca730fedb5e947b03ec7d18d3c

5 years agoRemove the duplicated search item
Sunny Shao [Thu, 18 Apr 2019 09:17:39 +0000 (17:17 +0800)]
Remove the duplicated search item

Disable the searchable of the "Adaptive battery" item in the smart_battery_detail.xml

Fixes: 130656532
Test: Manual View
Change-Id: I95beb97fc09ff6858f7b4e0e576a598c3520db86

5 years agoSet description textview to fixed id
pastychang [Thu, 18 Apr 2019 07:34:06 +0000 (15:34 +0800)]
Set description textview to fixed id

Modify to fixed id for landscape Glif layout and non-glif layout

Test: Manual
Bug: 130707943
Change-Id: I6346817e582c2aac26753b3a985038cb0ca421bc

5 years agoLet NGA item display above advanced item in the App & Notifications
Sunny Shao [Thu, 18 Apr 2019 07:24:48 +0000 (15:24 +0800)]
Let NGA item display above advanced item in the App & Notifications

Change the value of the initialExpandedChildrenCount to 4 and let NGA item to show.

Fixes: 130420794
Test: Manual View
Change-Id: Ic2453944a5eaea0b5fd65e0272bfac64ffbc1eec

5 years agoMerge "Tweak enrollment intro layout" into qt-dev
Kevin Chyn [Thu, 18 Apr 2019 04:09:12 +0000 (04:09 +0000)]
Merge "Tweak enrollment intro layout" into qt-dev

5 years agoUpdate fingerprint suggestion enable state when back pressed
cnchen [Wed, 17 Apr 2019 12:56:45 +0000 (20:56 +0800)]
Update fingerprint suggestion enable state when back pressed

Test: manual test && atest SetupFingerprintEnrollFinishTest
Bug: b/130666973
Change-Id: Ie6be2f6ce77f29c9f25743f92597b5f7297048a9

5 years agoMerge "[PasspointV2] Set summary of saved networks preference" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 00:58:22 +0000 (00:58 +0000)]
Merge "[PasspointV2] Set summary of saved networks preference" into qt-dev

5 years agoMerge "Updated strings for dynamic privacy" into qt-dev
Selim Cinek [Thu, 18 Apr 2019 00:42:55 +0000 (00:42 +0000)]
Merge "Updated strings for dynamic privacy" into qt-dev

5 years agoMerge "Implement context menu for ConnectedAccessPointPreference" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 00:33:41 +0000 (00:33 +0000)]
Merge "Implement context menu for ConnectedAccessPointPreference" into qt-dev

5 years agoMerge "Remove on/off subtext from gesture preferencecontrollers" into qt-dev
TreeHugger Robot [Thu, 18 Apr 2019 00:29:33 +0000 (00:29 +0000)]
Merge "Remove on/off subtext from gesture preferencecontrollers" into qt-dev

5 years agoFinalize the adaptive sleep icon
Alex Salo [Thu, 18 Apr 2019 00:11:30 +0000 (17:11 -0700)]
Finalize the adaptive sleep icon

Bug: 129352433
Test: manually

Change-Id: I00cf2e5e7e8a9ebd60d9aa4e9047c9cd04ec16c7

5 years agoRemove on/off subtext from gesture preferencecontrollers
Fan Zhang [Wed, 17 Apr 2019 20:29:25 +0000 (13:29 -0700)]
Remove on/off subtext from gesture preferencecontrollers

The toggle switch next to the subtitle already shows on/off clearly.

Fixes: 130652619
Fixes: 130652843
Fixes: 130653459
Fixes: 130653297
Test: robo
Change-Id: Ib2396575bbc69a7cca5e9c90e113c76ff6db00b5

5 years agoMerge "Add robotest modules for Settings" into qt-dev
Mill Chen [Wed, 17 Apr 2019 23:42:52 +0000 (23:42 +0000)]
Merge "Add robotest modules for Settings" into qt-dev

5 years agoAdd robotest modules for Settings
Mill Chen [Wed, 17 Apr 2019 19:36:27 +0000 (12:36 -0700)]
Add robotest modules for Settings

Use ROBOTEST_FILTER to divide RunSettingsRoboTests into several smaller
parts.

Bug: 130511490
Test: make -j RunSettingsRoboTests-applications && make -j
RunSettingsRoboTests-wifi

Change-Id: I16ea575877df7a495de9344971421d221e197b89

5 years agoMerge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:34:14 +0000 (21:34 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev

5 years agoMerge "Only get apps with permission granted." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:19:52 +0000 (21:19 +0000)]
Merge "Only get apps with permission granted." into qt-dev

5 years agoMerge "Updated ConfirmDeviceCredential strings" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 21:13:41 +0000 (21:13 +0000)]
Merge "Updated ConfirmDeviceCredential strings" into qt-dev

5 years agoTweak enrollment intro layout
Kevin Chyn [Wed, 17 Apr 2019 20:44:03 +0000 (13:44 -0700)]
Tweak enrollment intro layout

Bug: 130740447

Test: Builds
Change-Id: If3b4ad795588586dcd6fb848bee213df0ae1095e

5 years agoAdd correct animation
Alex Salo [Wed, 17 Apr 2019 19:25:36 +0000 (12:25 -0700)]
Add correct animation

Bug: 129352433
Test: manually
Change-Id: I381059203c477407297765936e48271519852f56

5 years agoUpdated strings for dynamic privacy
Selim Cinek [Thu, 11 Apr 2019 23:06:44 +0000 (16:06 -0700)]
Updated strings for dynamic privacy

In the new world redacted content is also
revealed with smart lock.

Bug: 130227087
Test: observe strings
Change-Id: I69ad8fab65dde5be405d47c4426bee52b0911383

5 years agoOnly get apps with permission granted.
Joel Galenson [Wed, 17 Apr 2019 18:10:48 +0000 (11:10 -0700)]
Only get apps with permission granted.

The subtitle gives the number of apps that can access location, but it
currently collects all apps that request location, including those
that are denied.  Ensure that we only count granted apps.

Bug: 129296799
Test: Open Settings, see the count is much lower.
Change-Id: I9a18bbb62be742731205dab9f5b8e9a703ea030c

5 years agoMerge "Fixed Passpoint network "Not in range" issue and forget button" into qt-dev
Quang Luong [Wed, 17 Apr 2019 17:57:39 +0000 (17:57 +0000)]
Merge "Fixed Passpoint network "Not in range" issue and forget button" into qt-dev

5 years agoMerge "Update strings for the title of lock screen skip dialog" into qt-dev
Maurice Lam [Wed, 17 Apr 2019 17:29:49 +0000 (17:29 +0000)]
Merge "Update strings for the title of lock screen skip dialog" into qt-dev

5 years agoMerge "Turn off debug logging flags" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 17:12:39 +0000 (17:12 +0000)]
Merge "Turn off debug logging flags" into qt-dev

5 years agoMerge "Update summary lines of half condition card" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 17:09:29 +0000 (17:09 +0000)]
Merge "Update summary lines of half condition card" into qt-dev

5 years agoMerge "Default to enable oem-unlocking preference" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 16:54:19 +0000 (16:54 +0000)]
Merge "Default to enable oem-unlocking preference" into qt-dev

5 years agoMerge "Do not special case the storage permission group." into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 14:21:49 +0000 (14:21 +0000)]
Merge "Do not special case the storage permission group." into qt-dev

5 years agoTurn off debug logging flags
Yanting Yang [Wed, 17 Apr 2019 09:34:34 +0000 (17:34 +0800)]
Turn off debug logging flags

Fixes: 130558346
Test: visual
Change-Id: Ie82bfe503f789435a3474697391fdfdeb94864ee

5 years agoUpdate summary lines of half condition card
Yanting Yang [Tue, 16 Apr 2019 09:44:09 +0000 (17:44 +0800)]
Update summary lines of half condition card

To optimize the visual design for regular font size in summary field.

Fixes: 130588679
Test: visual

Change-Id: I89142f403646139b150f38b70b52b0d7b36fed9e

5 years ago[PasspointV2] Set summary of saved networks preference
cosmohsieh [Sun, 14 Apr 2019 07:38:30 +0000 (15:38 +0800)]
[PasspointV2] Set summary of saved networks preference

Summary text of "saved networks" preference has number of both normal
networks and subscriptions

Bug: 130259573
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.WifiSettingsTest
Change-Id: I8bdf41c1a85165298a2ccd9e688c30b0bd593bfa

5 years agoMerge "Add subtitle for Do not disturb" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 09:08:17 +0000 (09:08 +0000)]
Merge "Add subtitle for Do not disturb" into qt-dev

5 years agoMerge "Remove On/Off string from Night light slice" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 09:03:07 +0000 (09:03 +0000)]
Merge "Remove On/Off string from Night light slice" into qt-dev

5 years agoMerge "Fix wrong color for rippleColor" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 08:46:46 +0000 (08:46 +0000)]
Merge "Fix wrong color for rippleColor" into qt-dev

5 years ago[Network Connection] Show full SSID on list item
cosmohsieh [Thu, 11 Apr 2019 03:53:46 +0000 (11:53 +0800)]
[Network Connection] Show full SSID on list item

Long SSID will be cut off, because ellipsized. Show full SSID to gain
better UX.

Bug: 130198869
Test: manual
Change-Id: I14376ff7fb922439a2d664433a94740cc06cd99a
(cherry picked from commit 151d5a3c83be36472c2028689fec24522372da49)

5 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 17 Apr 2019 05:49:49 +0000 (22:49 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I83441773fc8063c0488fe90230b39ad0ff01f0d5

5 years agoUpdate strings for the title of lock screen skip dialog
Pasty Chang [Wed, 17 Apr 2019 03:54:55 +0000 (03:54 +0000)]
Update strings for the title of lock screen skip dialog

First letter should be lowercase

Bug: 129870122
Test: Manual
Change-Id: If6ed383cccf56007691ca24d02919b41f1c69281

5 years agoMerge "Fix string comment" into qt-dev
TreeHugger Robot [Wed, 17 Apr 2019 03:36:26 +0000 (03:36 +0000)]
Merge "Fix string comment" into qt-dev

5 years agoMerge "The labels of button in Wi-Fi input and "skip screen lock" dialog doesn't...
Cyril Lee [Wed, 17 Apr 2019 03:20:29 +0000 (03:20 +0000)]
Merge "The labels of button in Wi-Fi input and "skip screen lock" dialog doesn't apply GlifV3 style" into qt-dev

5 years agoMerge "Retrieve WiFi detail test cases" into qt-dev
Clown SHEN [Wed, 17 Apr 2019 02:48:24 +0000 (02:48 +0000)]
Merge "Retrieve WiFi detail test cases" into qt-dev

5 years agoMerge "Hide 'Share' button and 'Add device' preference for a Passpoint Wi-Fi network...
Arc Wang [Wed, 17 Apr 2019 01:07:12 +0000 (01:07 +0000)]
Merge "Hide 'Share' button and 'Add device' preference for a Passpoint Wi-Fi network" into qt-dev

5 years agoFix string comment
Kevin Chyn [Wed, 17 Apr 2019 00:02:17 +0000 (17:02 -0700)]
Fix string comment

Bug: 130642861

Test: Builds
Change-Id: Ib889b1a69b5225579ffad6f63b0d98ded9841614

5 years agoDo not special case the storage permission group.
Joel Galenson [Tue, 16 Apr 2019 22:44:52 +0000 (15:44 -0700)]
Do not special case the storage permission group.

We are now not showing storage usages in Permission Controller,
including in the API Settings uses.  We can thus remove this code so
that Settings will reflect what Permissions Hub shows.

Bug: 130567526
Test: See the same graph here and in the dashboard.
Change-Id: Iaa7d95b05f4321543ed42833ac3a7babdb9914f0

5 years agoMerge "Check for attention permissions" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 22:02:43 +0000 (22:02 +0000)]
Merge "Check for attention permissions" into qt-dev

5 years agoUpdated ConfirmDeviceCredential strings
joshmccloskey [Tue, 16 Apr 2019 03:46:50 +0000 (20:46 -0700)]
Updated ConfirmDeviceCredential strings

Test: Verified with BiometricPromptdemo that pin/pattern/pass
show up correctly.
Fixes: 129797243
Change-Id: Ib075d6742f7e2ad03e491132ae9506dce67558fc

5 years agoMerge "Enforce min value on panel slices slider" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 21:18:05 +0000 (21:18 +0000)]
Merge "Enforce min value on panel slices slider" into qt-dev

5 years agoMerge "Hide Mobile preference for secondary user" into qt-dev
Lei Yu [Tue, 16 Apr 2019 20:47:17 +0000 (20:47 +0000)]
Merge "Hide Mobile preference for secondary user" into qt-dev

5 years agoFixed Passpoint network "Not in range" issue and forget button
Quang Luong [Fri, 12 Apr 2019 19:43:48 +0000 (12:43 -0700)]
Fixed Passpoint network "Not in range" issue and forget button

Passpoint networks now correctly allow the user to connect and forget
from the saved networks network detail page.

Bug: 130373102
Test: atest WifiDetailPreferenceControllerTest

Change-Id: I6ed2817bb3a1ac657695272ceb9d5e3f3e944f16

5 years agoMerge "Add entry animation to Settings Panels." into qt-dev
Linda Tseng [Tue, 16 Apr 2019 18:57:47 +0000 (18:57 +0000)]
Merge "Add entry animation to Settings Panels." into qt-dev

5 years agoMerge "Disable Mobile settings in one condition." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:20:11 +0000 (18:20 +0000)]
Merge "Disable Mobile settings in one condition." into qt-dev

5 years agoMerge "Change dark theme screen to toggle" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:16:54 +0000 (18:16 +0000)]
Merge "Change dark theme screen to toggle" into qt-dev

5 years agoMerge "Hide filter spinner when data is loading." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:07:24 +0000 (18:07 +0000)]
Merge "Hide filter spinner when data is loading." into qt-dev

5 years agoMerge "Revert "Fix voice access issue on home page"" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 18:02:26 +0000 (18:02 +0000)]
Merge "Revert "Fix voice access issue on home page"" into qt-dev

5 years agoMerge "Rename ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev
Sean Stout [Tue, 16 Apr 2019 17:47:29 +0000 (17:47 +0000)]
Merge "Rename ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL" into qt-dev

5 years agoCheck for attention permissions
Alex Salo [Thu, 11 Apr 2019 21:41:57 +0000 (14:41 -0700)]
Check for attention permissions

If attention package does not have sufficient permissions - disable the
setting.

Bug: 130246574130350903
Test: make RunSettingsRoboTests and manually confirmed
Change-Id: Ia7a86c940522e72f7e895d6aec7500f1ef6f9889

5 years agoRetrieve WiFi detail test cases
clownshen [Tue, 16 Apr 2019 17:11:49 +0000 (01:11 +0800)]
Retrieve WiFi detail test cases

1. fix test case failure
2. remove redundant test cases

Bug: 130640128
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: Ia59287d7f9adb37a6b56301a2178b6e307fd892d

5 years agoMerge "Use android:attr for display font preview layout background" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 17:05:43 +0000 (17:05 +0000)]
Merge "Use android:attr for display font preview layout background" into qt-dev

5 years agoMerge "Clean up NotificationChannelSlice" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 16:31:22 +0000 (16:31 +0000)]
Merge "Clean up NotificationChannelSlice" into qt-dev

5 years agoEnforce min value on panel slices slider
lindatseng [Mon, 15 Apr 2019 22:51:07 +0000 (15:51 -0700)]
Enforce min value on panel slices slider

We did not set the min value on slider slices when converting them
from preference to slices, which makes the slices all have min 0.
However, there are some slider which should have min value greater
than 0, for example, call and alarm.

We should get the min value and apply it to slider slice to make it
consistent with what we have in settings pref.

Test: Manual verification
Test: make -j40 RunSettingRobotests
Test: atest VolumeSeekBarPreferenceControllerTest
Fixes: 130439216
Fixes: 130358208
Change-Id: Ib4399c36c7da3ac41a6d46a6c150f0ec1b9b0b0f

5 years agoAdd entry animation to Settings Panels.
Matthew Fritze [Fri, 8 Mar 2019 16:15:00 +0000 (08:15 -0800)]
Add entry animation to Settings Panels.

Settings Panels as a dialog have a default animation for entering the
screen, but Slices complicate the animation. While the dialog enters the
screen, Slices begin to bind, thus changing the height of the dialog as
it enters, causing perceived bounce / jank in the animation.

This CL is cherry-picked/based on ag/6671083 but do the following modification:
(See the original commit message for the whole concept)

When trying to load all the Slices, there are few possible situations:
1. Slice starts loading slowly, starting at state LOADED_NONE
2. Slice is loading in progress, having state LOADED_PARTIAL
3. Slice is loaded, but there's error return from the Slice data (We don't
need to show the Slice in this case)
4. Slice is loaded, progress to state LOADED_ALL
5. Slice starts from state LOADED_NONE, but never progress to the next state
because it crashes at setting backend.

Notice that there are two cases that the state will stay at LOADED_NONE and
we can't distinguish them.

Hence, we decide to do the following:

If Slice is with error (case 3) we remove the slice from the list and mark it
loaded.

If Slice is loaded with LOADED_ALL (case 4, which is the ideal case), we mark
it as loaded.

In the other cases, we fire a handler to mark the slice loaded anyway after
250ms timeout.

When all the slices are marked loaded (which should happen after 250ms timeout,
we will animate the panel out.  Although there might be slices which are still
partial loaded, we can still have the slice in the panel once it is ready.
The panel might bounce/jank in this case, but at least it will still showing
correctly, and should show up smoothly in most cases.

The solution to this problem is twofold:
1. Load all Slices first
2. Create a custom animation to draw the panel once the recyclerview has
been laid out.

Test: Manual/Visual inspection
Test: make -j40 RunSettingsRobotests
Bug: 123942159

Change-Id: I639a707aa4ba3f906bd6f9752c92727aaba28142

5 years agoRevert "Fix voice access issue on home page"
Fan Zhang [Tue, 16 Apr 2019 16:23:02 +0000 (16:23 +0000)]
Revert "Fix voice access issue on home page"

This reverts commit 0f3049d4b74bdfe0a0d0894c4575360371b8cec5.

Reason for revert: b/129456622
Fixes: 129456622
Test: rebuild

Change-Id: Ic883722a9ebe6a2905067dc9cc503c9878acd2fc

5 years agoMerge "Tint battery fix icon" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 16:25:34 +0000 (16:25 +0000)]
Merge "Tint battery fix icon" into qt-dev

5 years agoMerge "Correct the state when prevent ringing page is launched." into qt-dev
Fan Zhang [Tue, 16 Apr 2019 15:22:26 +0000 (15:22 +0000)]
Merge "Correct the state when prevent ringing page is launched." into qt-dev

5 years agoMerge "Update switchbar background color in disabled state." into qt-dev
Fan Zhang [Tue, 16 Apr 2019 15:19:25 +0000 (15:19 +0000)]
Merge "Update switchbar background color in disabled state." into qt-dev

5 years agoMerge "Create TintDrawable in Settings." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 15:16:26 +0000 (15:16 +0000)]
Merge "Create TintDrawable in Settings." into qt-dev

5 years agoClean up NotificationChannelSlice
Yanting Yang [Tue, 16 Apr 2019 15:08:40 +0000 (23:08 +0800)]
Clean up NotificationChannelSlice

- Remove unused variable.
- Change function interface.

Bug: 123065955
Test: visual, robotests
Change-Id: I39c0a92539d45cdbc11bd9090a3ab97a72482632

5 years agoMerge "Add remote volume slider conditionally." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 12:46:55 +0000 (12:46 +0000)]
Merge "Add remote volume slider conditionally." into qt-dev

5 years agoThe labels of button in Wi-Fi input and "skip screen lock" dialog doesn't apply GlifV...
Cyril Lee [Tue, 16 Apr 2019 09:28:46 +0000 (17:28 +0800)]
The labels of button in Wi-Fi input and "skip screen lock" dialog doesn't apply GlifV3 style

Wi-Fi dialog
https://hsv.googleplex.com/6008335912402944

"Skip screen lock?" dialog
https://hsv.googleplex.com/6299831188324352

Bug: b/112707845
Test: manual test
Change-Id: I27f747268991240faa0970ca4be4ca472f24338f

5 years agoMerge "If backup service is not available, remove Settings->Backup and Backup->"Backu...
Chandan Nath [Tue, 16 Apr 2019 11:21:10 +0000 (11:21 +0000)]
Merge "If backup service is not available, remove Settings->Backup and Backup->"Backup is disabled by admin" from search results." into qt-dev

5 years agoTint battery fix icon
Raff Tsai [Mon, 15 Apr 2019 07:24:38 +0000 (15:24 +0800)]
Tint battery fix icon

Fixes: 129492004
Test: manual
Change-Id: I161284619bc47e342d78f1507ae291f7c23ad3ff

5 years agoHide filter spinner when data is loading.
Yi-Ling Chuang [Mon, 15 Apr 2019 06:52:08 +0000 (14:52 +0800)]
Hide filter spinner when data is loading.

When the filter spinner is initialized, set GONE to its visibility.
Only make it visible after network cycle data finishes loading to
avoid presenting an empty filter spinner.

Fixes: 130397929
Test: robotests
Change-Id: I740fdad35ec82bc0be386c24e53348917bf6bfba