OSDN Git Service
Bryce Lee [Mon, 10 Jul 2017 14:21:37 +0000 (14:21 +0000)]
Merge "Add app bounds to Configuration#compareTo." into oc-dr1-dev
TreeHugger Robot [Sat, 8 Jul 2017 03:06:37 +0000 (03:06 +0000)]
Merge "Change initial value of mStaleScanResults to true." into oc-dr1-dev
Sundeep Ghuman [Wed, 5 Jul 2017 21:19:30 +0000 (14:19 -0700)]
Change initial value of mStaleScanResults to true.
In ag/
2409026 we introduced a stale scan result bit to prevent callbacks
from sticky broadcasts from occuring until we have fetched the latest
set of scan results. However, this initial value was set to false hence
there is a race condition in which the currently connected network can
still be shown without any other networks, as the scan results have not
yet been processed.
By changing the initial value to true, we address this race condition.
Bug: b/
62493360
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: I5f2108e17d2c549e2176ccf64e640fbd4808b5f1
TreeHugger Robot [Sat, 8 Jul 2017 00:21:44 +0000 (00:21 +0000)]
Merge "Moving color extraction classes" into oc-dr1-dev
Etan Cohen [Fri, 7 Jul 2017 23:13:34 +0000 (23:13 +0000)]
Merge "[AWARE] Fix close guard method name" into oc-dr1-dev
Derek Tan [Fri, 7 Jul 2017 23:12:44 +0000 (23:12 +0000)]
Merge "Prevent any app except LPA to create logical channel to AID of ISD-R." into oc-dr1-dev
Wale Ogunwale [Fri, 7 Jul 2017 23:09:55 +0000 (23:09 +0000)]
Merge "Don't remove starting window for visible app." into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 21:43:46 +0000 (21:43 +0000)]
Merge "Add logging for unusually long read times" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 19:37:19 +0000 (19:37 +0000)]
Merge "Fix RTL drawing for QS tiles in edit mode" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 19:34:49 +0000 (19:34 +0000)]
Merge "Update brightness icon to rounded one" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 19:31:54 +0000 (19:31 +0000)]
Merge "Make BatterySaverTile controlled by pluggIn state" into oc-dr1-dev
Julia Reynolds [Fri, 7 Jul 2017 19:24:37 +0000 (19:24 +0000)]
Merge "Allow setup apps to colorize notifications." into oc-dr1-dev
Andrew Solovay [Fri, 7 Jul 2017 19:09:39 +0000 (19:09 +0000)]
Merge "docs: Described why ProgressDialog is now deprecated." into oc-dev
am:
1cdf4244f4
Change-Id: I1c25c17f1f73e4006e3b0fa9479d5b0563c6be98
TreeHugger Robot [Fri, 7 Jul 2017 19:07:32 +0000 (19:07 +0000)]
Merge "AOD: Block when fingerprint is already authenticated but waiting for goingToSleep to complete" into oc-dr1-dev
Andrew Solovay [Fri, 7 Jul 2017 19:02:48 +0000 (19:02 +0000)]
Merge "docs: Described why ProgressDialog is now deprecated." into oc-dev
TreeHugger Robot [Fri, 7 Jul 2017 17:55:54 +0000 (17:55 +0000)]
Merge "Fix announcement of global actions menu" into oc-dr1-dev
Lucas Dupin [Thu, 6 Jul 2017 21:35:30 +0000 (14:35 -0700)]
Moving color extraction classes
Fixes:
62220212
Test: make
Test: runtest -x tests/Internal/src/com/android/internal/colorextraction/ColorExtractorTest.java
Test: runtest -x tests/Internal/src/com/android/internal/colorextraction/types/TonalTest.java
Test: runtest systemui
Change-Id: I7c4cf5c40a88555e81fbad9bec2b32c55c927468
Merged-In: I7c4cf5c40a88555e81fbad9bec2b32c55c927468
Evan Laird [Tue, 27 Jun 2017 17:33:40 +0000 (13:33 -0400)]
Update brightness icon to rounded one
This is part of the icon updates for DR. Should be there.
Test: visual
Bug:
62668861
Change-Id: I11c8ddd99de90c319143292cd32441d14eb7fc1d
(cherry picked from commit
801705bbea9637bf709e4579ef708f90bb92e311)
TreeHugger Robot [Fri, 7 Jul 2017 17:40:13 +0000 (17:40 +0000)]
Merge "AOD: Fix possible NPE in DozeSensors" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 17:28:10 +0000 (17:28 +0000)]
Merge "AOD: Finish pulse when notification is removed" into oc-dr1-dev
Evan Laird [Fri, 7 Jul 2017 17:24:56 +0000 (13:24 -0400)]
Fix RTL drawing for QS tiles in edit mode
When in RTL mode, sometimes the tile displaying the mobile signal was
not properly set (was drawing as LTR). Setting it explicitly during
QSIconViewImpl#updateTile() fixes the issue.
Test: visual
Bug:
63160044
Change-Id: If00b149ca0372fc3d51fc2ee53a43e3b74e78791
Lucas Dupin [Fri, 7 Jul 2017 17:23:22 +0000 (17:23 +0000)]
Merge "WallpaperColors caching and synchronization" into oc-dr1-dev
Julia Reynolds [Fri, 30 Jun 2017 17:34:01 +0000 (13:34 -0400)]
Allow setup apps to colorize notifications.
Fixes:
63147379
Test: runtest systemui-notification, core tests
Change-Id: I2077a9fd563826d978d0dc01be89dd0bbc09eebf
Adrian Roos [Fri, 7 Jul 2017 17:02:34 +0000 (19:02 +0200)]
AOD: Block when fingerprint is already authenticated but waiting for goingToSleep to complete
Improves an issue where immediately triggering fingerprint after
the devices goes to sleep results in a lot of flickering.
There's still flicker however if the fingerprint authenticates after we've requested the AOD
display state, but before it has actually been applied.
Bug:
62887179
Test: Go to Home. Lock screen. Immediately unlock via fingerprint. Verify that the AOD screen does not even show.
Change-Id: Ib6425eee803a8c7e02f9621a571e562e825af57f
TreeHugger Robot [Fri, 7 Jul 2017 17:00:12 +0000 (17:00 +0000)]
Merge "Fix clipping of large global actions items" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 16:42:03 +0000 (16:42 +0000)]
Merge "AOD: Do not animate notification icons while dozing" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 16:10:13 +0000 (16:10 +0000)]
Merge "AOD: Keep doze brightness when unlocking with fingerprint" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 15:52:21 +0000 (15:52 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 15:40:25 +0000 (15:40 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 15:39:04 +0000 (15:39 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Jason Monk [Fri, 7 Jul 2017 15:35:13 +0000 (11:35 -0400)]
Fix announcement of global actions menu
Make sure it has focus when it opens so that it can announce.
Test: manual
Change-Id: Ie1795faf5c9b79eb20f538b9dc6f4cb1f04babfb
Fixes:
62433101
Adrian Roos [Fri, 7 Jul 2017 15:10:11 +0000 (17:10 +0200)]
AOD: Finish pulse when notification is removed
Change-Id: I346e7ef77cc3c9bb2c72bd028953f0e5ff757502
Fixes:
38174509
Test: receive notification while phone off (with or without AOD). Swipe away notification. Verify that it goes back to the base state immediately
Jason Monk [Fri, 7 Jul 2017 14:36:03 +0000 (10:36 -0400)]
Fix clipping of large global actions items
Test: visual
Change-Id: I9f652642055d190e2368dab89fe56518fb15eb19
Fixes:
63150552
Adrian Roos [Fri, 7 Jul 2017 13:58:57 +0000 (15:58 +0200)]
AOD: Keep doze brightness when unlocking with fingerprint
Updates the logic that was already in place to prevent lighting up
the display before the unlock transition starts:
- treat AOD as pulsing in FingerprintUnlockController
- now that doze can use more than one brightness level, use the current
Bug:
62885451
Test: Unlock with fingerprint from AOD. Observe that the unlock transition does not prematurely change the brightness level
Change-Id: I266bd5e4c0a1d5b4c347a65c0e7936247e333cfc
Wale Ogunwale [Thu, 6 Jul 2017 22:30:55 +0000 (15:30 -0700)]
Don't remove starting window for visible app.
Activity manager agressively removes starting windows to avoid leaks.
See ag/696830 and ag/
1213075 for some history. However, it is possible
for window manager to process the request of removing the starting window
coming from activity manager while the app token for the starting window
is still visible from the window manager side because we are delaying
hiding it due to an animation in progress.
We now only process the request to remove starting window from the
activity manager side if the app is hidden on the window manager side.
Change-Id: Ia33076f0e7405f9430e9d4e9d4026ae6fd1b133e
Fixes:
62443388
Test: go/wm-smoke
Test: Swipe Gmail away in Recents, launch Chome, press home button, launch Gmail, and press the home button.
Jason Monk [Fri, 7 Jul 2017 12:36:11 +0000 (12:36 +0000)]
Merge "Fix translation direction in QS animation" into oc-dr1-dev
Adrian Roos [Fri, 7 Jul 2017 11:22:51 +0000 (11:22 +0000)]
Merge "Keeping notifications around that show guts" into oc-dr1-dev
Adrian Roos [Fri, 7 Jul 2017 10:20:21 +0000 (12:20 +0200)]
AOD: Fix possible NPE in DozeSensors
Fixes an NPE that can happen if the ProximitySensor callback
unregisters the proximity sensor.
Change-Id: I8df1cf98e5334b3ff35c19b30bb7e01d0ebcfd6a
Fixes:
63357752
Test: Squint at the code *really hard*
Adrian Roos [Fri, 7 Jul 2017 10:03:05 +0000 (10:03 +0000)]
Merge "AOD: Add logging" into oc-dr1-dev
Bill Yi [Fri, 7 Jul 2017 09:16:14 +0000 (02:16 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0f7d8a0b363893098604e0b912974ca56b67100c
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Fri, 7 Jul 2017 06:13:55 +0000 (06:13 +0000)]
Merge "Add more logging to the Tethering SharedLog" into oc-dr1-dev
Bill Yi [Fri, 7 Jul 2017 05:45:34 +0000 (22:45 -0700)]
Import translations. DO NOT MERGE
Change-Id: I00e4f252a805a1085523991237cfd84b4b397865
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Fri, 7 Jul 2017 03:34:24 +0000 (03:34 +0000)]
Merge "Fix keyguard visibilities after reinflate" into oc-dr1-dev
Bill Yi [Fri, 7 Jul 2017 03:30:32 +0000 (20:30 -0700)]
Import translations. DO NOT MERGE
Change-Id: I5949b2f491bc3cf64d2b205ed5af758316ee9ac4
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Robert Carr [Fri, 7 Jul 2017 03:22:50 +0000 (03:22 +0000)]
Merge "SurfaceView: Avoid initializing Surface from an invalid SurfaceControl." into oc-dev
am:
401b8907d0
Change-Id: Ib7a916fb484fb3a7924315169d162f4fdddd8a06
TreeHugger Robot [Fri, 7 Jul 2017 03:10:12 +0000 (03:10 +0000)]
Merge "SurfaceView: Avoid initializing Surface from an invalid SurfaceControl." into oc-dev
Bryce Lee [Fri, 7 Jul 2017 02:38:38 +0000 (02:38 +0000)]
Merge "Revert "Use configuration delta to determine if still in orientation change."" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 01:38:01 +0000 (01:38 +0000)]
Merge "Fix Configuration#updateFrom() when assetsSeq doesn't change" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 01:29:54 +0000 (01:29 +0000)]
Merge "Color of the ring around the lock icon" into oc-dr1-dev
Bryce Lee [Fri, 7 Jul 2017 00:51:26 +0000 (17:51 -0700)]
Revert "Use configuration delta to determine if still in orientation change."
This reverts commit
2a0284b1a69b57cc239357c9a5fbb514cf2fc8b2.
Reason for revert: b/
63380251
Bug:
62846907
Fixes:
63380251
Change-Id: I18eb9e478cb2b99980a2e9bff22ba9b32b817f2f
TreeHugger Robot [Fri, 7 Jul 2017 00:12:08 +0000 (00:12 +0000)]
Merge "Hide all color hints references" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 23:50:32 +0000 (23:50 +0000)]
Merge "Make dun APNs as read-only by default." into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 23:46:42 +0000 (23:46 +0000)]
Merge "Add a MetricsEvent entry for BT forget device confirm dialog" into oc-dr1-dev
Robert Carr [Thu, 6 Jul 2017 22:28:34 +0000 (15:28 -0700)]
SurfaceView: Avoid initializing Surface from an invalid
SurfaceControl.
In a recent CL we introduced a call to Surface#createFrom, in order to
recreate the Surface object from the underlying SurfaceControl, as a
workaround to emulate when it was parcelled over binder in the past.
However this is causing BufferQueue abandoned errors when stopping and
resuming some applications. To understand them, we need to revisit the
SurfaceView destruction process when handling onStop.
First mWindowStopped will be set to true (SurfaceView#windowStopped),
and we should then enter updateSurface. Our requested visibility will
now be false and so we emit the Surface destroyed callbacks. Notice in
the finally block in mUpdateSurface, we will release mSurface, but we
will NOT null mSurfaceControl. Inline documentation explains why.
In the case that the activity is not actually being destroyed, it's
possible that we may not get a dispatchDetachedFromWindow. This means
that we will not null mSurfaceControl. Now if the activity is
un-stopped and we re-enter updateSurface we encounter a problem
state. "creating" will be set to false since mSurfaceControl != null,
however mSurfaceControl will not point to a valid surface.
Prior to the introduction of the #createFrom call, this unwanted state
didn't cause any problems. Because mSurface was released back in the
finally block as we were stopping we now fall out of the
mSurface.isValid() block in updateSurface. As we reach the finally
block again, we would now set mSurfaceControl=null since the app was
no longer stopped. Later when we reach updateSurface again (which
tends to happen quite often) it will now be null and we will correctly
set creating=true, create a valid SurfaceControl, and move along
happily. However following, the introduction of this
Surface#createFrom call we will now reinitialize the Surface from an
invalid underlying SurfaceControl. This means we will enter the
mSurface.isValid block, but will proceed to emit an invalid Surface to
the client in the callbacks.
We avoid this state by making creating=true even if
SurfaceControl=non-null when the calculated visibility changes from
invisible to visible.
Bug:
63251745
Test: Manual of app from bug and apps from previous related bugs. go/wm-smoke. Additional manual testing of many SV apps.
Change-Id: Icc32a34cac239d65267da705cc23feb23e1ceb67
TreeHugger Robot [Thu, 6 Jul 2017 22:39:48 +0000 (22:39 +0000)]
Merge changes from topic 'nci-2.0-part2' into oc-dr1-dev
* changes:
NCI2.0 update LF_T3T_PARAMETERS of 18 byte.
AID suffix registration.
TreeHugger Robot [Thu, 6 Jul 2017 22:38:16 +0000 (22:38 +0000)]
Merge "DO NOT MERGE Ensure minimized state is false when dock is gone on exists change" into oc-dr1-dev
Daniel Nishi [Thu, 6 Jul 2017 21:58:41 +0000 (21:58 +0000)]
Merge "Add a Setting for whether or not we have been disabled by policy." into oc-dr1-dev
Adam Lesinski [Thu, 6 Jul 2017 19:06:13 +0000 (12:06 -0700)]
Fix Configuration#updateFrom() when assetsSeq doesn't change
Compare the value of assetsSeq when updating Configuration from
a delta.
Bug:
63352177
Test: manual
Change-Id: I9e1205cd64c4a1e0192b7049c82d36d53fb4af36
(cherry picked from commit
2123c415bf4cc67ad2c50e9613c7748956cd0c46)
TreeHugger Robot [Thu, 6 Jul 2017 21:49:37 +0000 (21:49 +0000)]
Merge "Only play up effect if its been over 100 ms" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 21:38:06 +0000 (21:38 +0000)]
Merge "Fix crash when no StatusBarView" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 21:29:57 +0000 (21:29 +0000)]
Merge "Fix leak in ScrimView" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 21:25:39 +0000 (21:25 +0000)]
Merge "Fix nav accessibility order" into oc-dr1-dev
Anthony Chen [Thu, 6 Jul 2017 21:14:47 +0000 (21:14 +0000)]
Merge "Fix bug where RemoteViews addView is backwards." into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 20:32:47 +0000 (20:32 +0000)]
Merge "Fix RTL mobile signal drawing out of bounds in QS Edit" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 20:31:36 +0000 (20:31 +0000)]
Merge "Fix the VR virtual display height" into oc-dr1-dev
Jason Monk [Thu, 6 Jul 2017 20:03:01 +0000 (16:03 -0400)]
Fix keyguard visibilities after reinflate
Test: visual
Change-Id: Ic51c5f318dbf1582bc662f361e3c18dcb33b7137
Fixes:
62588134
Daniel Nishi [Mon, 12 Jun 2017 17:17:33 +0000 (10:17 -0700)]
Add a Setting for whether or not we have been disabled by policy.
Bug:
62106274,
35698183
Test: StorageManager robotests
Merged-In: I1788d6143362130df88950c6843fa78b67182d5e
(cherry picked from commit
da7332c0707094b66e9a2e22f4c64cf9520cfddb)
Jason Monk [Thu, 6 Jul 2017 19:46:00 +0000 (15:46 -0400)]
Fix translation direction in QS animation
Test: visual
Change-Id: Icadf5308964b0d336a4ee07663be9b0df719070b
Fixes:
62931508
Jason Monk [Thu, 6 Jul 2017 19:38:19 +0000 (15:38 -0400)]
Only play up effect if its been over 100 ms
Test: manual
Bug:
62655913
Change-Id: If256ab9fc6f74688f47b0ea53543d3b2fd514a35
Jason Monk [Thu, 6 Jul 2017 19:28:17 +0000 (15:28 -0400)]
Fix crash when no StatusBarView
Test: runtest systemui
Change-Id: Ia0a4a97f554e0b9d6e41c295e8e07d278f8ad248
Fixes:
63260821
Matthew Ng [Mon, 19 Jun 2017 23:42:31 +0000 (16:42 -0700)]
DO NOT MERGE Ensure minimized state is false when dock is gone on exists change
Whenever registerDockedStackListener runs, it will unminimize the docked
stack even if it was not supposed to. The previous change that caused
this was the test ag/
1718898,
ActivityManagerDockedStackTests#testFinishDockActivityWhileMinimized
where an activity runs finish() while minimized would remove the
divider but not update the minimized mode. This change will only set the
minimized mode to false if the divider is invisible allowing
registerDockedStackListener to not unminimize.
Fixes:
62460975
Fixes:
63381251
Test: go/wm-smoke
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
CtsServicesHostTestCases
android.server.cts.ActivityManagerDockedStackTests#
testFinishDockActivityWhileMinimized
Change-Id: I2baaac9ce50b8ed792356cbaeeedef6bddc271d3
(cherry picked from commit
bc527a3a26a48afd04e8ad10893a38996177bc53)
TreeHugger Robot [Thu, 6 Jul 2017 19:19:06 +0000 (19:19 +0000)]
Merge "Disable test in presubmit" into oc-dr1-dev
Jason Monk [Thu, 6 Jul 2017 19:12:21 +0000 (15:12 -0400)]
Fix nav accessibility order
Test: manual
Change-Id: I0d3f65c84a4158024f90c47ce9da329d4bd210ac
Fixes:
63333329
Jason Monk [Thu, 6 Jul 2017 19:06:36 +0000 (15:06 -0400)]
Fix leak in ScrimView
Test: runtest systemui
Change-Id: I8964181a60b67eea0eea32d42bb8e92862cc8d0f
Fixes:
38461559
Android Build Merger (Role) [Thu, 6 Jul 2017 19:00:56 +0000 (19:00 +0000)]
Merge "Merge "docs: Removing com.android.internal.* packages from Javadoc build" into oc-dev am:
040b774928" into oc-dr1-dev
Android Build Merger (Role) [Thu, 6 Jul 2017 18:59:44 +0000 (18:59 +0000)]
Merge "Merge "docs: Removing com.android.internal.* packages from Javadoc build" into oc-dev am:
040b774928" into oc-dr1-dev
Andrew Solovay [Thu, 6 Jul 2017 18:59:39 +0000 (18:59 +0000)]
Merge "docs: Removing com.android.internal.* packages from Javadoc build" into oc-dev
am:
040b774928
Change-Id: I0a05fdcd1d440f1ea686ddd0e6afd82daf33d1bb
TreeHugger Robot [Thu, 6 Jul 2017 18:58:37 +0000 (18:58 +0000)]
Merge "AOD: Fix flicker when unlocking with fingerprint" into oc-dr1-dev
Andrew Solovay [Thu, 6 Jul 2017 18:58:17 +0000 (18:58 +0000)]
Merge "docs: Removing com.android.internal.* packages from Javadoc build" into oc-dev
am:
040b774928
Change-Id: Ief0f1ce03e137ae4a16067cf7430cf7bc333a96d
Love Khanna [Mon, 10 Apr 2017 12:16:53 +0000 (17:46 +0530)]
NCI2.0 update LF_T3T_PARAMETERS of 18 byte.
As per NCI2.0 LF_T3T_PMM is a part of LF_T3T_IDENTIFIER.
Since it is required for each LF_T3T_IDENTIFIER entry,
It can be taken from application.
Test: Compiles.
Change-Id: Icc168592c292d869a4c331dd28fe43b4d75c9a41
(cherry picked from commit
e7ecebae11c4f7a7ac0cc17f77e287d0b4530657)
Lucas Dupin [Thu, 6 Jul 2017 18:57:20 +0000 (11:57 -0700)]
Color of the ring around the lock icon
The color or the ring should match the color
of the device theme, not only white.
Test: visual
Change-Id: Id4e40c71eb93b358d45b25894c6416e139920a6b
Fixes:
63340494
Love Khanna [Fri, 12 May 2017 08:23:42 +0000 (13:53 +0530)]
AID suffix registration.
Test: compiles.
Change-Id: I0ab02599814722055d77eef29e734bfd45e8d1ee
(cherry picked from commit
e910e8bf863e50ef434c980d5d2ee403b3307514)
Andrew Solovay [Thu, 6 Jul 2017 18:42:13 +0000 (18:42 +0000)]
Merge "docs: Removing com.android.internal.* packages from Javadoc build" into oc-dev
TreeHugger Robot [Thu, 6 Jul 2017 18:35:25 +0000 (18:35 +0000)]
Merge "Protect TIMEOUT_CONNECT broadcast which is for Nfc Handover" into oc-dr1-dev
Karthik Ravi Shankar [Thu, 6 Jul 2017 17:23:57 +0000 (10:23 -0700)]
Fix the VR virtual display height
The display of the VR virtual display was set incorrectly in ag/
2460110.
This was a part of debugging code mistakenly left behind, but it is
causing CTS tests to fail and also changes the resolution of virtual
display on standalone devices.
Bug:
62842592
Bug:
63339799
Test: run cts -m CtsServicesHostTestCases -t
android.server.cts.ActivityManagerDisplayTests#testVrActivityLaunch
passes with the change and restores original resolution on standalone
devices.
Change-Id: I6e77f9b3b09f02e411bab12bb69d8141312e5b64
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
TreeHugger Robot [Thu, 6 Jul 2017 18:02:47 +0000 (18:02 +0000)]
Merge "Password field colors" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 17:53:24 +0000 (17:53 +0000)]
Merge "AOD: Skip window animations while dozing" into oc-dr1-dev
Adrian Roos [Thu, 6 Jul 2017 16:45:10 +0000 (18:45 +0200)]
AOD: Do not animate notification icons while dozing
Uses power, and gets icons stuck mid-animation once the
device enters low-power state on AOD.
Change-Id: Iba354bd24eac0a8327890374ea537236256e993d
Fixes:
63388065
Test: Initiate download, go to AOD. Observe whether icon animates or not.
Jason Monk [Thu, 6 Jul 2017 16:36:32 +0000 (12:36 -0400)]
Disable test in presubmit
It seems to have gotten up to .5% flakiness, get it out of presubmit.
Test: runtest systemui
Bug:
63386204
Change-Id: I39e44a0e863022337b578b4d3efa9d1721eff298
Daniel Nishi [Thu, 6 Jul 2017 17:04:59 +0000 (17:04 +0000)]
Merge "Change visibility on formatPercentage(double)." into oc-dr1-dev
Jerry Zhang [Thu, 6 Jul 2017 16:52:04 +0000 (16:52 +0000)]
Merge "Broadcast only if boot complete" into oc-dr1-dev
Adrian Roos [Thu, 6 Jul 2017 16:22:17 +0000 (18:22 +0200)]
AOD: Fix flicker when unlocking with fingerprint
FingerprintUnlockController assumed that not pulsing is the same
as the screen is off. But with AOD this is no longer true. Instead
we now also trigger that flow if the screen is on and dozing.
Change-Id: Iad2fd65c50ad359d50bb357b41c57df123665df2
Fixes:
62885230
Test: Unlock from AOD with fingerprint; ensure that the status bar stays in AOD mode during the transition
TreeHugger Robot [Thu, 6 Jul 2017 16:20:19 +0000 (16:20 +0000)]
Merge "AOD: Disable if device is not yet provisioned" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 16:12:05 +0000 (16:12 +0000)]
Merge "Revert "Default Trust Agents are now always enforced."" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 16:09:00 +0000 (16:09 +0000)]
Merge "Fix tests?" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 16:01:30 +0000 (16:01 +0000)]
Merge "LockIcon: Initialize mAccessibilityController" into oc-dr1-dev
Amith Yamasani [Wed, 5 Jul 2017 20:34:46 +0000 (13:34 -0700)]
Add logging for unusually long read times
Tracking occasional lock contention in ActivityManagerService
that might be due to battery stats locking while reading proc files.
Bug:
63287747
Test: manual
Change-Id: Idfde8c960507930df4dc7e1337a89535d2ca932e
Evan Laird [Thu, 6 Jul 2017 15:41:21 +0000 (11:41 -0400)]
Fix RTL mobile signal drawing out of bounds in QS Edit
For some reason, the canvas is twice the size of the drawable's bounds,
and our RTL code was taking the whole canvas, shifting by its own width
and reversing the x-coords. When the canvas is too wide, it causes the
signal to draw outside of the bounds. To fix it, just shift the
coordinates by the width of the drawable itself. I.e., reverse in the
drawable's own bounds.
Note that there is still an issue where sometimes a non-reversed signal
drawable is used. This doesn't fix that.
Change-Id: I6cfda0ab6b9f50c969410dd4f89499b66854ebbe
Fixes:
63164522
Test: visual
TreeHugger Robot [Thu, 6 Jul 2017 15:34:48 +0000 (15:34 +0000)]
Merge "Don't animate grayscale if animations are off" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 15:23:09 +0000 (15:23 +0000)]
Merge "Fixed an issue where a notification could stay userlocked" into oc-dr1-dev