OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "TextureView: destroy layer on destroyHardwareResources event" into nyc-mr1-dev
sergeyv [Wed, 3 Aug 2016 22:08:15 +0000 (22:08 +0000)]
Merge "TextureView: destroy layer on destroyHardwareResources event" into nyc-mr1-dev
am: ba3d4f6ea1

Change-Id: I6268fa190e37af34f787df02b88f54b68920e6e7

8 years agoTextureView: destroy layer on destroyHardwareResources event
sergeyv [Wed, 3 Aug 2016 22:08:13 +0000 (22:08 +0000)]
TextureView: destroy layer on destroyHardwareResources event
am: 1c16c37d86

Change-Id: I75a9c06c81f696b8a65d128f4ec20ca9d3083a07

8 years agoMerge "TextureView: destroy layer on destroyHardwareResources event" into nyc-mr1-dev
Sergei Vasilinetc [Wed, 3 Aug 2016 21:54:09 +0000 (21:54 +0000)]
Merge "TextureView: destroy layer on destroyHardwareResources event" into nyc-mr1-dev

8 years agoMerge "Store parameter object's intent field to local var" into cw-f-dev
ewol [Wed, 3 Aug 2016 20:20:55 +0000 (20:20 +0000)]
Merge "Store parameter object's intent field to local var" into cw-f-dev

8 years agoMerge changes Id60fd5ee,I4c7b68ad into nyc-mr1-dev
Jason Monk [Wed, 3 Aug 2016 19:44:41 +0000 (19:44 +0000)]
Merge changes Id60fd5ee,I4c7b68ad into nyc-mr1-dev
am: 4a051a849d

Change-Id: If80619af61024fbd51ac5ccfd4fec7f20a4f24b2

8 years agoQS Header: post some updates to the header
Jason Monk [Wed, 3 Aug 2016 19:44:38 +0000 (19:44 +0000)]
QS Header: post some updates to the header
am: 9c74ff1218

Change-Id: I9e36cff31355254057450430a6a38852c5f5e50c

8 years agoQS Header: don't update everything unless we need to
Jason Monk [Wed, 3 Aug 2016 19:43:26 +0000 (19:43 +0000)]
QS Header: don't update everything unless we need to
am: d8fb07f534

Change-Id: I638dc6fbf81c9cec1fb6b25990b9e4091278383e

8 years agoMerge "Move brightness handling to a background thread" into nyc-mr1-dev
Jorim Jaggi [Wed, 3 Aug 2016 19:43:23 +0000 (19:43 +0000)]
Merge "Move brightness handling to a background thread" into nyc-mr1-dev
am: f1a6f1e032

Change-Id: I5d95fb39f18e58d9eaa330217e498e758df30d03

8 years agoMove brightness handling to a background thread
Jorim Jaggi [Wed, 3 Aug 2016 19:43:21 +0000 (19:43 +0000)]
Move brightness handling to a background thread
am: c6da82fb9c

Change-Id: I187a9ba23d66085d0383fd5934e8f3ffd8e18228

8 years agoMerge changes Id60fd5ee,I4c7b68ad into nyc-mr1-dev
TreeHugger Robot [Wed, 3 Aug 2016 19:36:24 +0000 (19:36 +0000)]
Merge changes Id60fd5ee,I4c7b68ad into nyc-mr1-dev

* changes:
  QS Header: post some updates to the header
  QS Header: don't update everything unless we need to

8 years agoMerge "Move brightness handling to a background thread" into nyc-mr1-dev
TreeHugger Robot [Wed, 3 Aug 2016 19:35:53 +0000 (19:35 +0000)]
Merge "Move brightness handling to a background thread" into nyc-mr1-dev

8 years agoAdding support for blacklisting apps from Recents transition.
Winson [Wed, 3 Aug 2016 19:33:58 +0000 (19:33 +0000)]
Adding support for blacklisting apps from Recents transition.
am: fc73eec235

Change-Id: Ie2b253c2dd9bd6660b6a18e21b7e4afd43f99b6e

8 years agoAdding support for blacklisting apps from Recents transition.
Winson [Mon, 1 Aug 2016 22:48:34 +0000 (15:48 -0700)]
Adding support for blacklisting apps from Recents transition.

Bug: 30602323

Change-Id: I2a6e75a989264ce72ac552e2c7f82225ccd68adf

8 years agoMerge "Fix RNA crash" into nyc-mr1-dev
John Reck [Wed, 3 Aug 2016 19:05:47 +0000 (19:05 +0000)]
Merge "Fix RNA crash" into nyc-mr1-dev
am: f09b5d7a78

Change-Id: If4495794212e8567daca1da404eceb04e3c3992c

8 years agoFix RNA crash
John Reck [Wed, 3 Aug 2016 19:05:42 +0000 (19:05 +0000)]
Fix RNA crash
am: d58230c7f7

Change-Id: Iec812bd65b9c9e24d228b2aa36eaac60875abe66

8 years agoMerge "Fix RNA crash" into nyc-mr1-dev
TreeHugger Robot [Wed, 3 Aug 2016 18:57:25 +0000 (18:57 +0000)]
Merge "Fix RNA crash" into nyc-mr1-dev

8 years agoMerge "Revert "Remove coarse location pre-grant for preinstalled VrListenerServices...
Craig Donner [Wed, 3 Aug 2016 18:00:28 +0000 (18:00 +0000)]
Merge "Revert "Remove coarse location pre-grant for preinstalled VrListenerServices."" into nyc-mr1-dev
am: 5633ad6921

Change-Id: Icac4e7e97d26e589cbad7815459945f7c15420bf

8 years agoRevert "Remove coarse location pre-grant for preinstalled VrListenerServices."
Craig Donner [Wed, 3 Aug 2016 17:58:03 +0000 (17:58 +0000)]
Revert "Remove coarse location pre-grant for preinstalled VrListenerServices."
am: cae8cdf91a

Change-Id: Ieccc553995b3d0ec772f986278546c5d3d26d517

8 years agoMerge "Revert "Remove coarse location pre-grant for preinstalled VrListenerServices...
Craig Donner [Wed, 3 Aug 2016 17:52:10 +0000 (17:52 +0000)]
Merge "Revert "Remove coarse location pre-grant for preinstalled VrListenerServices."" into nyc-mr1-dev

8 years agoFix RNA crash
John Reck [Wed, 3 Aug 2016 17:28:10 +0000 (10:28 -0700)]
Fix RNA crash

Bug: 30632377
Change-Id: I5d53fba0f469553ae90bebad1482ef28965dd853

8 years agoQS Header: post some updates to the header
Jason Monk [Wed, 3 Aug 2016 14:25:42 +0000 (10:25 -0400)]
QS Header: post some updates to the header

These sometimes trigger binder calls, that can cause jank on the
first frame of expanding the panel.

Bug: 30442298
Change-Id: Id60fd5ee9732515cd6f9645c7ab307c949dfc506

8 years agoQS Header: don't update everything unless we need to
Jason Monk [Tue, 2 Aug 2016 19:39:42 +0000 (15:39 -0400)]
QS Header: don't update everything unless we need to

Because it leads to bad performance.

Bug: 30442298
Change-Id: I4c7b68ad30a1fd4fe8245f27ce2d2b2038583d23

8 years agoMerge "Changes styling on number, date and time pickers." into cw-f-dev
Matthew Tait [Wed, 3 Aug 2016 08:09:52 +0000 (08:09 +0000)]
Merge "Changes styling on number, date and time pickers." into cw-f-dev

8 years agoMerge "Improved vibration feedback completely" into nyc-mr1-dev
Selim Cinek [Wed, 3 Aug 2016 01:03:17 +0000 (01:03 +0000)]
Merge "Improved vibration feedback completely" into nyc-mr1-dev
am: c9682ab5b5

Change-Id: Ie96a5aef1bc953fd41420550baa38415afae0083

8 years agoImproved vibration feedback completely
Selim Cinek [Wed, 3 Aug 2016 01:03:14 +0000 (01:03 +0000)]
Improved vibration feedback completely
am: 0fc298ffc7

Change-Id: I9c6c7dc7bf1e330092f572dd7fde97b86851bf1b

8 years agoDisable systemui navigation events while keyguard is showing
Jim Miller [Wed, 3 Aug 2016 01:03:09 +0000 (01:03 +0000)]
Disable systemui navigation events while keyguard is showing
am: 1c21fc5e0a

Change-Id: I0cf13e9e6f3cc2cbf0b7e44901f7c41140ceb85f

8 years agoMerge "Improved vibration feedback completely" into nyc-mr1-dev
TreeHugger Robot [Wed, 3 Aug 2016 00:57:52 +0000 (00:57 +0000)]
Merge "Improved vibration feedback completely" into nyc-mr1-dev

8 years agoDisable systemui navigation events while keyguard is showing
Jim Miller [Tue, 2 Aug 2016 23:12:58 +0000 (16:12 -0700)]
Disable systemui navigation events while keyguard is showing

This feature isn't generally useful on this screen and provides
an additional mechanism for falsing, so it should be disabled.

Fixes bug 30443528

Change-Id: Ibdba485917b5e66780ff4915f48ff2014f195eca

8 years agoMerge "Fix component management in VrManagerService." into nyc-mr1-dev
Ruben Brunk [Tue, 2 Aug 2016 23:08:08 +0000 (23:08 +0000)]
Merge "Fix component management in VrManagerService." into nyc-mr1-dev
am: 964d6914ff

Change-Id: Icff0f300a7157b435fc573f32eff3858cd11be5f

8 years agoFix component management in VrManagerService.
Ruben Brunk [Tue, 2 Aug 2016 23:08:03 +0000 (23:08 +0000)]
Fix component management in VrManagerService.
am: 1f4f26b1d5

Change-Id: I2767c5d05cc567eebdc2441e7fa0953be4a8f636

8 years agoMerge "Fix component management in VrManagerService." into nyc-mr1-dev
Ruben Brunk [Tue, 2 Aug 2016 23:01:24 +0000 (23:01 +0000)]
Merge "Fix component management in VrManagerService." into nyc-mr1-dev

8 years agoImproved vibration feedback completely
Selim Cinek [Tue, 2 Aug 2016 01:26:23 +0000 (18:26 -0700)]
Improved vibration feedback completely

Certain paths were still vibrating at the wrong time.

Change-Id: I660a84efa798a8c1198d8899584ecec48ff2e9d8
Fixes: 30000347

8 years agoMerge "Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts...
Dianne Hackborn [Tue, 2 Aug 2016 22:47:06 +0000 (22:47 +0000)]
Merge "Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts" into nyc-mr1-dev
am: 7841042a83

Change-Id: I2f84a6f91e81b704934dbd9e38af36b61e8c752b

8 years agoFix issue #30601353: Don't warn of non-protected explicit intent broadcasts
Dianne Hackborn [Tue, 2 Aug 2016 22:47:00 +0000 (22:47 +0000)]
Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts
am: de8572d931

Change-Id: I24d8af2a718a15da6c5564760501def9ab29e92c

8 years agoMerge "Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts...
Dianne Hackborn [Tue, 2 Aug 2016 22:41:36 +0000 (22:41 +0000)]
Merge "Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts" into nyc-mr1-dev

8 years agoTextureView: destroy layer on destroyHardwareResources event
sergeyv [Tue, 2 Aug 2016 21:46:12 +0000 (14:46 -0700)]
TextureView: destroy layer on destroyHardwareResources event

bug:30468770
Change-Id: I5174808e3fa6e4a87e3522246522c4e6d7ee2c3c

8 years agoFix component management in VrManagerService.
Ruben Brunk [Tue, 2 Aug 2016 21:21:36 +0000 (14:21 -0700)]
Fix component management in VrManagerService.

- Add null checks to avoid crashing in transient state with no
  enabled packages during user switch.

Bug: 30574163
Change-Id: I316373e900d4be35be7691b50057d0701b7fb4a5

8 years agocherry-pick from nyc-dev: docs: SafeBrowsing API am: 741757f27f am: 328a6a12eb
Joe Fernandez [Tue, 2 Aug 2016 21:57:09 +0000 (21:57 +0000)]
cherry-pick from nyc-dev: docs: SafeBrowsing API am: 741757f27f am: 328a6a12eb
am: 465004fe6b

Change-Id: I301674581c87a3eafbff4644e4c103114add6968

8 years agocherry-pick from nyc-dev: docs: SafeBrowsing API am: 741757f27f
Andrew Solovay [Tue, 2 Aug 2016 21:48:05 +0000 (21:48 +0000)]
cherry-pick from nyc-dev: docs: SafeBrowsing API am: 741757f27f
am: 328a6a12eb

Change-Id: I319b852c941b67d83f6f473b2cd5b61860af687a

8 years agoResolve merge conflicts of ffb4eb1 to nyc-dev am: a5abfee3a5
Kevin Hufnagle [Tue, 2 Aug 2016 21:47:20 +0000 (21:47 +0000)]
Resolve merge conflicts of ffb4eb1 to nyc-dev am: a5abfee3a5
am: af74842e3a

Change-Id: I065b637c98d038d8125e0e6dd02599ea0764b051

8 years agoResolve merge conflicts of ffb4eb1 to nyc-dev
Joe Fernandez [Tue, 2 Aug 2016 21:40:08 +0000 (21:40 +0000)]
Resolve merge conflicts of ffb4eb1 to nyc-dev
am: a5abfee3a5

Change-Id: I7c4265a691636c1de8b47688cfaa15e57907caee

8 years agocherry-pick from nyc-dev: docs: SafeBrowsing API
Joe Fernandez [Tue, 2 Aug 2016 21:36:02 +0000 (21:36 +0000)]
cherry-pick from nyc-dev: docs: SafeBrowsing API
am: 741757f27f

Change-Id: Ice1968509af665160646025e708d3802b39ef4c4

8 years agodocs: Fixing download redirects
Andrew Solovay [Tue, 2 Aug 2016 21:14:08 +0000 (14:14 -0700)]
docs: Fixing download redirects

URLS of the form https://developer.android.com/downloads/… weren't
properly redirecting to
https://commondatastorage.googleapis.com/androiddevelopers/…

bug: 30594087
Change-Id: I18e026c236d081b6bb510900e5928107105b93cd

8 years agoFix issue #30601353: Don't warn of non-protected explicit intent broadcasts
Dianne Hackborn [Tue, 2 Aug 2016 21:08:23 +0000 (14:08 -0700)]
Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts

We still check for security errors of non-system apps trying to send
protected broadcasts at the front.

However, the WTF check for system apps sending non-protected broadcasts
is now moved down to where we actually resolve the receivers, so we
can loosed then check to make it okay as long as you are sending an
explicit intent to only appropriately protected receivers.

Change-Id: I5214c6c26a60de083f1f9578bcc5e95ba19f7001

8 years agoMerge "Target API check for margin params fix" into nyc-mr1-dev
Yigit Boyar [Tue, 2 Aug 2016 20:50:54 +0000 (20:50 +0000)]
Merge "Target API check for margin params fix" into nyc-mr1-dev
am: 828d4ff61d

Change-Id: Id289f1e8c41b02f76659aa04bed654f36e3aca9b

8 years agoTarget API check for margin params fix
Yigit Boyar [Tue, 2 Aug 2016 20:50:52 +0000 (20:50 +0000)]
Target API check for margin params fix
am: 2dd20a61e9

Change-Id: I745d44946585e08143e76b7d9da1a7302b4d66b9

8 years agoMerge "Ensure layer update include the dirty rect from AVD" into nyc-mr1-dev
Doris Liu [Tue, 2 Aug 2016 20:42:34 +0000 (20:42 +0000)]
Merge "Ensure layer update include the dirty rect from AVD" into nyc-mr1-dev
am: a3c35852a1

Change-Id: I8c3929e8c7702dc126aa11c27cb9a36d0a9535b3

8 years agoEnsure layer update include the dirty rect from AVD
Doris Liu [Tue, 2 Aug 2016 20:42:31 +0000 (20:42 +0000)]
Ensure layer update include the dirty rect from AVD
am: b51b2864e8

Change-Id: Ic8b6d70e9913205b4c34023ae10025171cb07311

8 years agoMerge "Target API check for margin params fix" into nyc-mr1-dev
Yigit Boyar [Tue, 2 Aug 2016 20:41:07 +0000 (20:41 +0000)]
Merge "Target API check for margin params fix" into nyc-mr1-dev

8 years agoMerge "Ensure layer update include the dirty rect from AVD" into nyc-mr1-dev
Doris Liu [Tue, 2 Aug 2016 20:36:19 +0000 (20:36 +0000)]
Merge "Ensure layer update include the dirty rect from AVD" into nyc-mr1-dev

8 years agoMerge "ShortcutManager: rescan all apps after next OTA" into nyc-mr1-dev
Makoto Onuki [Tue, 2 Aug 2016 20:27:43 +0000 (20:27 +0000)]
Merge "ShortcutManager: rescan all apps after next OTA" into nyc-mr1-dev
am: f77b6620d1

Change-Id: If915a2f89d0d86df2867273aff4acc3301128ad7

8 years agoShortcutManager: rescan all apps after next OTA
Makoto Onuki [Tue, 2 Aug 2016 20:27:40 +0000 (20:27 +0000)]
ShortcutManager: rescan all apps after next OTA
am: 4dd032d5a6

Change-Id: I234d02e97d7d3dc671ab2b66cc7b37029bab0064

8 years agoMerge "ShortcutManager: rescan all apps after next OTA" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 20:19:32 +0000 (20:19 +0000)]
Merge "ShortcutManager: rescan all apps after next OTA" into nyc-mr1-dev

8 years agoMerge "Add metrics logging for fingerprint swipe for notification panel." into nyc...
Doris Ling [Tue, 2 Aug 2016 19:55:12 +0000 (19:55 +0000)]
Merge "Add metrics logging for fingerprint swipe for notification panel." into nyc-mr1-dev
am: 174a074eb2

Change-Id: I8fa509ffe4e22a32ec1a7d6bfe7327d2c2be74f8

8 years agoAdd metrics logging for fingerprint swipe for notification panel.
Doris Ling [Tue, 2 Aug 2016 19:55:09 +0000 (19:55 +0000)]
Add metrics logging for fingerprint swipe for notification panel.
am: 3c00afba0b

Change-Id: I67fea85d2e9d5b3f8e47ab9e5ecb246c401c0cad

8 years agoMerge "Add metrics logging for fingerprint swipe for notification panel." into nyc...
Doris Ling [Tue, 2 Aug 2016 19:50:06 +0000 (19:50 +0000)]
Merge "Add metrics logging for fingerprint swipe for notification panel." into nyc-mr1-dev

8 years agoMerge "Removed redundant call to updateRulesForRestrictPowerUL()." into nyc-mr1-dev
Felipe Leme [Tue, 2 Aug 2016 19:02:10 +0000 (19:02 +0000)]
Merge "Removed redundant call to updateRulesForRestrictPowerUL()." into nyc-mr1-dev
am: ca69bd37a9

Change-Id: Ic04cfc60d270a0c3323f5e5e5243446b2aa9df53

8 years agoRemoved redundant call to updateRulesForRestrictPowerUL().
Felipe Leme [Tue, 2 Aug 2016 19:02:05 +0000 (19:02 +0000)]
Removed redundant call to updateRulesForRestrictPowerUL().
am: 7e6d8e2236

Change-Id: Iaab5f2eaf7b5764ab0e3146d3eefdfe69820bd85

8 years agoMerge "Removed redundant call to updateRulesForRestrictPowerUL()." into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 18:49:05 +0000 (18:49 +0000)]
Merge "Removed redundant call to updateRulesForRestrictPowerUL()." into nyc-mr1-dev

8 years agoMerge "SystemUI: Fix crash from bad notifications" into nyc-mr1-dev
Adrian Roos [Tue, 2 Aug 2016 18:48:55 +0000 (18:48 +0000)]
Merge "SystemUI: Fix crash from bad notifications" into nyc-mr1-dev
am: 87fab000c5

Change-Id: I91937edd386872e4ae62b56962bc5ed050024715

8 years agoSystemUI: Fix crash from bad notifications
Adrian Roos [Tue, 2 Aug 2016 18:48:52 +0000 (18:48 +0000)]
SystemUI: Fix crash from bad notifications
am: 95f8bea461

Change-Id: Icaf44c7d8d82da61e74b9b56bc423d4a04022d01

8 years agoMerge "DozeLog: Properly initialize" into nyc-mr1-dev
Adrian Roos [Tue, 2 Aug 2016 18:48:48 +0000 (18:48 +0000)]
Merge "DozeLog: Properly initialize" into nyc-mr1-dev
am: 9923784efc

Change-Id: I6bbaa5460d75a82ad7f68d088adcd0410ac9cd94

8 years agoDozeLog: Properly initialize
Adrian Roos [Tue, 2 Aug 2016 18:48:46 +0000 (18:48 +0000)]
DozeLog: Properly initialize
am: 23c14fc01c

Change-Id: Idffafa088306a42bc7d935855c37b4210e6b9736

8 years agoShortcutManager: rescan all apps after next OTA
Makoto Onuki [Tue, 2 Aug 2016 18:39:19 +0000 (11:39 -0700)]
ShortcutManager: rescan all apps after next OTA

- Normally when a user is unlocked, SM scans all updated apps
since the last scan to see if their manifest shortcuts have changed.

- There was a known issue that's been fixed already that'd result
in all shortcuts being removed.

- To work around this issue, let's scan all packages after the next
user unlock.

- This can be done by just renaming the XML attribute name to persist
the last app scan time.

Bug 30591723

Change-Id: Ie9f723ef30a1c991990d981193841cb203c094ad

8 years agoMerge changes I03844bce,I8035357c,Ibe7cb6df into nyc-mr1-dev
Jorim Jaggi [Tue, 2 Aug 2016 18:41:06 +0000 (18:41 +0000)]
Merge changes I03844bce,I8035357c,Ibe7cb6df into nyc-mr1-dev
am: 1340221244

Change-Id: I18d7d3168af5adfdc59cbb7f4a51d43337eb366b

8 years agoRemove lock contention when unlocking users
Jorim Jaggi [Tue, 2 Aug 2016 18:41:04 +0000 (18:41 +0000)]
Remove lock contention when unlocking users
am: 6f4d7b39c1

Change-Id: I71a426b184dab8dab285a6d3607882d662624a90

8 years agoMerge "SystemUI: Fix crash from bad notifications" into nyc-mr1-dev
Adrian Roos [Tue, 2 Aug 2016 18:40:41 +0000 (18:40 +0000)]
Merge "SystemUI: Fix crash from bad notifications" into nyc-mr1-dev

8 years agoOnly get trace name if tracing is enabled
Jorim Jaggi [Tue, 2 Aug 2016 18:40:29 +0000 (18:40 +0000)]
Only get trace name if tracing is enabled
am: 407c0be727

Change-Id: I0906df5742eb1775fb80c08e99bbb9cf690f0c72

8 years agoFix multi-window drag jank if vsync-app is before vsync-sf
Jorim Jaggi [Tue, 2 Aug 2016 18:39:55 +0000 (18:39 +0000)]
Fix multi-window drag jank if vsync-app is before vsync-sf
am: dbe6fdb05b

Change-Id: I99601ba82d9be3959dece64a23b3b2cc2daaf245

8 years agoMerge "DozeLog: Properly initialize" into nyc-mr1-dev
Adrian Roos [Tue, 2 Aug 2016 18:39:24 +0000 (18:39 +0000)]
Merge "DozeLog: Properly initialize" into nyc-mr1-dev

8 years agoMerge "Use SurfaceControl.screenshot() instead of screencap for screenshots." into...
Felipe Leme [Tue, 2 Aug 2016 18:37:50 +0000 (18:37 +0000)]
Merge "Use SurfaceControl.screenshot() instead of screencap for screenshots." into nyc-mr1-dev
am: f7ac45a33b

Change-Id: Ifb5ea273af0fcde967da148b205577f01e9d2025

8 years agoUse SurfaceControl.screenshot() instead of screencap for screenshots.
Felipe Leme [Tue, 2 Aug 2016 18:37:48 +0000 (18:37 +0000)]
Use SurfaceControl.screenshot() instead of screencap for screenshots.
am: aba9743643

Change-Id: Ie6761383247cd90d586b0b29866f49c8a7787282

8 years agoMerge changes I03844bce,I8035357c,Ibe7cb6df into nyc-mr1-dev
Jorim Jaggi [Tue, 2 Aug 2016 18:31:07 +0000 (18:31 +0000)]
Merge changes I03844bce,I8035357c,Ibe7cb6df into nyc-mr1-dev

* changes:
  Remove lock contention when unlocking users
  Only get trace name if tracing is enabled
  Fix multi-window drag jank if vsync-app is before vsync-sf

8 years agoMerge "Use SurfaceControl.screenshot() instead of screencap for screenshots." into...
TreeHugger Robot [Tue, 2 Aug 2016 18:29:45 +0000 (18:29 +0000)]
Merge "Use SurfaceControl.screenshot() instead of screencap for screenshots." into nyc-mr1-dev

8 years agoTarget API check for margin params fix
Yigit Boyar [Tue, 2 Aug 2016 00:42:28 +0000 (17:42 -0700)]
Target API check for margin params fix

Prior to N, our widgets were not converting MarginLayoutParams
properly between ViewGroups. The fix intrudced some issues in
older apps as the broken conversion code would hide developer
errors. This CL guards the change with a target API check so
that we don't affect older apps.

Bug: 30378230
Change-Id: I215281d261b553c3b4cedcd29ea0a861df809471

8 years agoMerge "Make NetworkOverLimitActivity and DataUsageSummaryActivity configurable" into...
Wei Liu [Tue, 2 Aug 2016 18:25:00 +0000 (18:25 +0000)]
Merge "Make NetworkOverLimitActivity and DataUsageSummaryActivity configurable" into cw-f-dev

8 years agoMerge "Put VD animators on paused list when RT stops drawing" into nyc-mr1-dev
Doris Liu [Tue, 2 Aug 2016 18:15:46 +0000 (18:15 +0000)]
Merge "Put VD animators on paused list when RT stops drawing" into nyc-mr1-dev
am: 0cf4d47a40

Change-Id: I0bfeb90007505243f49985b9a1b62ad9276e4833

8 years agoPut VD animators on paused list when RT stops drawing
Doris Liu [Tue, 2 Aug 2016 18:15:44 +0000 (18:15 +0000)]
Put VD animators on paused list when RT stops drawing
am: c82e879e56

Change-Id: I9f0202c8e69e681014253842b2a2de75d372616b

8 years agoMerge "Fix FrameMetricsObserver crash" into nyc-mr1-dev
John Reck [Tue, 2 Aug 2016 18:15:41 +0000 (18:15 +0000)]
Merge "Fix FrameMetricsObserver crash" into nyc-mr1-dev
am: 0d8f164cde

Change-Id: If87fafcb7cc703fcd92c84fc966535948977083b

8 years agoFix FrameMetricsObserver crash
John Reck [Tue, 2 Aug 2016 18:15:39 +0000 (18:15 +0000)]
Fix FrameMetricsObserver crash
am: 65ddb154c7

Change-Id: I48a04e9ba2674da351d227ba7f6d6069fd3e4727

8 years agoResolve merge conflicts of ffb4eb1 to nyc-dev
Kevin Hufnagle [Tue, 2 Aug 2016 18:11:22 +0000 (11:11 -0700)]
Resolve merge conflicts of ffb4eb1 to nyc-dev

Change-Id: I2f096fc31de12fb4e4715343854a5f09049e4221

8 years agoMake NetworkOverLimitActivity and DataUsageSummaryActivity configurable
Wei Liu [Thu, 21 Jul 2016 23:19:01 +0000 (16:19 -0700)]
Make NetworkOverLimitActivity and DataUsageSummaryActivity configurable

b/23120366

Change-Id: I9176482ea15ee1fd0baa0958c582cb342dcd1b79

8 years agoMerge "Put VD animators on paused list when RT stops drawing" into nyc-mr1-dev
Doris Liu [Tue, 2 Aug 2016 18:08:04 +0000 (18:08 +0000)]
Merge "Put VD animators on paused list when RT stops drawing" into nyc-mr1-dev

8 years agoMerge "Fix FrameMetricsObserver crash" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 18:06:07 +0000 (18:06 +0000)]
Merge "Fix FrameMetricsObserver crash" into nyc-mr1-dev

8 years agoMove brightness handling to a background thread
Jorim Jaggi [Tue, 2 Aug 2016 14:11:25 +0000 (16:11 +0200)]
Move brightness handling to a background thread

Bug: 30442298
Change-Id: I6650ffe2373cc68dd5a374a54e107913f2e2e093

8 years agoMerge "LauncherApps should also throw when user is locked" into nyc-mr1-dev
Makoto Onuki [Tue, 2 Aug 2016 18:03:09 +0000 (18:03 +0000)]
Merge "LauncherApps should also throw when user is locked" into nyc-mr1-dev
am: 61dd3c557c

Change-Id: I15b9720e1011f0e444a01f3ed9a49b2f7ee26f9f

8 years agoLauncherApps should also throw when user is locked
Makoto Onuki [Tue, 2 Aug 2016 18:03:07 +0000 (18:03 +0000)]
LauncherApps should also throw when user is locked
am: 02f338e23d

Change-Id: I327fbde0973fc0e2942ca69cf98ccc0c04fd2417

8 years agoMerge "LauncherApps should also throw when user is locked" into nyc-mr1-dev
Makoto Onuki [Tue, 2 Aug 2016 17:58:18 +0000 (17:58 +0000)]
Merge "LauncherApps should also throw when user is locked" into nyc-mr1-dev

8 years agoAdd metrics logging for fingerprint swipe for notification panel.
Doris Ling [Wed, 20 Jul 2016 00:04:21 +0000 (17:04 -0700)]
Add metrics logging for fingerprint swipe for notification panel.

Add metrics log when fingerprint swipe to expand/collapse notification
panel is handled, and increment the notification and quick setting open
count correspondingly.

Bug: 29257528
Change-Id: Ic24c6463a4400711874602157e2fcadc7f0f6da6

8 years agoMerge "Reduce extra a11y events when alpha changes." into nyc-mr1-dev
Phil Weaver [Tue, 2 Aug 2016 17:10:06 +0000 (17:10 +0000)]
Merge "Reduce extra a11y events when alpha changes." into nyc-mr1-dev
am: 41e185e73b

Change-Id: I3ae9d72d530d0af2b8802348b8b6ed881bd20288

8 years agoReduce extra a11y events when alpha changes.
Phil Weaver [Tue, 2 Aug 2016 17:10:03 +0000 (17:10 +0000)]
Reduce extra a11y events when alpha changes.
am: 9937f81ac6

Change-Id: I23a097e1de51449b7dfa4a4986255fec4c8c3b05

8 years agoMerge "Fix issue #29506774: Foreground Service Can Avoid Notification Requirement...
Dianne Hackborn [Tue, 2 Aug 2016 17:01:07 +0000 (17:01 +0000)]
Merge "Fix issue #29506774: Foreground Service Can Avoid Notification Requirement" into nyc-mr1-dev
am: b008ff14ac

Change-Id: I23d4a012433e628c581d1ba0b8ae6d0b9cd6fbb5

8 years agoFix issue #29506774: Foreground Service Can Avoid Notification Requirement
Dianne Hackborn [Tue, 2 Aug 2016 17:01:04 +0000 (17:01 +0000)]
Fix issue #29506774: Foreground Service Can Avoid Notification Requirement
am: 0ba4c710c6

Change-Id: Ic9afdc949c7783f5c849701a4fc7c4d6b01190c5

8 years agoMerge "Reduce extra a11y events when alpha changes." into nyc-mr1-dev
Phil Weaver [Tue, 2 Aug 2016 16:54:42 +0000 (16:54 +0000)]
Merge "Reduce extra a11y events when alpha changes." into nyc-mr1-dev

8 years agoMerge "Fix issue #29506774: Foreground Service Can Avoid Notification Requirement...
Dianne Hackborn [Tue, 2 Aug 2016 16:47:42 +0000 (16:47 +0000)]
Merge "Fix issue #29506774: Foreground Service Can Avoid Notification Requirement" into nyc-mr1-dev

8 years agocherry-pick from nyc-dev: docs: SafeBrowsing API
Joe Fernandez [Tue, 12 Apr 2016 18:35:23 +0000 (11:35 -0700)]
cherry-pick from nyc-dev: docs: SafeBrowsing API

b/27438791

Change-Id: Ib7f93a7e95068c1909a3b104b83681e2d2f35ee6
Original-Change-Id: I14a34bbec51dc33dd4d730d59268690c9bee3992

8 years agoFix FrameMetricsObserver crash
John Reck [Tue, 2 Aug 2016 16:38:26 +0000 (09:38 -0700)]
Fix FrameMetricsObserver crash

Bug: 30587465

Someday maybe the technology will exist to
allow sharing a simple constant between
Java and C++, but today is not that day.

Change-Id: I17694746cb8712058133cd5ea10c47b9909f740b

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 2 Aug 2016 10:05:31 +0000 (10:05 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: c1b853ebfb  -s ours

Change-Id: I40b296ff7928f4fed612f98b0421550a3da42ef6

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 10:05:30 +0000 (10:05 +0000)]
Import translations. DO NOT MERGE
am: f07d5b29a2  -s ours

Change-Id: Idd19caa3fa488ec9a5db1bf45556c7b3b50d9ab7

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 2 Aug 2016 10:05:27 +0000 (10:05 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 0b18f2c06f  -s ours

Change-Id: Iaca200f529c8d0bcd6eacd81604c4c5c470061f8