OSDN Git Service
Adrian Roos [Mon, 31 Jul 2017 13:56:24 +0000 (15:56 +0200)]
WakeAndUnlock: Make sure blanking is never animated
Fixes an issue where instead of immediately blanking the screen upon
authenticating via fingerprint we animated to blank because another
animating transition was requested at the same time.
Change-Id: I141079c0d4de1776c8328057d364eeb0964eebaf
Fixes:
64080116
Test: Unlock via fingerprint a lot. Verify no flicker.
TreeHugger Robot [Mon, 31 Jul 2017 05:59:57 +0000 (05:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 29 Jul 2017 23:08:04 +0000 (23:08 +0000)]
Merge "Scrim opacity must satisfy GAR" into oc-dr1-dev
TreeHugger Robot [Sat, 29 Jul 2017 22:56:28 +0000 (22:56 +0000)]
Merge "Fix issue where clock inflation would fail" into oc-dr1-dev
TreeHugger Robot [Sat, 29 Jul 2017 22:08:36 +0000 (22:08 +0000)]
Merge "Fix BLE scan leaks" into oc-dr1-dev
Jeff Sharkey [Sat, 29 Jul 2017 16:04:02 +0000 (16:04 +0000)]
Merge "Add a missing null check" into oc-dev
am:
101fca656d
Change-Id: Iab72d9b62042ab5ceb0d32425b43796d3bdeb1ca
Jeff Sharkey [Sat, 29 Jul 2017 15:56:14 +0000 (15:56 +0000)]
Merge "Add a missing null check" into oc-dev
TreeHugger Robot [Sat, 29 Jul 2017 09:10:12 +0000 (09:10 +0000)]
Merge "Force update wifi QS when opening." into oc-dr1-dev
Wei Wang [Sat, 29 Jul 2017 03:00:11 +0000 (03:00 +0000)]
DO NOT MERGE ANYWHERE: Add a wakelock timeout when downloading xtra data for GNSS. am:
a763fdba09 -s ours am:
452b8f2bd3 -s ours
am:
f173b2a4c3 -s ours
Change-Id: Id129412a62ee25b95853d664371d6a1b46bda1b0
Wei Wang [Sat, 29 Jul 2017 02:52:46 +0000 (02:52 +0000)]
DO NOT MERGE ANYWHERE: Add a wakelock timeout when downloading xtra data for GNSS. am:
a763fdba09 -s ours
am:
452b8f2bd3 -s ours
Change-Id: Iaee8bab95acf6490e468d1a0df66b6aea6e61398
Wei Wang [Sat, 29 Jul 2017 02:46:12 +0000 (02:46 +0000)]
DO NOT MERGE ANYWHERE: Add a wakelock timeout when downloading xtra data for GNSS.
am:
a763fdba09 -s ours
Change-Id: Id38ed8a73decbf2dc3ce4e657e69fe838acb50c1
Wei Wang [Tue, 18 Apr 2017 18:26:26 +0000 (11:26 -0700)]
DO NOT MERGE ANYWHERE: Add a wakelock timeout when downloading xtra data for GNSS.
Test: manual
Bug:
36973866
Change-Id: Ia7168f313abebbf3c5c4fc26567ed914f1987a91
(cherry picked from commit
c5706f651a0462e9ae5a91c9a026d44710b1f8ea)
Hugo Benichi [Fri, 28 Jul 2017 23:42:59 +0000 (23:42 +0000)]
Merge "Logging improvements when NetworkCapabilities change" into oc-dr1-dev
Vinay Kalia [Fri, 28 Jul 2017 22:09:57 +0000 (15:09 -0700)]
Fix BLE scan leaks
If an app starts multiple scans with same callback then
there is a collision in mLeScanClients hash map which
results in leaking first scan. This change fixes it by
not allowing the second scan with same callback.
BUG:
62389939
BUG:
38198694
Test: Tested applications which started multiple scans with
same callback.
Change-Id: I569069a40b6f8b4b8bb070731225e732c6b23ec8
Bill Yi [Fri, 28 Jul 2017 23:10:01 +0000 (23:10 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Fri, 28 Jul 2017 23:01:43 +0000 (16:01 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2230a1ada1b5ed588ea593eaf975325114edc5b4
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Svet Ganov [Fri, 28 Jul 2017 22:35:06 +0000 (15:35 -0700)]
Add a missing null check
Test: manual
bug::
62755026
Change-Id: Icf719d0e62986febd4d31f22be3e59d83c8e6e09
Sergey Vasilinets [Fri, 28 Jul 2017 21:46:43 +0000 (21:46 +0000)]
Merge "Revert "Revert "Update overscroll and toast UI""" into oc-dr1-dev
Svet Ganov [Fri, 28 Jul 2017 21:22:57 +0000 (21:22 +0000)]
Handle case for missing permissions - fix NPE
am:
39cc33f192
Change-Id: I8fd46e293a25ddf83346950e8e700ec9d61e2263
Svet Ganov [Fri, 28 Jul 2017 20:10:33 +0000 (13:10 -0700)]
Handle case for missing permissions - fix NPE
Test: manual
Bug:
62755026
Change-Id: Ie4dddffdb055f6084d9420ae94d0de2a61574bd8
Andrew Solovay [Fri, 28 Jul 2017 20:18:29 +0000 (20:18 +0000)]
Merge "Cherry-pick from master Doc change: Add API 26 to @since list" into oc-dev
am:
04d43a6a7b
Change-Id: I57763d6980b66ef288788153d275cf196fbd510a
Andrew Solovay [Fri, 28 Jul 2017 20:05:04 +0000 (20:05 +0000)]
Merge "Cherry-pick from master Doc change: Add API 26 to @since list" into oc-dev
Bill Yi [Fri, 28 Jul 2017 19:09:57 +0000 (12:09 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iafc4fa769c2dfdd065858d02c4ef06d9f3f3f345
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
TreeHugger Robot [Fri, 28 Jul 2017 18:32:59 +0000 (18:32 +0000)]
Merge "Add new config to tell us whether brightness is bucketed or continuous" into oc-dr1-dev
Lucas Dupin [Fri, 28 Jul 2017 18:07:00 +0000 (11:07 -0700)]
Fix issue where clock inflation would fail
Inflation would fail because the theme being used for casting
didn't define some attributes required by the clock.
Test: Cast to a TV, lock device, clock still visible on the TV.
Change-Id: Ia046da29cfe5b70f5d32667ed6a70adc6dfb0345
Fixes:
63617525
Bryce Lee [Fri, 28 Jul 2017 17:57:09 +0000 (17:57 +0000)]
Merge "Remove rotation and app bounds from Configuration diff." into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 17:47:50 +0000 (17:47 +0000)]
Merge "Fix error color states and alphas and sizes of lock screen icons" into oc-dr1-dev
Benjamin Miller [Fri, 28 Jul 2017 17:30:18 +0000 (17:30 +0000)]
Merge "Docs: Note that DISALLOW_CONFIG_VPN stops VPNs from starting" into oc-dev
am:
91f16ace4f
Change-Id: Id7d2c62577e0b534a7dd6605f722e7c5639e46b7
Jason Monk [Fri, 28 Jul 2017 17:24:12 +0000 (17:24 +0000)]
Merge "Revert "NavBar: Don't reorient as much, its a waste of work"" into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 17:11:28 +0000 (17:11 +0000)]
Merge "Docs: Note that DISALLOW_CONFIG_VPN stops VPNs from starting" into oc-dev
TreeHugger Robot [Fri, 28 Jul 2017 17:10:03 +0000 (17:10 +0000)]
Merge "Nav haptics: increase threshold to 150 and don't do on long clicks" into oc-dr1-dev
Lucas Dupin [Thu, 27 Jul 2017 03:29:38 +0000 (20:29 -0700)]
Scrim opacity must satisfy GAR
Change-Id: Ic0a2423d73f0a3439a0dc4de8eb6e4719dbf36e1
Fixes:
63365056
Test: runtest -x tests/Internal/src/com/android/internal/graphics/ColorUtilsTest.java
Jason Monk [Fri, 28 Jul 2017 17:02:19 +0000 (17:02 +0000)]
Merge "Fix recents split-screen icon" into oc-dr1-dev
Svetoslav Ganov [Fri, 28 Jul 2017 16:42:59 +0000 (16:42 +0000)]
Report permission flags for all protections based on SDK
am:
adb8c522a8
Change-Id: Ia30269ec2097d5978ae3e0b3930a38b3f4441ea4
Mathieu Chartier [Fri, 28 Jul 2017 16:33:18 +0000 (16:33 +0000)]
Merge "Add AsyncTask to compiled classes" into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 16:00:10 +0000 (16:00 +0000)]
Merge "QS Tweaks" into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 15:16:38 +0000 (15:16 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Jason Monk [Fri, 28 Jul 2017 15:08:27 +0000 (11:08 -0400)]
Revert "NavBar: Don't reorient as much, its a waste of work"
This reverts commit
19d2865dd5f0155f31bc715c0f6142ea50d9e00a.
Change-Id: I4ec532fc2d06b0e39a5acff88b8d503064e06cfa
Bug:
63605852
Bryce Lee [Thu, 27 Jul 2017 21:06:22 +0000 (14:06 -0700)]
Remove rotation and app bounds from Configuration diff.
The presence of these new flags leads to issues with application that
do not expect their presence. Since these flags can appear at
critical times, such as on orientation change, these issues are
brought to the surface often.
This CL remedies this problem by first removing the rotation
property. It is not used and the original issue of orientation and
Configuration alignment has been addressed. For app bounds, the CL
reverts the behavior back to identifying diffs as a screen size
change.
Fixes:
64004417
Test: bit FrameworksServicesTests:com.android.server.wm.AppBoundsTests
Test: go/wm-smoke
Change-Id: I1fabb564dfb5c13d897336708523cf7cd5099fa0
Jason Monk [Fri, 28 Jul 2017 14:46:39 +0000 (10:46 -0400)]
Nav haptics: increase threshold to 150 and don't do on long clicks
Test: touch
Change-Id: I1014670036400c0c8e2db4afd63ecfaf103f6fb7
Fixes:
62655913
TreeHugger Robot [Fri, 28 Jul 2017 14:40:45 +0000 (14:40 +0000)]
Merge "AOD: Fix more flickering" into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 14:17:01 +0000 (14:17 +0000)]
Merge "Don't freeze display if it isn't okay to animate." into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 13:08:13 +0000 (13:08 +0000)]
Merge "AOD: Increase alpha values when dozing" into oc-dr1-dev
Wale Ogunwale [Thu, 27 Jul 2017 21:14:23 +0000 (14:14 -0700)]
Don't freeze display if it isn't okay to animate.
In window manager world you freeze the display because you want to
do a rotation animation and that has the effect to allowing anything
to influence the display orientation while the display is frozing.
However, when the display is being turned off with the power button
we still want the lockscreen to influence the display orientation so
there is no rotation animation when the screen comes one.
We already have a concept okToAnimate() used to determine if we should
run animations. We now also use it to determine if we should freeze the
display since freezing the display is a result of want to running a
rotation animation.
Fixes:
63760853
Test: Repro. steps from bug.
Test: go/wm-smoke
Change-Id: I9abeda1bd0018f519772f0edce05ea8025efbbbe
Adrian Roos [Thu, 27 Jul 2017 14:33:39 +0000 (16:33 +0200)]
AOD: Fix more flickering
Fixes an issue where waking up with fingerprint would not work correctly
if the keyguard was not locked.
Also fixes flickering when triggering the Assistant on AOD.
To achieve the above, also ensures that whenever the scrim is visible, the status bar window is expanded.
Finally, log the alpha and tint of the scrims to systrace.
Fixes:
63983663
Fixes:
63065774
Bug:
63531607
Test: Disable power key locks immediately, trigger AOD, unlock with fingerprint. Verify no flicker; Trigger Assistant from AOD in various scenarios. Verify no flicker.
Change-Id: I0db2938afdde23c1995f6ac905d4a6abdf25cdec
Benjamin Miller [Mon, 24 Jul 2017 08:11:39 +0000 (10:11 +0200)]
Docs: Note that DISALLOW_CONFIG_VPN stops VPNs from starting
VPNs don't start except a DPC's configured always-on VPN. Clarified version behaviors.
Staged at: go/dac-stage/reference/android/os/UserManager.html#DISALLOW_CONFIG_VPN
Test: make ds-docs and output staged UserManager page
Bug:
63582789
Change-Id: I83c0c6cc580b9d1d224a94e073f559f23cf4d672
(cherry picked from commit
1f83e4d498f4a4f2c8796cdefe330a4caf258424)
Bill Yi [Fri, 28 Jul 2017 08:50:05 +0000 (01:50 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2c47595d891804dd376dd6b14764d20d61891b01
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
Hugo Benichi [Tue, 25 Jul 2017 02:40:56 +0000 (11:40 +0900)]
Logging improvements when NetworkCapabilities change
This patch improves the wtf() logging in updateCapabilities to
better distinguish between the cases of a changed specifiers, changed
transports, or changed capabilities. The case of NOT_METERED being added
or removed is ignored.
Bug:
63326103
Test: runtest frameworks-net, runtest frameworks-wifi
Change-Id: I05c6e78891e1eac658f1cf883223af520a9a4f8f
Svetoslav Ganov [Fri, 28 Jul 2017 05:46:53 +0000 (05:46 +0000)]
Report permission flags for all protections based on SDK
We added a couple of protection flags that also apply to
normal and dangerous permissions. These flags are folded
in the protection level breaking apps that directly and
compare against the protection constants. Apps that target
older than O SDK don't get protection flags folded into
the protection level.
Test: All permission tests pass
Added a new test to ensure no protection flags reported
for normal and dangerous permissions
Change-Id: I87b10a7695d8ecfa7156525d6f3d101fc0639513
bug:
62755026
Bart Sears [Fri, 28 Jul 2017 05:17:52 +0000 (05:17 +0000)]
Revert "Report permission flags for all protections based on SDK"
am:
784b56e1e6
Change-Id: Ice7dde53c5613f48d013424a7e99203fd854e532
Bart Sears [Fri, 28 Jul 2017 05:05:38 +0000 (05:05 +0000)]
Revert "Report permission flags for all protections based on SDK"
This reverts commit
852cf98cb8a4b9b56da84a96708c087996e119d2.
Change-Id: I62763bf85ec95a02a245c6b503aa34bb0e9d997a
Hugo Benichi [Fri, 28 Jul 2017 04:27:16 +0000 (04:27 +0000)]
Merge "NetworkNotificationManager: correctly handle existing notifications" into oc-dr1-dev
Sundeep Ghuman [Thu, 27 Jul 2017 03:23:32 +0000 (20:23 -0700)]
Force update wifi QS when opening.
This changes expands on ag/
2608526 by forcing a refresh of AccessPoints
when the QuickSettings picker is opened. This consolidates logic between
QS and Settings, where in WifiSettings we forceUpdate on cold start.
Bug: b/
62680006
Test: 1. Open the quick settings picker
2. Minimize the picker
3. Walk out of range of the networks you say listed in the picker
4. Re-open picker
5. Stale networks should not be shown, latest scan results should be.
Change-Id: Ia944dd3dbeff7d9c3774f04129c07f1ffd4466b2
Svetoslav Ganov [Fri, 28 Jul 2017 02:49:30 +0000 (02:49 +0000)]
Report permission flags for all protections based on SDK
am:
852cf98cb8
Change-Id: I6e87c8f40fa466f2a50f41549be41ea4fb598824
TreeHugger Robot [Fri, 28 Jul 2017 02:47:04 +0000 (02:47 +0000)]
Merge "wifi: Modify the SAR power levels interface" into oc-dr1-dev
Svetoslav Ganov [Thu, 27 Jul 2017 19:53:18 +0000 (12:53 -0700)]
Report permission flags for all protections based on SDK
We added a couple of protection flags that also apply to
normal and dangerous permissions. These flags are folded
in the protection level breaking apps that directly and
compare against the protection constants. Apps that target
older than O SDK don't get protection flags folded into
the protection level.
Test: All permission tests pass
Added a new test to ensure no protection flags reproted
for normal and dangerous permissions
bug:
62755026
Change-Id: I72547b0146e6b6919803e33ff64b7208c4a255ad
Andrew Lehmer [Fri, 28 Jul 2017 01:03:44 +0000 (01:03 +0000)]
Merge "AOD: Introduce night brightness bucket" into oc-dr1-dev
Hugo Benichi [Tue, 25 Jul 2017 12:57:51 +0000 (21:57 +0900)]
NetworkNotificationManager: correctly handle existing notifications
This patch corrects a regression added by commit
fb2609d3eee1 that did
not take into account the case of multiple notifications shown for a
single network id. Given how network notifications are triggered, it can
happen that NO_INTERNET and SIGN_IN notifications are both triggered for
the same network when captive portal detection is slow.
Contrary to the situation before commit
fb2609d3eee1, a notification
priority order is introduced so that SIGN_IN always overrides
NO_INTERNET, and NO_INTERNET is ignored if SIGN_IN is already present.
Bug:
63676954
Bug:
62503737
Test: runtest frameworks-net, added new unit tests
Merged-In: Ib8658601e8d4dc6c41b335ab7dd8caa0cccd9531
Merged-In: I4432f66067ea1ab02e1d2dfe42530bcdafa52df6
Merged-In: I74631b0bfd14daf18a1641ed7f2ec323d636ebbf
Merged-In: I73cc879e910d503946facdba498b300337f349fd
Merged-In: Ieed9e3e7755e0c5f89dc41ef66f47d4dbf4c66a9
Merged-In: I0aa590170f1bd4c37175c7e35e54d52f1fb21347
(cherry picked from commit
5fcd050e0ecd5985cf184f55ea3df4434da8f824)
Change-Id: I41675768ab59e9b23ca4275edf297b82595e5730
Sergey Vasilinets [Thu, 27 Jul 2017 23:29:34 +0000 (23:29 +0000)]
Revert "Revert "Update overscroll and toast UI""
This reverts commit
45c493f2c2908d782e2fb5dbc5aa56fc92d703c9.
Change-Id: Idefc8e1b6f954def7ef4cdf08b687042a6091a0d
Mathieu Chartier [Thu, 27 Jul 2017 22:47:33 +0000 (15:47 -0700)]
Add AsyncTask to compiled classes
Somehow got missed by the hprof dumps.
Test: make
Bug:
62832717
Change-Id: Ia11f98ac4a9bb2234bbc166c9eafa25f3bfe4829
TreeHugger Robot [Thu, 27 Jul 2017 22:38:47 +0000 (22:38 +0000)]
Merge "Change IMS callback AIDLs to be oneway" into oc-dr1-dev
Dirk Dougherty [Fri, 9 Jun 2017 21:43:32 +0000 (14:43 -0700)]
Cherry-pick from master Doc change: Add API 26 to @since list
Add API 26 to @since list and turn off preview watermarking.
Fix has been successfully submitted in master and affects doc files
only.
Bug:
62087404
Bug:
64123587
Test: make ds-docs
Original change-Id: Idcf84882a1a1fe0864ee6ff3d0af6cd857c73a06
Change-Id: I28700ad15d931256d9dfc1016df546bd2f0e718f
TreeHugger Robot [Thu, 27 Jul 2017 21:18:11 +0000 (21:18 +0000)]
Merge "AOD: Fix flicker at end of AOD2" into oc-dr1-dev
Selim Cinek [Thu, 27 Jul 2017 21:09:09 +0000 (21:09 +0000)]
Merge "HeadsUpManager: escalate via wakefulness lifecycle instead of broadcast" into oc-dr1-dev
Christine Franks [Thu, 27 Jul 2017 19:59:45 +0000 (19:59 +0000)]
Merge "DO NOT MERGE - Update night display coefficients" into oc-dr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 19:58:42 +0000 (19:58 +0000)]
Merge "AAPT2: Fix processing of quotes in XML" into oc-dr1-dev
Brad Ebinger [Thu, 27 Jul 2017 19:57:03 +0000 (12:57 -0700)]
Change IMS callback AIDLs to be oneway
A bad behaving service was causing the IMS registration
callbacks to block indefinetly waiting for the callback
binder implementation in another process to finish. Since
we update the IMS registration in a loop, we were never getting
to the updates for the other processes.
This change moves the AIDL definition to oneway. Since these
are callback AIDLs, the caller doesn't need to wait
for the callbacks to return before sending the others.
Bug:
63137625
Test: Manual
Change-Id: Id39b6b70aa20bb9986bf293abe2f9e683da4252e
Jason Monk [Thu, 27 Jul 2017 19:41:26 +0000 (15:41 -0400)]
QS Tweaks
Test: manual
Change-Id: I4293bb48690386db9a4fd741c2e86e16a1547821
Fixes:
63905317
Fixes:
63093290
TreeHugger Robot [Thu, 27 Jul 2017 18:55:22 +0000 (18:55 +0000)]
Merge "Bluetooth: show multi-device status in Quick Settings" into oc-dr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 18:43:39 +0000 (18:43 +0000)]
Merge "Fix QS DND Radio alignment ONCE AND FOR ALL" into oc-dr1-dev
Christine Franks [Thu, 27 Jul 2017 00:51:16 +0000 (17:51 -0700)]
DO NOT MERGE - Update night display coefficients
Bug:
63438695
Test: manual - adjust intensity slider
Change-Id: I38ec7385b36367e5c9f6c606e65a982efbd32a1b
TreeHugger Robot [Thu, 27 Jul 2017 17:05:31 +0000 (17:05 +0000)]
Merge "AOD: Fix wakeup transition jank" into oc-dr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 17:03:17 +0000 (17:03 +0000)]
Merge "Report the display is off when the hardware blanks itself." into oc-dr1-dev
Lucas Dupin [Thu, 27 Jul 2017 16:41:12 +0000 (16:41 +0000)]
Merge "Add theme variables to SysUI dump" into oc-dr1-dev
Jason Monk [Thu, 27 Jul 2017 16:35:41 +0000 (12:35 -0400)]
Fix recents split-screen icon
The funny thing about weak references is, they are weak.
Test: manual
Change-Id: I93b32e0432e6527bb590990f7f62b8b05a7e94fb
Fixes:
63749049
Adrian Roos [Thu, 27 Jul 2017 16:19:32 +0000 (18:19 +0200)]
AOD: Fix flicker at end of AOD2
Fixes a flicker at the end of pulsing out. Instead of the hard cut
we animate out and then hard cut to AOD1.
Change-Id: I64149bb734c10e07e3da2822548a4651b9fb48db
Fixes:
64077859
Test: Receive notification, let it time out; verify no flicker at end of fading out.
Adrian Roos [Wed, 26 Jul 2017 15:29:59 +0000 (17:29 +0200)]
HeadsUpManager: escalate via wakefulness lifecycle instead of broadcast
Fixes an issue where heads up notifications were escalated too late,
which caused notifications not to show on ambient display if they came
in after the device started dozing but before the SCREEN_OFF intent came
in.
Instead, we now escalate when we start going to sleep.
Note that SCREEN_OFF is dispatched on the wakefulness lifecycle, not the screen
lifecycle.
Change-Id: Ied73161d1007d1c65c31e8c5a6f660124a1f4385
Fixes:
63992199
Test: Receive notification right when the display turns off. Make sure AOD does not show in a weird state.
Adrian Roos [Thu, 27 Jul 2017 14:58:45 +0000 (14:58 +0000)]
Merge "AOD: Make sure to update visibilities after instant expanding" into oc-dr1-dev
Adrian Roos [Tue, 25 Jul 2017 14:29:27 +0000 (16:29 +0200)]
AOD: Make sure to update visibilities after instant expanding
Fixes an issue where disable flags were not applied properly because
they were not recomputed after expanding the PanelBar.
Change-Id: I6933ba4951bf768a15a9d4f58728558939f106ae
Fixes:
64001235
Test: Open camera, put to landscape, press power; Verify time and battery icon are not visible in transition.
TreeHugger Robot [Thu, 27 Jul 2017 14:27:25 +0000 (14:27 +0000)]
Merge "Check if stream exists on volume changed." into oc-dr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 12:40:20 +0000 (12:40 +0000)]
Merge "Do not show unreachable APs in QS Wifi Picker." into oc-dr1-dev
Adrian Roos [Thu, 27 Jul 2017 11:57:35 +0000 (13:57 +0200)]
AOD: Fix wakeup transition jank
No longer do the upwards animation from AOD1, because there is a fade in instead now.
Also, because the DozeService gets finished when waking up, we were disallowing
animations again. Instead, we now ignore disallowing animations while waking up.
Also don't cancel the NotificationPanelView wakeup animation when another identical
request comes in.
Also adds tracing for various SystemUI states.
Bug:
63531607
Test: Wake up from AOD1. Ensure there is no jank or flicker
Change-Id: I383ffa320f28ac4bf5432e4f4f5c06372717f66f
Jack He [Thu, 27 Jul 2017 06:51:23 +0000 (23:51 -0700)]
Bluetooth: show multi-device status in Quick Settings
* In Quick Settings, BluetoothTile used BluetoothController to track
BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED intent
that is only fired when 1st device is connecting/connected and last
device is disconnecting/disconnected. As result, non-first device's
connecting/connected states and non-last device's
disconnecting/disconnected states are not tracked properly.
* Instead, CachedBluetoothDevice.getMaxConnectionState() should be used
Bug:
63509289
Test: Connect to multiple devices and disconnect from multiple devices
Change-Id: I9ccc2d3e9e4ae1a44f4d270368a8f07030353544
Lucas Dupin [Thu, 27 Jul 2017 04:48:06 +0000 (21:48 -0700)]
Add theme variables to SysUI dump
Dumping current themes and scrim states to make debugging easier.
Bug:
63890571
Test: adb bugreport # look for new variables
Change-Id: Ia9bfd1b91d8d2c19930cb896d337ecdfa776e6cb
TreeHugger Robot [Thu, 27 Jul 2017 04:47:22 +0000 (04:47 +0000)]
Merge "Fix window insets on keyguard" into oc-dr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 03:35:35 +0000 (03:35 +0000)]
Merge "Check TTY status at bringup" into oc-dr1-dev
Sundeep Ghuman [Tue, 18 Jul 2017 22:16:01 +0000 (15:16 -0700)]
Do not show unreachable APs in QS Wifi Picker.
This consolidates logic between the QS Picker and the WifiSettings
Picker. Previous QS behavior would show the out of range networks with
empty wifi pies, can last up to 3 scans, and differs from behavior in
WifiSettings.
Bug: b/
62680006
Test: 1. Open the quick settings picker
2. Minimize the picker
3. Walk out of range of the networks you say listed in the picker
4. Re-open picker
5. Networks should not be shown.
Change-Id: Ic042f3e6ac41b426c343ccca288b26dcaaafa7fb
(cherry picked from commit
bcebe09c9f627b948e0ebc1024ec828b0606ea86)
TreeHugger Robot [Thu, 27 Jul 2017 02:58:43 +0000 (02:58 +0000)]
Merge "Signal init when user 0 CE storage is unlocked" into oc-dr1-dev
Selim Cinek [Thu, 27 Jul 2017 02:12:27 +0000 (02:12 +0000)]
Merge "Added haptic feedback for longpressing." into oc-dr1-dev
Bill Yi [Thu, 27 Jul 2017 00:09:23 +0000 (00:09 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am:
581a166ae1 -s ours am:
603a43e5c3 -s ours
am:
81a1d589ba -s ours
Change-Id: If94ae1fda7b2c6c965d6a9934d69ff6471015cc9
Bill Yi [Thu, 27 Jul 2017 00:04:28 +0000 (00:04 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am:
fb02073a66 -s ours am:
9cf9d294ef -s ours
am:
e2f2fbaea1 -s ours
Change-Id: I418d14c7d7be86a26a54cdec8a17b4cf1696c856
Bill Yi [Wed, 26 Jul 2017 23:55:29 +0000 (23:55 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am:
4ba2bc4d32 -s ours am:
8080362358 -s ours
am:
0ceb3853e8 -s ours
Change-Id: Ib201207aeb25acd4b29f5768511d764ea5228934
Bill Yi [Wed, 26 Jul 2017 23:44:22 +0000 (23:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am:
3875d1a103 -s ours
am:
995029b529 -s ours
Change-Id: I55aad5355130ace0d3b8826620b1bf1d0470ce23
Bill Yi [Wed, 26 Jul 2017 23:38:39 +0000 (23:38 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am:
c2b08ca602 -s ours
am:
aec51f497c -s ours
Change-Id: Iee66d395f034e3898ca805e4e7d6be141aec17bb
Bill Yi [Wed, 26 Jul 2017 23:33:53 +0000 (23:33 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am:
9724569903 -s ours
am:
18b818e2dd -s ours
Change-Id: Id9ad618535461c7d0b60bf324d286980073ab52f
Bill Yi [Wed, 26 Jul 2017 23:15:22 +0000 (23:15 +0000)]
Merge "Merge "Import translations. DO NOT MERGE" into cw-f-dev am:
fbfd283125 -s ours" into nyc-mr2-dev am:
cd955ca6e5 -s ours
am:
f66ddc099a -s ours
Change-Id: If913cec6881240926b3866eccd4f2680c96bc1f7
Bill Yi [Wed, 26 Jul 2017 23:10:06 +0000 (23:10 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am:
581a166ae1 -s ours
am:
603a43e5c3 -s ours
Change-Id: I57e366359829001bd92fa0b77d8068cb30c18456
Bill Yi [Wed, 26 Jul 2017 23:07:26 +0000 (23:07 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am:
fb02073a66 -s ours
am:
9cf9d294ef -s ours
Change-Id: I559573199120374e303bfaae5d5c18660dbb369e
Bill Yi [Wed, 26 Jul 2017 22:56:00 +0000 (22:56 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am:
581a166ae1 -s ours
Change-Id: If1bba4f6237b39c86fc5fa998376683d78cd483e
Bill Yi [Wed, 26 Jul 2017 22:55:44 +0000 (22:55 +0000)]
Merge "Import translations. DO NOT MERGE am:
69d0838208 -s ours" into nyc-mr2-dev am:
3bcdbff889 -s ours
am:
6f24c015ef -s ours
Change-Id: Ifce7209bce43d5228d1f2e32b1fffa43daf5d793