OSDN Git Service
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
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 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
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
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
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
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
TreeHugger Robot [Mon, 24 Jul 2017 15:16:24 +0000 (15:16 +0000)]
Merge "Use new, lower brightness value for low brightness doze." into oc-dr1-dev
Adrian Roos [Thu, 20 Jul 2017 18:06:54 +0000 (20:06 +0200)]
Keyguard: Remove fancy colon
The new fonts do not have a dedicated fancy colon for the lockscreen clock
and fall back to Roboto which breaks the kerning.
Change-Id: I4621c6248de3f42f6c3c49ee4149bc1c0bb233e6
Fixes:
63891134
Test: visual; runtest -x packages/SystemUI/tests/src/com/android/keyguard/KeyguardClockAccessibilityDelegateTest.java
Adrian Roos [Mon, 24 Jul 2017 14:42:57 +0000 (16:42 +0200)]
AOD: Skip prox check if cached prox value available
On AOD, we run the proximity sensor, so when a pulse comes in,
there is no need to wait for a new result. Instead, we can use
the existing value if available.
Change-Id: Ibded081e5011a3053e6990012f97f63865e20298
Fixes:
63538693
Test: receive notification, verify that pulsing starts immediately and does not wait for the proximity check.
Christine Franks [Mon, 24 Jul 2017 14:33:46 +0000 (14:33 +0000)]
Merge "Remove reference to com.android.retaildemo" into oc-dr1-dev
Jorim Jaggi [Mon, 24 Jul 2017 13:51:41 +0000 (15:51 +0200)]
Revert "Fix jank when switching themes"
This reverts commit
e5d0b9dddbcd8e6be7725a89b82fb990db2dade7.
Fixes crashloop with lock pattern
Change-Id: I3721444c91e2be625c59ec3e6ba14f1080badc07
Fixes:
63980375
TreeHugger Robot [Mon, 24 Jul 2017 12:46:25 +0000 (12:46 +0000)]
Merge "Remove non-safe mode boot vibration." into oc-dr1-dev
TreeHugger Robot [Sun, 23 Jul 2017 12:51:43 +0000 (12:51 +0000)]
Merge "Removing contents hidden string for public notifications" into oc-dr1-dev
TreeHugger Robot [Sat, 22 Jul 2017 17:02:45 +0000 (17:02 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 22 Jul 2017 16:31:16 +0000 (16:31 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 22 Jul 2017 16:21:57 +0000 (16:21 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Sat, 22 Jul 2017 09:47:35 +0000 (02:47 -0700)]
Import translations. DO NOT MERGE
Change-Id: I1670c714954e5835f6c79f446c463ee18d72d17b
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Bill Yi [Sat, 22 Jul 2017 06:43:49 +0000 (23:43 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ida215c44df2fd5572b046d426bca7304947398bc
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Sat, 22 Jul 2017 04:46:19 +0000 (04:46 +0000)]
Merge "Fix jank when switching themes" into oc-dr1-dev
Bill Yi [Sat, 22 Jul 2017 03:58:50 +0000 (20:58 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8c164681df192fe74083e69adf301a0f312dc144
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Sat, 22 Jul 2017 03:31:53 +0000 (03:31 +0000)]
Merge "Move icon resources into SettingsLib for phone buddy" into oc-dr1-dev
Christine Franks [Tue, 27 Jun 2017 23:46:26 +0000 (16:46 -0700)]
Remove reference to com.android.retaildemo
Bug:
62712426
Test: runtest -c UserManagerTest frameworks-services
Change-Id: I26ca7e7dbf4ea44d2cb4a173072eac0037d75eca
Christine Franks [Wed, 19 Jul 2017 14:46:34 +0000 (07:46 -0700)]
Remove old configuration values for demo mode
Bug:
62712426
Test: make -j100
Change-Id: Ibe8a89208ba93d7074800f087798678371f72fb8
TreeHugger Robot [Sat, 22 Jul 2017 00:45:24 +0000 (00:45 +0000)]
Merge "Persist/pacel # of periodic syncs properly." into oc-dr1-dev
Matthew Fritze [Sat, 22 Jul 2017 00:33:00 +0000 (17:33 -0700)]
Move icon resources into SettingsLib for phone buddy
The external settings api needs to pass icons for
corresponding settings. The following signals didn't have
icons in Settings.
- Night display
- Location
Bug:
62706782
Test: make RunSettingsGoogleRoboTests
Change-Id: Ia2feaa9cfea7dbce165545e5b7d96ad0798b8e07
TreeHugger Robot [Sat, 22 Jul 2017 00:35:10 +0000 (00:35 +0000)]
Merge "Batterystats: fix inappropriate bg timebase reset" into oc-dr1-dev
Selim Cinek [Sat, 22 Jul 2017 00:16:05 +0000 (17:16 -0700)]
Fixed an issue where the lock icon could be invisible
Because the state wasn't properly initialized after reinflation,
the lockicon could be invisible.
This also fixes an issue where we were leaking the view after reinflation.
Change-Id: Ic01e488319d8650fac07c35642a4bba62311c1e8
Fixes:
62411136
Test: manual, switch user twice, observe
TreeHugger Robot [Sat, 22 Jul 2017 00:12:10 +0000 (00:12 +0000)]
Merge "Fix RemoteListenerHelper vs. HAL deadlock" into oc-dr1-dev
David Friedman [Fri, 21 Jul 2017 23:11:16 +0000 (23:11 +0000)]
Merge "Docs: Updates guidance about using permissions when accessing OBB expansion files, Bug:
34273998 Test: Ran "make" to verify error-free building." into oc-dev
am:
e4d0557334
Change-Id: I931088e43f29707e1ab5d9764a06adbbe5af1d7e
David Friedman [Fri, 21 Jul 2017 23:01:56 +0000 (23:01 +0000)]
Merge "Docs: Updates guidance about using permissions when accessing OBB expansion files, Bug:
34273998 Test: Ran "make" to verify error-free building." into oc-dev
TreeHugger Robot [Fri, 21 Jul 2017 22:59:13 +0000 (22:59 +0000)]
Merge "Fix suggestion crash if parser fails to parse dismiss rule" into oc-dr1-dev
Makoto Onuki [Fri, 21 Jul 2017 22:30:35 +0000 (15:30 -0700)]
Persist/pacel # of periodic syncs properly.
(Note it shouldn't be persisting parceled data in the first place. There's
already a bug filed for that.)
Bug
63935632
Test: manaul test
Change-Id: I5385caa6cd0663c7e13db0256b2c1027abe6c3a1
Bookatz [Fri, 21 Jul 2017 16:03:23 +0000 (09:03 -0700)]
Batterystats: fix inappropriate bg timebase reset
Previously, the background timebases (of a Uid) were reset when the Uid
resets in the wrong place. This caused StopwatchTimer.reset() to have the timesbase's old value to keep
track of its mUpdateTime. The solution is to call TimeBase.init at the
start of Uid.reset(), instead of calling TimeBase.reset() at the end of
Uid.reset().
Bug:
62352334
Test: runtest -x frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
Change-Id: I23c886544e18f154fc226cc81c22c3ea70fb4c7e
Bryce Lee [Fri, 21 Jul 2017 20:25:13 +0000 (13:25 -0700)]
Determine power hint behavior based on target activity.
Previously, logic was added surrounding whether to trigger a power
hint based on the start activity. However, this activity is not
always relevant in the calling context.
This change adjusts the logic by passing the target activity into
the method.
Fixes:
63913311
Test: press home button while on home and ensure power hint not
triggered.
Change-Id: I71ffcae7adbc2c55ef5b2994f4c55688d0aa0ca5
Wyatt Riley [Mon, 3 Jul 2017 22:14:42 +0000 (15:14 -0700)]
Fix RemoteListenerHelper vs. HAL deadlock
Releasing lock before calling into HAL.
Fixes:
62776535
Bug:
63264577
Test: Build, GNSS location & GnssMeasurement toggling
Reproed issue with test sleep code without fix and passed with.
Change-Id: I44e183e98edd972619a068bbcc95468e9a9cdee1
Bookatz [Tue, 11 Jul 2017 23:49:17 +0000 (16:49 -0700)]
Batterystats handles nested unoptimized ble scans
When a ble scan starts, it tells batterystats whether that scan is
unoptimized. When the scan stops, batterystats is not informed of
whether the stopped scan was unoptimized. Because the ble scan call
could not be nested (couldn't call start twice without stopping first),
this was fine, but now nesting is possible, so batterystats needs to
know whether the stopped ble scan is unoptimized.
Bug:
63456783
Test: runtest -x frameworks/base/core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
Test: no new errors when run cts-dev -m CtsIncidentHostTestCases -t com.android.server.cts.BatteryStatsValidationTest#testUnoptimizedBleScans
Change-Id: Ia73f294cf1807ddaf20f1c0bcc28add001cac78c
Christine Franks [Wed, 19 Jul 2017 01:12:31 +0000 (18:12 -0700)]
Don't display QS security footer in demo mode
Bug:
63843869
Test: runtest systemui
Change-Id: I50e408749262b33644c5c007cd1f78138e1d5c3b
TreeHugger Robot [Fri, 21 Jul 2017 20:25:09 +0000 (20:25 +0000)]
Merge "Update icons in the volume rocker" into oc-dr1-dev
Fan Zhang [Fri, 21 Jul 2017 17:21:36 +0000 (10:21 -0700)]
Fix suggestion crash if parser fails to parse dismiss rule
We store a index value in shared pref to figure out when a suggestion
should be displayed next time. However the rule can change due to
various reasons. When the index and the rule itself go out of sync, we
should not crash.
Merged-In: Id3ea88b6d321434e20ac0cd3e2670524c237e24e
Change-Id: Ied4a0359f9bc22ee94ec79c0591d2671a9c31b86
Fix:
63908636
Test: robotests
Christine Franks [Fri, 21 Jul 2017 18:53:16 +0000 (18:53 +0000)]
Merge "DO NOT MERGE - Remove RetailDemoModeService" into oc-dr1-dev
Albert Chaulk [Fri, 21 Jul 2017 18:22:38 +0000 (18:22 +0000)]
Merge "Add modified API to send more information to VrCore" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 18:18:07 +0000 (18:18 +0000)]
Merge "Ensure backup doesn't reuse ack tokens nearby in time" into oc-dr1-dev
Michael Wright [Fri, 21 Jul 2017 15:40:58 +0000 (16:40 +0100)]
Remove non-safe mode boot vibration.
Ding, dong the BZZZT is dead.
Bug:
22414771
Test: manual
Change-Id: I011a9b475a6497db6e9440647d6d5c60dcf171b7
Lucas Dupin [Fri, 21 Jul 2017 16:34:33 +0000 (16:34 +0000)]
Merge "Shutdown scrim opacity at 95%" into oc-dr1-dev
Jorim Jaggi [Fri, 21 Jul 2017 16:10:52 +0000 (16:10 +0000)]
Merge "Fix snapshots for dialogs" into oc-dr1-dev
Christine Franks [Sat, 24 Jun 2017 01:12:46 +0000 (18:12 -0700)]
DO NOT MERGE - Remove RetailDemoModeService
Bug:
62712426
Test: make -j100
Change-Id: I483f2e3518a48fbc833562e71c3acd17ad565881
Merged-In: I483f2e3518a48fbc833562e71c3acd17ad565881
TreeHugger Robot [Fri, 21 Jul 2017 15:30:42 +0000 (15:30 +0000)]
Merge "Add new bucket above high brightness for "sunlight"." into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 14:53:44 +0000 (14:53 +0000)]
Merge "Add config to force display to transition to off after doze" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 14:53:44 +0000 (14:53 +0000)]
Merge "Flicker free screen-on from AOD" into oc-dr1-dev
Jorim Jaggi [Thu, 20 Jul 2017 16:09:20 +0000 (18:09 +0200)]
Fix snapshots for dialogs
When taking a snapshot, always include the full stack bounds.
When showing a snapshot starting window, use the SystemUI flags
from the top fullscreen window in the task - this is the same way
as we do it when the real windows are going to be visible.
Test: Revoke contacts permissions, launch contacts, go to recents,
go back.
Test: go/wm-smoke
Fixes:
63268663
Change-Id: If8d9701f6d34abd56116ed04fe27fe82688e506a
TreeHugger Robot [Fri, 21 Jul 2017 09:28:52 +0000 (09:28 +0000)]
Merge "Fixing TaskPersisterTest" into oc-dr1-dev
Adrian Roos [Wed, 19 Jul 2017 16:08:07 +0000 (18:08 +0200)]
Flicker free screen-on from AOD
When pulsing from AOD, we force the display OFF first. This allows
us to transition smoothly from AOD.
Also, we add a scrim transition for whenever we are waking up from
dozing. This relies on I4f3a863709a970f0fc8682c0a0c3547886e1fd0f
which forces the DOZE -> ON transition through OFF first.
Also fixes the WAKE_AND_UNLOCK transition that happens when waking
up with the fingerprint sensor.
Also fix an issue where KeyguardViewMediator's mWakeAndUnlocking
was cleared in onScreenTurnedOff; this should have been added to
the wakefulness lifecycle instead and now that the AOD -> ON transtion
dispatches the screen off callback it broke the fingerprint unlock
transition.
Fixes:
35849781
Fixes:
63887857
Fixes:
63783651
Fixes:
63727166
Test: AOD, receive notification; AOD, unlock with fingerprint; AOD, wake to lockscreen. Verify that everything is flicker-free.
Change-Id: I7d539db80a1c7e9216cf4c5c1e6d314c1893f12d
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: I4b5db6234cafebbe8eaa952781c038370a11488b
Fixes:
63751714
Test: Visual. Set wallpapers, unlock.
Test: runtest -x tests/Internal/src/com/android/internal/colorextraction/ColorExtractorTest.java
Test: systrace
TreeHugger Robot [Fri, 21 Jul 2017 05:03:15 +0000 (05:03 +0000)]
Merge "Handle an edge case that can reset settings provider data" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 05:01:38 +0000 (05:01 +0000)]
Merge "NFC DTA Integration" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 02:30:17 +0000 (02:30 +0000)]
Merge "Don't set AccessPoint with WifiInfo.INVALID_RSSI" into oc-dr1-dev
TreeHugger Robot [Fri, 21 Jul 2017 00:56:42 +0000 (00:56 +0000)]
Merge "Do not clear scores during stopTracking." into oc-dr1-dev
Winson Chung [Fri, 21 Jul 2017 00:03:27 +0000 (00:03 +0000)]
Merge "Apply static offset to PiP IME adjustment." into oc-dr1-dev
Winson Chung [Wed, 19 Jul 2017 21:31:32 +0000 (14:31 -0700)]
Fixing occasional jump when launching certain apps from Recents.
- Removing code that cleared the pending options for an activity when it
is fetched by the app.
- Only handle the first window-animation-started callback from the system
when transitioning out of Recents.
- Add logic in Recents to disable toggling Recents while an activity
transition has been requested (ie. activity started) and the transition
actually starting. This prevents some cases where interleaving of the
transition updates can occur while the app takes a long time to draw
when it is resumed which could cause animation jumps and weirdness.
Bug:
37277853
Test: Launch between apps quickly, especially those with camera.
Change-Id: I7ff8a83539334a39b0ae049d267d1ab14a38e2f6
Lucas Dupin [Thu, 20 Jul 2017 00:15:41 +0000 (17:15 -0700)]
Shutdown scrim opacity at 95%
Test: visual
Change-Id: I55b61f2bdc5189da290f7b81783925cc87424ab4
Fixes:
63534082
Love Khanna [Wed, 17 May 2017 10:22:16 +0000 (15:52 +0530)]
NFC DTA Integration
Bug:
63903843
Test: compiles.
Change-Id: I07cbb321ffbdbe9d93d632c8a56f3bc53218e592
Selim Cinek [Thu, 20 Jul 2017 21:06:09 +0000 (14:06 -0700)]
Removing contents hidden string for public notifications
We're now only showing the notification header instead of the
repetitive contents hidden string. On Aod, we're still showing
a string however, since without it, it looked too empty.
Test: manual, set sensitive setting on lockscreen, observe notifications
Change-Id: If2bb66b9b3b366715aa68087e5c35cf1cdff3693
Fixes:
63741232
Amith Yamasani [Wed, 19 Jul 2017 23:49:52 +0000 (16:49 -0700)]
Handle an edge case that can reset settings provider data
If the AtomicFile does the rename and fails when writing the
original, make sure we can at least use the backup on reboot.
Bug:
63753300
Test: Stop shell, move settings_global.xml to backup, start shell.
Change-Id: I2049b48af05161bb2c68717a71c1700a95150a6c
Amit Mahajan [Thu, 20 Jul 2017 20:47:17 +0000 (20:47 +0000)]
Merge "Add new column user_editable to Carriers table in telephony db." into oc-dr1-dev
Albert Chaulk [Fri, 14 Jul 2017 16:32:57 +0000 (12:32 -0400)]
Add modified API to send more information to VrCore
Currently, null is sent when a 2D intent is running.
Sending the component name and a flag instead allows
VrCore to determine which intent is currently running
and which layers on the display correspond to this
application.
The process ID of the current intent is also sent,
to allow association of buffers to the VR app.
Bug:
63709047,
63115025
Test: manual with prints
Change-Id: I164b577f2c578867fb953d92074ef3d2d31221a1