OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add a missing null check" into oc-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

6 years agoMerge "Add a missing null check" into oc-dev
Jeff Sharkey [Sat, 29 Jul 2017 15:56:14 +0000 (15:56 +0000)]
Merge "Add a missing null check" into oc-dev

6 years agoMerge "Force update wifi QS when opening." into oc-dr1-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

6 years agoDO NOT MERGE ANYWHERE: Add a wakelock timeout when downloading xtra data for GNSS...
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

6 years agoDO NOT MERGE ANYWHERE: Add a wakelock timeout when downloading xtra data for GNSS...
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

6 years agoDO NOT MERGE ANYWHERE: Add a wakelock timeout when downloading xtra data for GNSS.
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

6 years agoDO NOT MERGE ANYWHERE: Add a wakelock timeout when downloading xtra data for GNSS.
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)

6 years agoMerge "Logging improvements when NetworkCapabilities change" into oc-dr1-dev
Hugo Benichi [Fri, 28 Jul 2017 23:42:59 +0000 (23:42 +0000)]
Merge "Logging improvements when NetworkCapabilities change" into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Fri, 28 Jul 2017 23:10:01 +0000 (23:10 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoAdd a missing null check
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

6 years agoMerge "Revert "Revert "Update overscroll and toast UI""" into oc-dr1-dev
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

6 years agoHandle case for missing permissions - fix NPE
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

6 years agoHandle case for missing permissions - fix NPE
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

6 years agoMerge "Cherry-pick from master Doc change: Add API 26 to @since list" into oc-dev
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

6 years agoMerge "Cherry-pick from master Doc change: Add API 26 to @since list" into oc-dev
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

6 years agoImport translations. DO NOT MERGE
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

6 years agoMerge "Add new config to tell us whether brightness is bucketed or continuous" into...
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

6 years agoMerge "Remove rotation and app bounds from Configuration diff." into oc-dr1-dev
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

6 years agoMerge "Fix error color states and alphas and sizes of lock screen icons" into oc...
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

6 years agoMerge "Docs: Note that DISALLOW_CONFIG_VPN stops VPNs from starting" into oc-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

6 years agoMerge "Revert "NavBar: Don't reorient as much, its a waste of work"" into oc-dr1-dev
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

6 years agoMerge "Docs: Note that DISALLOW_CONFIG_VPN stops VPNs from starting" into oc-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

6 years agoMerge "Nav haptics: increase threshold to 150 and don't do on long clicks" into oc...
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

6 years agoMerge "Fix recents split-screen icon" into oc-dr1-dev
Jason Monk [Fri, 28 Jul 2017 17:02:19 +0000 (17:02 +0000)]
Merge "Fix recents split-screen icon" into oc-dr1-dev

6 years agoReport permission flags for all protections based on SDK
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

6 years agoMerge "Add AsyncTask to compiled classes" into oc-dr1-dev
Mathieu Chartier [Fri, 28 Jul 2017 16:33:18 +0000 (16:33 +0000)]
Merge "Add AsyncTask to compiled classes" into oc-dr1-dev

6 years agoMerge "QS Tweaks" into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 16:00:10 +0000 (16:00 +0000)]
Merge "QS Tweaks" into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" 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

6 years agoRevert "NavBar: Don't reorient as much, its a waste of work"
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

6 years agoRemove rotation and app bounds from Configuration diff.
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

6 years agoNav haptics: increase threshold to 150 and don't do on long clicks
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

6 years agoMerge "AOD: Fix more flickering" into oc-dr1-dev
TreeHugger Robot [Fri, 28 Jul 2017 14:40:45 +0000 (14:40 +0000)]
Merge "AOD: Fix more flickering" into oc-dr1-dev

6 years agoMerge "Don't freeze display if it isn't okay to animate." 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

6 years agoMerge "AOD: Increase alpha values when dozing" 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

6 years agoDon't freeze display if it isn't okay to animate.
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

6 years agoAOD: Fix more flickering
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

6 years agoDocs: Note that DISALLOW_CONFIG_VPN stops VPNs from starting
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)

6 years agoImport translations. DO NOT MERGE
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

6 years agoLogging improvements when NetworkCapabilities change
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

6 years agoReport permission flags for all protections based on SDK
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

6 years agoRevert "Report permission flags for all protections based on SDK"
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

6 years agoRevert "Report permission flags for all protections based on SDK"
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

6 years agoMerge "NetworkNotificationManager: correctly handle existing notifications" into...
Hugo Benichi [Fri, 28 Jul 2017 04:27:16 +0000 (04:27 +0000)]
Merge "NetworkNotificationManager: correctly handle existing notifications" into oc-dr1-dev

6 years agoForce update wifi QS when opening.
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

6 years agoReport permission flags for all protections based on SDK
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

6 years agoMerge "wifi: Modify the SAR power levels interface" into oc-dr1-dev
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

6 years agoReport permission flags for all protections based on SDK
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

6 years agoMerge "AOD: Introduce night brightness bucket" into oc-dr1-dev
Andrew Lehmer [Fri, 28 Jul 2017 01:03:44 +0000 (01:03 +0000)]
Merge "AOD: Introduce night brightness bucket" into oc-dr1-dev

6 years agoNetworkNotificationManager: correctly handle existing notifications
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

6 years agoRevert "Revert "Update overscroll and toast UI""
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

6 years agoAdd AsyncTask to compiled classes
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

6 years agoMerge "Change IMS callback AIDLs to be oneway" into oc-dr1-dev
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

6 years agoCherry-pick from master Doc change: Add API 26 to @since list
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

6 years agoMerge "AOD: Fix flicker at end of AOD2" into oc-dr1-dev
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

6 years agoMerge "HeadsUpManager: escalate via wakefulness lifecycle instead of broadcast" into...
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

6 years agoMerge "DO NOT MERGE - Update night display coefficients" 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

6 years agoMerge "AAPT2: Fix processing of quotes in XML" 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

6 years agoChange IMS callback AIDLs to be oneway
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

6 years agoQS Tweaks
Jason Monk [Thu, 27 Jul 2017 19:41:26 +0000 (15:41 -0400)]
QS Tweaks

Test: manual
Change-Id: I4293bb48690386db9a4fd741c2e86e16a1547821
Fixes: 63905317
Fixes: 63093290

6 years agoMerge "Bluetooth: show multi-device status in Quick Settings" into oc-dr1-dev
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

6 years agoMerge "Fix QS DND Radio alignment ONCE AND FOR ALL" 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

6 years agoDO NOT MERGE - Update night display coefficients
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

6 years agoMerge "AOD: Fix wakeup transition jank" into oc-dr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 17:05:31 +0000 (17:05 +0000)]
Merge "AOD: Fix wakeup transition jank" into oc-dr1-dev

6 years agoMerge "Report the display is off when the hardware blanks itself." 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

6 years agoMerge "Add theme variables to SysUI dump" 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

6 years agoFix recents split-screen icon
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

6 years agoAOD: Fix flicker at end of AOD2
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.

6 years agoHeadsUpManager: escalate via wakefulness lifecycle instead of broadcast
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.

6 years agoMerge "AOD: Make sure to update visibilities after instant expanding" into oc-dr1-dev
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

6 years agoAOD: Make sure to update visibilities after instant expanding
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.

6 years agoMerge "Check if stream exists on volume changed." into oc-dr1-dev
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

6 years agoMerge "Do not show unreachable APs in QS Wifi Picker." 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

6 years agoAOD: Fix wakeup transition jank
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

6 years agoBluetooth: show multi-device status in Quick Settings
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

6 years agoAdd theme variables to SysUI dump
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

6 years agoMerge "Fix window insets on keyguard" into oc-dr1-dev
TreeHugger Robot [Thu, 27 Jul 2017 04:47:22 +0000 (04:47 +0000)]
Merge "Fix window insets on keyguard" into oc-dr1-dev

6 years agoMerge "Check TTY status at bringup" 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

6 years agoDo not show unreachable APs in QS Wifi Picker.
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)

6 years agoMerge "Signal init when user 0 CE storage is unlocked" into oc-dr1-dev
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

6 years agoMerge "Added haptic feedback for longpressing." 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

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 581a166ae1 -s ours am...
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

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: fb02073a66 -s ours am...
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

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 4ba2bc4d32 -s ours am...
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

6 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 3875d1a103 -s ours
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

6 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: c2b08ca602 -s ours
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

6 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 9724569903 -s ours
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

6 years agoMerge "Merge "Import translations. DO NOT MERGE" into cw-f-dev am: fbfd283125 -s...
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

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 581a166ae1 -s ours
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

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: fb02073a66 -s ours
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

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
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

6 years agoMerge "Import translations. DO NOT MERGE am: 69d0838208 -s ours" into nyc-mr2-dev...
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

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev am: 4ba2bc4d32 -s ours
Bill Yi [Wed, 26 Jul 2017 22:55:38 +0000 (22:55 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev am: 4ba2bc4d32  -s ours
am: 8080362358  -s ours

Change-Id: I8243f6ee311cd730ace4f9bca4693ccdabfa7523

6 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Wed, 26 Jul 2017 22:52:44 +0000 (22:52 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 3875d1a103  -s ours

Change-Id: Ife54f4e800fd4b81c5639984937096945f063d1d

6 years agoMerge "Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: a1bde91384...
Android Build Merger (Role) [Wed, 26 Jul 2017 22:51:17 +0000 (22:51 +0000)]
Merge "Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: a1bde91384  -s ours am: cccb304acf  -s ours" into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Wed, 26 Jul 2017 22:49:37 +0000 (22:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: c2b08ca602  -s ours

Change-Id: I0c8c1cc35fa6560dd1a40b22544ecd25dc7af0b2

6 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: a1bde91384 -s ours
Bill Yi [Wed, 26 Jul 2017 22:47:01 +0000 (22:47 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: a1bde91384  -s ours
am: cccb304acf  -s ours

Change-Id: Idae3b63b7017937b16bf124eaf329be1e1824e69

6 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Wed, 26 Jul 2017 22:46:32 +0000 (22:46 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev
am: fb02073a66  -s ours

Change-Id: I497f27dc7f50f9914b5157a4846c05ef4091abfd

6 years agoMerge "Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 9bc30ce545...
Android Build Merger (Role) [Wed, 26 Jul 2017 22:45:45 +0000 (22:45 +0000)]
Merge "Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 9bc30ce545  -s ours am: 611a6ffe29  -s ours" into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Wed, 26 Jul 2017 22:44:26 +0000 (22:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 9724569903  -s ours

Change-Id: I8bcfd139861eb4ca6a0943e321b8032245e27a42

6 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 9bc30ce545 -s ours
Bill Yi [Wed, 26 Jul 2017 22:41:01 +0000 (22:41 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 9bc30ce545  -s ours
am: 611a6ffe29  -s ours

Change-Id: Ie4eb3a673eb7e7b1f531a05e2b8a420516bccb4e