OSDN Git Service

android-x86/frameworks-base.git
7 years agoShortcutManager: Update foreground check.
Makoto Onuki [Wed, 3 Aug 2016 22:45:24 +0000 (15:45 -0700)]
ShortcutManager: Update foreground check.

- When the cached UID state says a UID is in the background,
check with AM and get the latest state, since the state
might just have been changed.

Bug 30640208

Change-Id: If448f6f21f290fa0fc13550d9c740f56aa8bfce0

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 years agoRemove lock contention when unlocking users
Jorim Jaggi [Mon, 1 Aug 2016 12:31:02 +0000 (14:31 +0200)]
Remove lock contention when unlocking users

Bug: 30213213
Change-Id: I03844bce11326bf58788bf0fe71c247c9f2665c4

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 09:50:07 +0000 (09:50 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 09:49:50 +0000 (09:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 09:49:19 +0000 (09:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoOnly get trace name if tracing is enabled
Jorim Jaggi [Mon, 1 Aug 2016 11:31:55 +0000 (13:31 +0200)]
Only get trace name if tracing is enabled

String formatting creates new objects, so only do it if needed.

Bug: 30549756
Change-Id: I8035357c2b9c3066ef7663b938654f698a2321bc

7 years agoFix multi-window drag jank if vsync-app is before vsync-sf
Jorim Jaggi [Fri, 29 Jul 2016 15:16:03 +0000 (17:16 +0200)]
Fix multi-window drag jank if vsync-app is before vsync-sf

If vsync-app is a couple of ms before vsync-sf, we handle the touch
in SystemUI at vsync-app. Then, we have extremely little time to resize
all the stacks in activity manager until vsync-sf, so sometimes this is
done before vsync-sf tick, and sometimes after, which leads to jank.

Figure out the difference of vsync-app and vsync-sf in SystemUI and then
post the updates to be processed at vsync-sf so we have the whole 16ms
to process the change.

Change-Id: Ibe7cb6dfe9fbfe2d3e68e522a95a75138fb0dcf1
Fixes: 30437123

7 years agoReduce duration for pick-up animation
Jorim Jaggi [Mon, 1 Aug 2016 10:16:08 +0000 (12:16 +0200)]
Reduce duration for pick-up animation

Bug: 30316167
Change-Id: I39f34089fab70bfcc6fbf378411f017c67eafe00

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 06:55:40 +0000 (23:55 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie3bc5cbcb9b7c6fad8aee616dc8b75e97353c834
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 06:52:36 +0000 (23:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: I772ac3a0184965baf38661af7744143b2dde5c29
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 06:48:42 +0000 (23:48 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id6016aec6d519d019f9dc0d3e516e87ae7a448d9
Auto-generated-cl: translation import

7 years agoDeprecate IPv6 prefixes no longer in use.
Erik Kline [Mon, 1 Aug 2016 07:15:05 +0000 (16:15 +0900)]
Deprecate IPv6 prefixes no longer in use.

Bug: 30298058
Change-Id: I0fa9ece9b2fb07214971a91b77f5b07972d83bb6

7 years agoEnsure layer update include the dirty rect from AVD
Doris Liu [Tue, 2 Aug 2016 02:56:47 +0000 (19:56 -0700)]
Ensure layer update include the dirty rect from AVD

BUG: 30166063
Change-Id: Ia14a2fe3c653e0172a28b4ef22f5171ccf7390c1

7 years agoMerge "Revert "Prevent apps to overlay other apps via toast windows"" into nyc-mr1-dev
Svetoslav Ganov [Tue, 2 Aug 2016 01:56:09 +0000 (01:56 +0000)]
Merge "Revert "Prevent apps to overlay other apps via toast windows"" into nyc-mr1-dev

7 years agoRevert "Prevent apps to overlay other apps via toast windows"
Svetoslav Ganov [Tue, 2 Aug 2016 01:50:49 +0000 (01:50 +0000)]
Revert "Prevent apps to overlay other apps via toast windows"

bug:30150688

This reverts commit dc24f937b031f5f4e153dbfeaa51e96415a09b71.

Change-Id: Id7e8ddbf82ab426f55a5296791f1e8ebb61514bc

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 01:49:03 +0000 (01:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "AAPT: faketouch feature implied if no touchscreen feature requested." into...
TreeHugger Robot [Tue, 2 Aug 2016 01:42:36 +0000 (01:42 +0000)]
Merge "AAPT: faketouch feature implied if no touchscreen feature requested." into nyc-mr1-dev

7 years agoLauncherApps should also throw when user is locked
Makoto Onuki [Fri, 29 Jul 2016 16:40:40 +0000 (09:40 -0700)]
LauncherApps should also throw when user is locked

otherwise it'd be racy.

Bug 30406401

Change-Id: I953eb6ae58e029d254d9fdbd5d05a0090b8d2391

7 years agoMerge "Eliminate recents upload jank" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 01:07:18 +0000 (01:07 +0000)]
Merge "Eliminate recents upload jank" into nyc-mr1-dev

7 years agoMerge "Fix finishing activity in non-focused stack" into nyc-mr1-dev
Andrii Kulian [Tue, 2 Aug 2016 01:04:46 +0000 (01:04 +0000)]
Merge "Fix finishing activity in non-focused stack" into nyc-mr1-dev

7 years agoMerge "Lockscreen fingerprint icon error color matches error text." into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 00:51:45 +0000 (00:51 +0000)]
Merge "Lockscreen fingerprint icon error color matches error text." into nyc-mr1-dev

7 years agoFix issue #29506774: Foreground Service Can Avoid Notification Requirement
Dianne Hackborn [Tue, 2 Aug 2016 00:49:41 +0000 (17:49 -0700)]
Fix issue #29506774: Foreground Service Can Avoid Notification Requirement

Don't cancel the notification if there are other foreground
services using the same notification ID.

Change-Id: I02a49d9a07af0203e59e70be2dc6773f3cefee47

7 years agoReduce extra a11y events when alpha changes.
Phil Weaver [Tue, 2 Aug 2016 00:41:19 +0000 (17:41 -0700)]
Reduce extra a11y events when alpha changes.

Changes in alpha only matter if they affect visibility,
so only 0 <-> nonzero changes are worth reporting. Report
them as subtree changes, as visibility affects subviews.

Not reporting every change greatly reduces the number of
event reported when alpha is animated.

Bug: 30183085
Change-Id: I905d53aa81ca8248b3aed86a91842ef499f303a8

7 years agoMerge "docs: Add ARC documentation TOC file" into nyc-dev
Joe Fernandez [Tue, 2 Aug 2016 00:39:15 +0000 (00:39 +0000)]
Merge "docs: Add ARC documentation TOC file" into nyc-dev
am: 2b318b3a4e

Change-Id: I1317b969017e32c0b259a4c7434083d8d3de1cef

7 years agodocs: Add ARC documentation TOC file
Joe Fernandez [Tue, 2 Aug 2016 00:39:08 +0000 (00:39 +0000)]
docs: Add ARC documentation TOC file
am: 129012530f

Change-Id: I9c11d114fcfce7ae71cfd84759bc0697a0df919c

7 years agoMerge "Work around to get ride of NPE in app startup test" into nyc-mr1-dev
Yuanlang Song [Tue, 2 Aug 2016 00:33:48 +0000 (00:33 +0000)]
Merge "Work around to get ride of NPE in app startup test" into nyc-mr1-dev

7 years agoMerge "docs: Add ARC documentation TOC file" into nyc-dev
Joe Fernandez [Tue, 2 Aug 2016 00:25:17 +0000 (00:25 +0000)]
Merge "docs: Add ARC documentation TOC file" into nyc-dev

7 years agoAAPT: faketouch feature implied if no touchscreen feature requested.
Adam Lesinski [Mon, 1 Aug 2016 23:44:29 +0000 (16:44 -0700)]
AAPT: faketouch feature implied if no touchscreen feature requested.

This changes the default implied feature of 'android.hardware.touchscreen'
to 'android.hardware.faketouch' if no 'android.hardware.touchscreen'
feature is requested, required or otherwise.

Bug:30571641
Change-Id: I1e41242d4b1dc549cf69741d2a309baf476d084e

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 00:12:41 +0000 (17:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0aeff308769f38a68b6bbfd0bac88d8f74b76f8e
Auto-generated-cl: translation import

7 years agodocs: Updated layout and timestamps of developer stories. am: 997ccdc071
Kevin Hufnagle [Tue, 2 Aug 2016 00:10:14 +0000 (00:10 +0000)]
docs: Updated layout and timestamps of developer stories. am: 997ccdc071
am: 4bb55d7103

Change-Id: Iebcf52cf4ec1fe0eccf51f4f6dc48bf9a54d149a

7 years agodocs: Updated layout and timestamps of developer stories.
Kevin Hufnagle [Tue, 2 Aug 2016 00:03:21 +0000 (00:03 +0000)]
docs: Updated layout and timestamps of developer stories.
am: 997ccdc071

Change-Id: I252e78ef43a7aaae469e014f4079a29d15978e9f

7 years agodocs: Add ARC documentation TOC file
Joe Fernandez [Mon, 1 Aug 2016 15:19:03 +0000 (08:19 -0700)]
docs: Add ARC documentation TOC file

b/30114799

Change-Id: I397f4712c82628f1b7aa4565fb5ab40381f9f5e2

7 years agoMerge "docs: Updated layout and timestamps of developer stories." into nyc-dev
Kevin Hufnagle [Mon, 1 Aug 2016 23:51:11 +0000 (23:51 +0000)]
Merge "docs: Updated layout and timestamps of developer stories." into nyc-dev
am: 7ba0b437cf

Change-Id: I7549ee68d03deb1cc69a40311f17361a2a05eebf

7 years agodocs: Updated layout and timestamps of developer stories.
Kevin Hufnagle [Mon, 1 Aug 2016 23:51:08 +0000 (23:51 +0000)]
docs: Updated layout and timestamps of developer stories.
am: f44fbe2b4e

Change-Id: I6943afeac3cc71890b20113626030c18f04a0d3d

7 years agoMerge "docs: Updated layout and timestamps of developer stories." into nyc-dev
Kevin Hufnagle [Mon, 1 Aug 2016 23:44:15 +0000 (23:44 +0000)]
Merge "docs: Updated layout and timestamps of developer stories." into nyc-dev

7 years agoEliminate recents upload jank
John Reck [Mon, 1 Aug 2016 21:39:24 +0000 (14:39 -0700)]
Eliminate recents upload jank

Bug: 30342017

Upload recents thumbnails in the
dead gaps between frames instead of
at the start of a frame. This eliminates
jank caused by the large texture
upload.

Change-Id: I507cd286d199109c7a9a1511d68ba5ab5d28069f

7 years agoLockscreen fingerprint icon error color matches error text.
Matthew Fritze [Mon, 1 Aug 2016 23:24:37 +0000 (16:24 -0700)]
Lockscreen fingerprint icon error color matches error text.

Change-Id: I1091a0466045b486bdebfe9d1ec69f815578aa4b
Fixes: 30538755

7 years agoMerge "Fix Night display QSTile for secondary users" into nyc-mr1-dev
Justin Klaassen [Mon, 1 Aug 2016 22:58:59 +0000 (22:58 +0000)]
Merge "Fix Night display QSTile for secondary users" into nyc-mr1-dev

7 years agoMerge "cherry-pick from mnc-mr-docs: docs: SafeBrowsing API" into nyc-dev
Joe Fernandez [Mon, 1 Aug 2016 22:57:24 +0000 (22:57 +0000)]
Merge "cherry-pick from mnc-mr-docs: docs: SafeBrowsing API" into nyc-dev
am: 30583c32e2

Change-Id: Ia31bb99a790050e368960ffc59a87bcea734a5d4

7 years agocherry-pick from mnc-mr-docs: docs: SafeBrowsing API
Joe Fernandez [Mon, 1 Aug 2016 22:57:20 +0000 (22:57 +0000)]
cherry-pick from mnc-mr-docs: docs: SafeBrowsing API
am: 843f022c47

Change-Id: Ia80ff23631080b865e74359c68b039d7d2ea2205

7 years agoMerge "cherry-pick from mnc-mr-docs: docs: SafeBrowsing API" into nyc-dev
Kevin Hufnagle [Mon, 1 Aug 2016 22:49:56 +0000 (22:49 +0000)]
Merge "cherry-pick from mnc-mr-docs: docs: SafeBrowsing API" into nyc-dev

7 years agoRemoved redundant call to updateRulesForRestrictPowerUL().
Felipe Leme [Fri, 29 Jul 2016 23:59:14 +0000 (16:59 -0700)]
Removed redundant call to updateRulesForRestrictPowerUL().

That method scans all UIDs, and is redundantly called on
updateRulesForTempWhitelistChangeUL() for each UID.

BUG: 30374782
BUG: 30568426

Change-Id: I56670578eff0789b1923cee0a1b316ffdbc3aa79

7 years agoMerge "Fix null deref crash" into nyc-mr1-dev
John Reck [Mon, 1 Aug 2016 21:54:13 +0000 (21:54 +0000)]
Merge "Fix null deref crash" into nyc-mr1-dev

7 years agoFix null deref crash
John Reck [Mon, 1 Aug 2016 21:41:08 +0000 (14:41 -0700)]
Fix null deref crash

Bug: 30560152
Change-Id: Ic4bae380e27de5bea80cec484e83d205e078ec43

7 years agoPut VD animators on paused list when RT stops drawing
Doris Liu [Fri, 29 Jul 2016 23:45:24 +0000 (16:45 -0700)]
Put VD animators on paused list when RT stops drawing

When we stop scheduling for new frames on RenderThread, we should
put the running animations on pause, rather than purge the list
of the running animations, such that in the next full
sync, the animations that were paused will continue to run.

BUG: 30226711
Change-Id: I36ff6f5d26ffa7999f60ca0ff676a35157577dc2

7 years agoMerge "Adjust touch progress offset to account for changes to AbsSeekBar" into nyc...
Alan Viverette [Mon, 1 Aug 2016 20:53:49 +0000 (20:53 +0000)]
Merge "Adjust touch progress offset to account for changes to AbsSeekBar" into nyc-mr1-dev

7 years agoFix Night display QSTile for secondary users
Justin Klaassen [Sun, 31 Jul 2016 17:25:36 +0000 (10:25 -0700)]
Fix Night display QSTile for secondary users

Bug: 30459698
Change-Id: I8d56caabf6401239ab9e05ebbe54ecc64a1ab695

7 years agoMerge "Make watch Switch thumb color consistent" into nyc-mr1-dev
Fei Wu [Mon, 1 Aug 2016 20:13:12 +0000 (20:13 +0000)]
Merge "Make watch Switch thumb color consistent" into nyc-mr1-dev

7 years agoMerge \"docs: Fixing incorrect div tags in l10n N docs\" into nyc-dev
Daniel Yu [Mon, 1 Aug 2016 19:51:43 +0000 (19:51 +0000)]
Merge \"docs: Fixing incorrect div tags in l10n N docs\" into nyc-dev
am: d70113bbd0

Change-Id: I79bf7a838ba853a7fb0831189ccf4001e252249b

7 years agodocs: Fixing incorrect div tags in l10n N docs
Daniel Yu [Mon, 1 Aug 2016 19:51:40 +0000 (19:51 +0000)]
docs: Fixing incorrect div tags in l10n N docs
am: 3629bc8854

Change-Id: Iec0d7713aba125fd579b26df61c4f76d41df6c28

7 years agoMerge "docs: Fixing incorrect div tags in l10n N docs" into nyc-dev
Dan Yu [Mon, 1 Aug 2016 19:44:32 +0000 (19:44 +0000)]
Merge "docs: Fixing incorrect div tags in l10n N docs" into nyc-dev

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

b/27438791

Change-Id: I14a34bbec51dc33dd4d730d59268690c9bee3992
Original-Change-Id: I00f4a374353dfb62cee44713ac5faadc0a9268d5

7 years agodocs: Updated layout and timestamps of developer stories.
Kevin Hufnagle [Tue, 19 Jul 2016 04:18:26 +0000 (21:18 -0700)]
docs: Updated layout and timestamps of developer stories.

The developer stories for Aftenposten, El Mundo, Segundamano, Tapps,
and Upbeat Games now appear closer to the beginning/top of a section
on the newly-formatted "latest" page.

Also, Tapps and Upbeat Games now appear within the "games" section,
not the "apps" section. The Glu case study also appears within the
"games" section; it was incorrectly appearing under the root
"stories" directory before.

Finally, removed a duplicate case study describing Dots increasing
installs using Store Listing Experiments.

Bug: 29240693
Change-Id: Ieec3afd2f56320da00ee4b97d8cd8de8253784dd

7 years agoAdjust touch progress offset to account for changes to AbsSeekBar
Alan Viverette [Mon, 1 Aug 2016 19:14:05 +0000 (15:14 -0400)]
Adjust touch progress offset to account for changes to AbsSeekBar

Previously AbsSeekBar always rounded up, which resulted in poor handling
of touches near the edge of a progress value. We fixed this but forgot
to adjust RatingBar for the new behavior.

Bug: 30558586
Change-Id: I634fa7a0b98568093e16279ef5a80abe08d2e2fe

7 years agoWork around to get ride of NPE in app startup test
Yuanlang Song [Mon, 1 Aug 2016 19:11:57 +0000 (12:11 -0700)]
Work around to get ride of NPE in app startup test

bug: 30374599
Change-Id: I9050ba6ac6283734c345e4e7f9f56f34e1477c7a

7 years agoMerge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev
Svetoslav Ganov [Mon, 1 Aug 2016 18:48:09 +0000 (18:48 +0000)]
Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev

7 years agoPrevent apps to overlay other apps via toast windows
Svet Ganov [Tue, 26 Jul 2016 18:41:42 +0000 (11:41 -0700)]
Prevent apps to overlay other apps via toast windows

It was possible for apps to put toast type windows
that overlay other apps which toast winodws aren't
removed after a timeout.

Now for apps targeting SDK greater than N MR1 to add a
toast window one needs to have a special token. The token
is added by the notificatoion manager service only for
the lifetime of the shown toast and is then removed
including all windows associated with this token. This
prevents apps to add arbitrary toast windows.

Since legacy apps may rely on the ability to directly
add toasts we mitigate by allowing these apps to still
add such windows for unlimited duration if this app is
the currently focused one, i.e. the user interacts with
it then it can overlay itself, otherwise we make sure
these toast windows are removed after a timeout like
a toast would be.

We don't allow more that one toast window per UID being
added at a time which prevents 1) legacy apps to put the
same toast after a timeout to go around our new policy
of hiding toasts after a while; 2) modern apps to reuse
the passed token to add more than one window; Note that
the notification manager shows toasts one at a time.

bug:30150688

Change-Id: Icc8f8dbd060762ae1a7b1720e96c5afdb8aff3fd

7 years agoFix finishing activity in non-focused stack
Andrii Kulian [Fri, 29 Jul 2016 19:55:41 +0000 (12:55 -0700)]
Fix finishing activity in non-focused stack

This CL explicitly checks if we're finishing activity in non-focused
stack as there are other cases except this one when we finish paused
activities in FINISH_AFTER_VISIBLE mode.

Bug: 29007436
Bug: 29458854
Change-Id: I67744d23cd72f2fe8861180008bfdd284a7b5e26

7 years agoMerge "Revert "LauncherApps should also throw when user is locked"" into nyc-mr1-dev
Makoto Onuki [Mon, 1 Aug 2016 17:30:30 +0000 (17:30 +0000)]
Merge "Revert "LauncherApps should also throw when user is locked"" into nyc-mr1-dev

7 years agodocs: Fixing incorrect div tags in l10n N docs
Daniel Yu [Mon, 1 Aug 2016 17:25:12 +0000 (10:25 -0700)]
docs: Fixing incorrect div tags in l10n N docs

When some N preview docs were migrated into regular
developer.android.com docs, the div tags were not switched
from qv-wrapper/qv to tb-wrapper/tb.

Bug: 30479904
Change-Id: I03708fd372e9498d5c9810e8ad990bece5521092