OSDN Git Service
Suprabh Shukla [Wed, 26 Jul 2017 20:25:07 +0000 (20:25 +0000)]
Merge "Read the correct parameters for Jobscheduler" into oc-dr1-dev
Matthew Fritze [Wed, 26 Jul 2017 19:58:20 +0000 (19:58 +0000)]
Merge "Add metrics event for trampoline activity" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 18:41:38 +0000 (18:41 +0000)]
Merge "Fix NPE in MediaRouterService" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 18:40:20 +0000 (18:40 +0000)]
Merge "Restore the selected route when an app starts to make sound" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 18:39:16 +0000 (18:39 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 17:31:03 +0000 (17:31 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Wed, 26 Jul 2017 17:04:20 +0000 (17:04 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 16:56:39 +0000 (16:56 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 16:39:56 +0000 (16:39 +0000)]
Merge "AOD: Only force doze brightness when actually unlocking" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 15:34:32 +0000 (15:34 +0000)]
Merge "Volume dialog doesn't show on ambient/aod." into oc-dr1-dev
Geoffrey Pitsch [Wed, 26 Jul 2017 14:31:23 +0000 (14:31 +0000)]
Merge "Remove ability to downgrade importance of existing channel." into oc-dr1-dev
Bill Yi [Wed, 26 Jul 2017 14:30:33 +0000 (07:30 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia3879f9882a8fde1edcc669f31b4cb5125786ea5
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bill Yi [Wed, 26 Jul 2017 14:27:44 +0000 (07:27 -0700)]
Import translations. DO NOT MERGE
Change-Id: I76674f28e858f631f43f88f041ce0b6798b30def
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Geoffrey Pitsch [Mon, 24 Jul 2017 15:24:21 +0000 (11:24 -0400)]
Remove ability to downgrade importance of existing channel.
Test: runtest systemui-notification
Bug:
63920384
Change-Id: Ic9f5c50c3d2a36ccd4ba9686dad1eb415b559215
Bill Yi [Wed, 26 Jul 2017 14:26:35 +0000 (07:26 -0700)]
Import translations. DO NOT MERGE
Change-Id: I5232ba3964ba77e81d70d325f34630a153d2b22d
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bill Yi [Wed, 26 Jul 2017 14:25:10 +0000 (07:25 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iddda7b19049b1fc773e56eada5c4100ae14b39da
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bryce Lee [Wed, 26 Jul 2017 14:20:31 +0000 (14:20 +0000)]
Merge "Do not report app bound differences as a Configuration change." into oc-dr1-dev
Adrian Roos [Wed, 26 Jul 2017 11:47:01 +0000 (11:47 +0000)]
Merge "Fix flickery behavior when launching notification when occluded" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 10:53:34 +0000 (10:53 +0000)]
Merge "@Keep all the things in TestAccessPointBuilder" into oc-dr1-dev
Bill Yi [Wed, 26 Jul 2017 08:12:15 +0000 (08:12 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am:
a7f60741ae -s ours
Change-Id: I30a22e1c267bc9e8bd287c48410cf9c475abdde0
Bill Yi [Wed, 26 Jul 2017 08:07:22 +0000 (08:07 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am:
b4e8cad186 -s ours
Change-Id: I8421a6ad828df9c491665144533931352a6196f1
Bill Yi [Wed, 26 Jul 2017 08:03:38 +0000 (08:03 +0000)]
Import translations. DO NOT MERGE
am:
7c2b27f26f -s ours
Change-Id: I9711ab0a99f2309c7e61e3548d7a16f3e555d166
TreeHugger Robot [Wed, 26 Jul 2017 08:03:03 +0000 (08:03 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 26 Jul 2017 07:53:12 +0000 (07:53 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Antony Sargent [Tue, 18 Jul 2017 22:28:46 +0000 (15:28 -0700)]
@Keep all the things in TestAccessPointBuilder
The test in packages/apps/Settings/tests/unit/src/com/android/settings/
wifi/WifiSettingsUiTest.java fails because the TestAccessPointBuilder
class and all methods in it seem to get stripped during build time
since they aren't referenced by code within the settings app itself.
Bug:
33245941
Test: runtest --path packages/apps/Settings/tests/unit/src/com/android/settings/wifi/WifiSettingsUiTest.java
Change-Id: I22b7e9fa54fcd67e0f754aca47907d87db9d7056
Merged-In: I92b56b7908e5be8a3553a2779646d48bb5b94f01
Roozbeh Pournader [Wed, 26 Jul 2017 05:44:41 +0000 (05:44 +0000)]
Merge "Remove Kwasio (nmg) from user-selectable languages" into oc-dr1-dev
Chet Haase [Wed, 26 Jul 2017 05:40:41 +0000 (05:40 +0000)]
Merge "Update overscroll and toast UI" into oc-dr1-dev
Chet Haase [Fri, 21 Jul 2017 17:45:31 +0000 (10:45 -0700)]
Update overscroll and toast UI
Overscroll updates:
Same shape, but smaller radius (doesn't come as far into the view)
and more translucent (max 15% instead of 50%). Overall, more subtle.
Toast updates:
Light background, smaller, dark font, closer to the bottom of the
container.
Test: manual unit tests. Also:
cts test ToastTest for toast changes
cts test EdgeEffectTests for EdgeEffect changes (adding some tests to
known-failures for now, due to brittle golden-image failures - see
CL ag/
2596621)
Bug:
30563264 Refresh toast visuals for Android ODR
Bug:
63010438 Tweaks to overscroll animation
Change-Id: I0fac6322b0b81d030c8d174852c134211290bbea
Bill Yi [Wed, 26 Jul 2017 04:24:47 +0000 (21:24 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ie81e9b6438034399af10f964876f14cb08b8ceb7
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bill Yi [Wed, 26 Jul 2017 04:17:50 +0000 (21:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ifd1d218d134f9871650b17254741c4a0b40a4f0d
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bill Yi [Wed, 26 Jul 2017 04:15:58 +0000 (21:15 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0f6bf766d9d5d91f8b885e4ecc0878cacde1668f
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Winson Chung [Wed, 26 Jul 2017 04:01:48 +0000 (04:01 +0000)]
Merge "Ensure that we timeout waiting when starting the PiP menu activity" into oc-dr1-dev
Christine Franks [Wed, 26 Jul 2017 02:39:09 +0000 (02:39 +0000)]
Merge "DO NOT MERGE - Update night display coefficients" into oc-dr1-dev
Philip Quinn [Fri, 21 Jul 2017 04:07:58 +0000 (21:07 -0700)]
Don't block the input thread to notify the StatusBar about key events.
Also, give it a ping for volume key events.
Bug:
63183852
Bug:
63909062
Test: runtest systemui
Change-Id: I3e8507ad8fc23cf3078313b500b5012afc84fa07
TreeHugger Robot [Wed, 26 Jul 2017 02:18:10 +0000 (02:18 +0000)]
Merge "Themable volume and power dialogs" into oc-dr1-dev
TreeHugger Robot [Wed, 26 Jul 2017 02:16:55 +0000 (02:16 +0000)]
Merge "Keyguard should wait before restarting FP auth after successful FP auth" into oc-dr1-dev
Sungsoo Lim [Tue, 25 Jul 2017 00:09:03 +0000 (09:09 +0900)]
Fix NPE in MediaRouterService
Bug:
63970300
Test: manual and passed MediaRouterTest
Change-Id: I2e8d09d16ca8693b1bdf51397ad4f10c4aa6d87b
(cherry picked from commit
2d36ae9d2f2e286c205adb20af23eebe554f3dd8)
Sungsoo [Mon, 22 May 2017 08:10:44 +0000 (17:10 +0900)]
Restore the selected route when an app starts to make sound
Limitation: When two apps make sound simultaneously while one uses a BT
route and the other uses the default route, switching activities between
the two different apps will not change the BT A2DP status until one of
the apps changes its playback status to inactive.
Bug:
32958908, Bug:
35567695, Bug:
33186346
Test: Passed MediaRouter/MediaSession test, and manually varified that
the b/
33186346 is fixed.
Change-Id: I1da97dcb74fa2095425b311ad62cdd00f8118cea
(cherry picked from commit
b3658569e9a87afe1b3168837cc282235fd4d1f8)
Christine Franks [Wed, 26 Jul 2017 00:07:14 +0000 (00:07 +0000)]
Merge "DO NOT MERGE - Remove RetailDemoModeServiceInternal" into oc-dr1-dev
Lucas Dupin [Tue, 25 Jul 2017 00:44:25 +0000 (17:44 -0700)]
Themable volume and power dialogs
Test: visual
Bug:
63903361
Change-Id: I3e4dc74e960f212985712120341d3a80543c96db
Roozbeh Pournader [Tue, 25 Jul 2017 23:29:22 +0000 (16:29 -0700)]
Remove Kwasio (nmg) from user-selectable languages
The language had inadequate locale data, and even the name
of the Kwasio language itself was not localized to Kwasio.
Change-Id: I7b92460b7b3d736593db4a2f94d47863264561b4
Fixes:
64037672
Test: Manual (Kwasio, as 'Nmg', is no longer listed in Settings)
TreeHugger Robot [Tue, 25 Jul 2017 22:55:08 +0000 (22:55 +0000)]
Merge "Add confirmation dialog when turning off cell data from QS" into oc-dr1-dev
Selim Cinek [Tue, 25 Jul 2017 22:45:55 +0000 (22:45 +0000)]
Merge "Changing the way the media image scales" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 22:41:39 +0000 (22:41 +0000)]
Merge "Do not evict scan results in cold start." into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 22:35:18 +0000 (22:35 +0000)]
Merge "Fix RTL for Nav icons" into oc-dr1-dev
Winson Chung [Tue, 25 Jul 2017 21:28:03 +0000 (14:28 -0700)]
Ensure that we timeout waiting when starting the PiP menu activity
- In some cases we don't get notified when the menu activity start is
interrupted. In such a case, we should timeout and allow for the next
menu activity start to complete, and log the issue.
Bug:
63752800
Test: Artificially induce missed callback, ensure that we can still
launch the PiP activity afterwards.
Change-Id: Id92890a53ce47c4e9f593a5434fd8f9137468799
Christine Franks [Thu, 20 Jul 2017 21:01:55 +0000 (14:01 -0700)]
DO NOT MERGE - Remove RetailDemoModeServiceInternal
Bug:
62712426
Test: make -j100
Change-Id: I0b852aef30a8cadcda08fcff1dcf861aac2a4d7e
Suprabh Shukla [Tue, 25 Jul 2017 21:07:13 +0000 (21:07 +0000)]
Read the correct parameters for Jobscheduler
Jobscheduler reads ALARM_MANAGER_CONSTANTS every time it detects a
change in JOB_SCHEDULER_CONSTANTS
Fixes:
64028341
Change-Id: Ic55204858f2dcbf348406b4c100e598381f0b4b8
TreeHugger Robot [Tue, 25 Jul 2017 20:49:39 +0000 (20:49 +0000)]
Merge "Don't unbind from the sync adapter before cancelSync()." into oc-dr1-dev
Matthew Fritze [Tue, 25 Jul 2017 20:13:21 +0000 (13:13 -0700)]
Add metrics event for trampoline activity
Bug:
62022517
Test: none
Change-Id: Id5561b0efb0a4de496182a56e6e2417753f4b8a6
TreeHugger Robot [Tue, 25 Jul 2017 20:11:16 +0000 (20:11 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Jason Monk [Tue, 25 Jul 2017 19:46:33 +0000 (15:46 -0400)]
Fix RTL for Nav icons
Test: manual
Change-Id: I972641fc8d122ce9f6d4204398559b11a36a4a40
Fixes:
63644656
TreeHugger Robot [Tue, 25 Jul 2017 19:35:43 +0000 (19:35 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Winson Chung [Tue, 25 Jul 2017 19:22:05 +0000 (19:22 +0000)]
Merge "Prevent NPE, add logging for tracking down root issue." into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 19:03:35 +0000 (19:03 +0000)]
Merge "Make back button dismiss power dialog, by making dialog focusable." into oc-dr1-dev
Jason Monk [Tue, 25 Jul 2017 18:44:28 +0000 (14:44 -0400)]
Add confirmation dialog when turning off cell data from QS
Test: manual
Change-Id: I1956750700c8fa2bf0e715b5ec92cf10fa3e9486
Fixes:
36436115
Bryce Lee [Tue, 25 Jul 2017 17:48:42 +0000 (10:48 -0700)]
Do not report app bound differences as a Configuration change.
App bounds are an internal Configuration field and should not
influence the diff that determines whether the Configuration has
changed. This changelist ensures this by introducing a new flag that
is identified server side and filtered before informing the client
that the configuration has changed.
Change-Id: Ibf1387f73eaa9b39e6213e1a1109c4cd57554e7c
Fixes:
63927944
Test: bit FrameworksServicesTests:com.android.server.wm.AppBoundsTests#testAppBoundsConfigurationDiff
Test: go/wm-smoke
TreeHugger Robot [Tue, 25 Jul 2017 18:19:24 +0000 (18:19 +0000)]
Merge "Use config_headlineFontFeatureSettings for lockscreen clock" into oc-dr1-dev
Lucas Dupin [Tue, 25 Jul 2017 17:53:56 +0000 (17:53 +0000)]
Merge "Ambient indicator text color" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 17:40:02 +0000 (17:40 +0000)]
Merge "Fix jank when switching themes" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 17:33:29 +0000 (17:33 +0000)]
Merge "AOD: Show keyguard indications in white" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 17:31:18 +0000 (17:31 +0000)]
Merge "Zen introduction text updates" into oc-dr1-dev
Alison Cichowlas [Tue, 25 Jul 2017 14:56:16 +0000 (10:56 -0400)]
Make back button dismiss power dialog,
by making dialog focusable.
Test: Manual - verified back button behavior, verified outside touches still ok.
Fixes:
63855564
Change-Id: I684bd4b3f77d00d81fe56c5005ab86403670a851
TreeHugger Robot [Tue, 25 Jul 2017 17:00:22 +0000 (17:00 +0000)]
Merge "AOD: Fix rotation during screen off (again)" into oc-dr1-dev
Winson Chung [Tue, 25 Jul 2017 15:45:39 +0000 (15:45 +0000)]
Merge "Disregard closing activities when blocking previous activities." into oc-dr1-dev
Pankaj Kanwar [Tue, 25 Jul 2017 15:43:52 +0000 (15:43 +0000)]
Merge "Default-disable tethering offload" into oc-dr1-dev
Julia Reynolds [Fri, 21 Jul 2017 15:15:52 +0000 (11:15 -0400)]
Zen introduction text updates
- Update color of text/button for legibility
- prevent poorly timed zen update broadcasts from interrupting the
zen footer window animation
Change-Id: I04eaaae80fb0647b0a792023f5ed03ebd9142e04
Fixes:
63916428
Fixes:
63815440
Test: manual
Adrian Roos [Tue, 25 Jul 2017 15:02:46 +0000 (17:02 +0200)]
AOD: Only force doze brightness when actually unlocking
Previously, we forced the doze brightness even if we acquired a bad fingerprint;
because the state got never reset, the keyguard can be stuck in a dark mode.
We do not need to force the brightness until we wake up though, so this can be
delayed until we know if the unlock is going to succeed.
Change-Id: I72f4a577134223831b1bb0baefdbc227d8e8bab4
Fixes:
63931486
Test: Set up fingerprint; go to AOD; tap wrong finger; press power button; verify screen is fully on and not dim.
Adrian Roos [Tue, 25 Jul 2017 14:46:23 +0000 (16:46 +0200)]
AOD: Show keyguard indications in white
Fixes an issue where colored keyguard indications were hard
to read on AOD.
Change-Id: I6bbb6267278a7397327f1fc4d88304d83f5f1ff1
Fixes:
63686192
Test: Set up fingerprint; go to AOD; tap wrong finger; verify message is shown in white
Bill Yi [Tue, 25 Jul 2017 14:18:00 +0000 (07:18 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8cbbc0e35bc9e917d877df5561d8e93ac43c3db3
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Tue, 25 Jul 2017 13:55:35 +0000 (13:55 +0000)]
Merge "Fingerprint: Show bouncer when fingerprint is disallowed" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 13:54:25 +0000 (13:54 +0000)]
Merge "Follow up to "Add modified API to send more information to VrCore"" into oc-dr1-dev
TreeHugger Robot [Tue, 25 Jul 2017 13:52:51 +0000 (13:52 +0000)]
Merge "AOD: Skip prox check if cached prox value available" into oc-dr1-dev
Adrian Roos [Tue, 25 Jul 2017 13:37:32 +0000 (15:37 +0200)]
AOD: Fix rotation during screen off (again)
Fixes another issue where the screen could rotate during the screen-off transition.
mAwake is still true during goingToSleep, but we should no longer play rotation
animations if we are going to sleep. Instead use the more appropriately named
okToAnimate.
Change-Id: I816d1552de3fea0a19ce42ca50d845eb46f80625
Fixes:
63760853
Test: Trigger show-when-locked navigation, rotate phone to landscape, trigger assistant, go to sleep. Verify no rotation plays; go/wm-smoke
Adrian Roos [Tue, 25 Jul 2017 11:45:43 +0000 (11:45 +0000)]
Merge "Keyguard: Remove fancy colon" into oc-dr1-dev
Bill Yi [Tue, 25 Jul 2017 10:54:46 +0000 (03:54 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6b21356d1e9da32d7bd970fcdb6eafbeb994d89c
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Erik Kline [Tue, 25 Jul 2017 03:18:56 +0000 (12:18 +0900)]
Default-disable tethering offload
Test: runtest frameworks-net
Bug:
63250751
Change-Id: I63aa115e534123c46bd515bc099a601da45c5725
Alex Sakhartchouk [Tue, 25 Jul 2017 02:12:39 +0000 (22:12 -0400)]
Follow up to "Add modified API to send more information to VrCore"
Fixes corner case when the same component name first shows up as a
non VR activity, then again as VR.
Bug:
63709047
Test: Device launched to VR Home
Change-Id: I6f590185635cde06b0fba9f0e05ff6d6d586cfbb
Ajay Panicker [Tue, 25 Jul 2017 02:11:26 +0000 (02:11 +0000)]
Merge "Batterystats handles nested unoptimized ble scans" into oc-dr1-dev
Christine Franks [Tue, 25 Jul 2017 01:25:14 +0000 (01:25 +0000)]
Merge "Don't display QS security footer in demo mode" into oc-dr1-dev
Christine Franks [Tue, 25 Jul 2017 01:23:24 +0000 (01:23 +0000)]
Merge "Remove old configuration values for demo mode" into oc-dr1-dev
Christine Franks [Tue, 25 Jul 2017 01:14:05 +0000 (18:14 -0700)]
DO NOT MERGE - Update night display coefficients
Bug:
63438695
Test: manual - turn on night display
Change-Id: Ieeff74a6ba250f4965ec5e253fbc1e2349e6e1ba
TreeHugger Robot [Tue, 25 Jul 2017 01:03:14 +0000 (01:03 +0000)]
Merge "Default-off FP Swipe" into oc-dr1-dev
Chen Xu [Tue, 25 Jul 2017 01:00:23 +0000 (01:00 +0000)]
Merge "proper cleanup onDestroy" into oc-dr1-dev
Andrew Sapperstein [Tue, 25 Jul 2017 00:55:32 +0000 (17:55 -0700)]
Use config_headlineFontFeatureSettings for lockscreen clock
Allows OEMs to customize the fontFeatureSettings used for the clock.
Bug:
63861032
Test: manual and ag/
2588146
Change-Id: I670c76a26875466d67c9bd1733932f5b8d82edae
Selim Cinek [Tue, 25 Jul 2017 00:27:22 +0000 (17:27 -0700)]
Changing the way the media image scales
Before, the media image could get really small
under certain conditions. We now just push it off
a bit.
Test: manual, test media notification with different densities
Change-Id: If0fec49510a0dee627ce4a8ddb7075534c0e15c3
Fixes:
63142413
TreeHugger Robot [Tue, 25 Jul 2017 00:05:30 +0000 (00:05 +0000)]
Merge "Refurbish granting mechanism" into oc-dr1-dev
TreeHugger Robot [Mon, 24 Jul 2017 23:52:28 +0000 (23:52 +0000)]
Merge "move icon so that inline actions in settings can use it" into oc-dr1-dev
fionaxu [Sat, 22 Jul 2017 01:02:30 +0000 (18:02 -0700)]
proper cleanup onDestroy
1. interrupt the sleeping testing thread onDestory to avoid
any thread keep running after onDestory.
2. add check of isFinishing() or isDestoryed() when the
testing thread wakeup.
3. detory the webview onDestory since there're chances that
some callbacks in WebChromeClient will try to open dialogs
while the container activity has been destroyed.
Bug:
63819703
Test: Manual test
Change-Id: Ida62d9d8e97e8c9f905ce2feab4ea265575baee8
Bryce Lee [Mon, 24 Jul 2017 22:07:47 +0000 (22:07 +0000)]
Merge "Determine power hint behavior based on target activity." into oc-dr1-dev
Kevin Chyn [Mon, 24 Jul 2017 21:00:22 +0000 (14:00 -0700)]
Default-off FP Swipe
Fixes:
63992836
Test: adb shell settings delete secure system_navigation_keys_enabled
&& make -j RunSettingsRoboTests
Change-Id: I6632c7244749b3b98227cb4392438ab861f3f815
Winson Chung [Mon, 24 Jul 2017 20:52:49 +0000 (13:52 -0700)]
Prevent NPE, add logging for tracking down root issue.
Bug:
63932749
Test: Unable to repro.
Change-Id: Ia210eff19ff46a46e4f53dd3cc04cf20a2e44683
Lucas Dupin [Mon, 17 Jul 2017 22:45:06 +0000 (15:45 -0700)]
Fix jank when switching themes
Turning overlays on and off takes time,
it also doesn't allow us to have fine control
over which view is using which theme.
Lock screen colors are now driven by themes.
Change-Id: Ie8860d00dbb0705ed76edf60a9d3030618dd21ca
Fixes:
63751714
Test: Visual. Set wallpapers, unlock.
Test: runtest -x packages/SystemUI/tests/src/com/android/keyguard/KeyguardSecurityContainerTest.java
Test: runtest -x tests/Internal/src/com/android/internal/colorextraction/ColorExtractorTest.java
Test: systrace
Winson Chung [Mon, 24 Jul 2017 20:25:07 +0000 (20:25 +0000)]
Merge "Fixing occasional jump when launching certain apps from Recents." into oc-dr1-dev
Selim Cinek [Mon, 24 Jul 2017 20:19:30 +0000 (20:19 +0000)]
Merge "Fixed an issue where the lock icon could be invisible" into oc-dr1-dev
Sundeep Ghuman [Sat, 22 Jul 2017 01:42:10 +0000 (18:42 -0700)]
Do not evict scan results in cold start.
When starting WifiTracker, show whatever results are available from
platform until new scan results come in. This allows us to show the best
available results from the previous location scan. Once we have resumed
scanning and new scan results come in, the previous logic of evicting
scan results older than 15 seconds applies.
Also prevent unnecessary onConnectedChanged callbacks from being fired,
which may unnecessarily cause UI reloading bars to appear by performing
unnecessary work.
Bug: b/
38212080
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java &&
runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: I3db9d98425b3d2fc66fa0757807a318d0c7456ee
TreeHugger Robot [Mon, 24 Jul 2017 20:08:31 +0000 (20:08 +0000)]
Merge "DO NOT MERGE - Don't 'cmd vibrate' when on DND mode." into oc-dr1-dev
Salvador Martinez [Sat, 22 Jul 2017 18:03:22 +0000 (11:03 -0700)]
move icon so that inline actions in settings can use it
Test: tests still pass
Bug:
62022517
Change-Id: Ifc01797c6ada51130586b5b42570c3357923ef85
TreeHugger Robot [Mon, 24 Jul 2017 20:04:02 +0000 (20:04 +0000)]
Merge "Ignore "mLastHidden" state when deciding whether to turnScreenOn." into oc-dr1-dev
Janis Danisevskis [Fri, 9 Jun 2017 00:53:34 +0000 (17:53 -0700)]
Refurbish granting mechanism
Keystore stores key blobs in with filenames that include the symbolic
name and the uid of the owner. This behaviour should have been
completely opaque to the user keystore. However, the granting mechanism,
by which an app can allow another app to use one of its keys, leaked the
internal structure in that the grantee had to specify the key name with
the granter's uid prefix in order to use the granted key. This in turn
collided with prefix handling in other parts of the framework.
This patch refurbishes the granting mechanism such that keystore can
choose a name for the grant. It uses the original symbolic key name as
prefix and appends _KEYSTOREGRANT_<grant_no> where the grant_no is
chosen as first free slot starting from 0. Each uid has its own grant_no
space.
This changes the grant call such that it now returns a string, which is
the alias name of the newly created grant. The string is empty if the
grant operation failed.
As before apps can still mask granted keys by importing a key with the
exact same name including the added suffix. But everybody deserves the
right to shoot themselves in the foot if they really want to.
Bug:
37264540
Bug:
62237038
Test: run cts-dev --module CtsDevicePolicyManagerTestCases --test
com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement
because it grants a key
Merged-In: I047512ba345c25e6e691e78f7a37fc3f97b95d32
Change-Id: I047512ba345c25e6e691e78f7a37fc3f97b95d32