250097 Commits

Author SHA1 Message Date
Bill Yi
4d9a70a15d Import translations. DO NOT MERGE
Change-Id: I2a81de7d9ce7f2d36d5a004fd61c2bb48202525c
Auto-generated-cl: translation import
2016-08-03 22:54:00 -07:00
TreeHugger Robot
4a051a849d 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
2016-08-03 19:36:25 +00:00
TreeHugger Robot
f1a6f1e032 Merge "Move brightness handling to a background thread" into nyc-mr1-dev 2016-08-03 19:35:54 +00:00
Winson
fc73eec235 Adding support for blacklisting apps from Recents transition.
Bug: 30602323

Change-Id: I2a6e75a989264ce72ac552e2c7f82225ccd68adf
2016-08-03 19:28:11 +00:00
TreeHugger Robot
f09b5d7a78 Merge "Fix RNA crash" into nyc-mr1-dev 2016-08-03 18:57:26 +00:00
Craig Donner
5633ad6921 Merge "Revert "Remove coarse location pre-grant for preinstalled VrListenerServices."" into nyc-mr1-dev 2016-08-03 17:52:12 +00:00
John Reck
d58230c7f7 Fix RNA crash
Bug: 30632377
Change-Id: I5d53fba0f469553ae90bebad1482ef28965dd853
2016-08-03 10:28:10 -07:00
Jason Monk
9c74ff1218 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
2016-08-03 10:26:47 -04:00
Jason Monk
d8fb07f534 QS Header: don't update everything unless we need to
Because it leads to bad performance.

Bug: 30442298
Change-Id: I4c7b68ad30a1fd4fe8245f27ce2d2b2038583d23
2016-08-03 10:03:04 -04:00
TreeHugger Robot
c9682ab5b5 Merge "Improved vibration feedback completely" into nyc-mr1-dev 2016-08-03 00:57:53 +00:00
Jim Miller
1c21fc5e0a 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
2016-08-02 16:12:58 -07:00
Ruben Brunk
964d6914ff Merge "Fix component management in VrManagerService." into nyc-mr1-dev 2016-08-02 23:01:26 +00:00
Selim Cinek
0fc298ffc7 Improved vibration feedback completely
Certain paths were still vibrating at the wrong time.

Change-Id: I660a84efa798a8c1198d8899584ecec48ff2e9d8
Fixes: 30000347
2016-08-02 15:58:45 -07:00
Dianne Hackborn
7841042a83 Merge "Fix issue #30601353: Don't warn of non-protected explicit intent broadcasts" into nyc-mr1-dev 2016-08-02 22:41:37 +00:00
Ruben Brunk
1f4f26b1d5 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
2016-08-02 15:21:47 -07:00
Andrew Solovay
465004fe6b cherry-pick from nyc-dev: docs: SafeBrowsing API am: 741757f27f
am: 328a6a12eb

Change-Id: I319b852c941b67d83f6f473b2cd5b61860af687a
2016-08-02 21:48:05 +00:00
Joe Fernandez
af74842e3a Resolve merge conflicts of ffb4eb1 to nyc-dev
am: a5abfee3a5

Change-Id: I7c4265a691636c1de8b47688cfaa15e57907caee
2016-08-02 21:40:08 +00:00
Joe Fernandez
328a6a12eb cherry-pick from nyc-dev: docs: SafeBrowsing API
am: 741757f27f

Change-Id: Ice1968509af665160646025e708d3802b39ef4c4
2016-08-02 21:36:02 +00:00
Andrew Solovay
741757f27f 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
2016-08-02 14:14:08 -07:00
Dianne Hackborn
de8572d931 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
2016-08-02 14:08:23 -07:00
Yigit Boyar
828d4ff61d Merge "Target API check for margin params fix" into nyc-mr1-dev 2016-08-02 20:41:08 +00:00
Doris Liu
a3c35852a1 Merge "Ensure layer update include the dirty rect from AVD" into nyc-mr1-dev 2016-08-02 20:36:20 +00:00
TreeHugger Robot
f77b6620d1 Merge "ShortcutManager: rescan all apps after next OTA" into nyc-mr1-dev 2016-08-02 20:19:33 +00:00
Doris Ling
174a074eb2 Merge "Add metrics logging for fingerprint swipe for notification panel." into nyc-mr1-dev 2016-08-02 19:50:07 +00:00
TreeHugger Robot
ca69bd37a9 Merge "Removed redundant call to updateRulesForRestrictPowerUL()." into nyc-mr1-dev 2016-08-02 18:50:05 +00:00
Makoto Onuki
4dd032d5a6 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
2016-08-02 11:42:55 -07:00
Adrian Roos
87fab000c5 Merge "SystemUI: Fix crash from bad notifications" into nyc-mr1-dev 2016-08-02 18:40:42 +00:00
Adrian Roos
9923784efc Merge "DozeLog: Properly initialize" into nyc-mr1-dev 2016-08-02 18:39:25 +00:00
Jorim Jaggi
1340221244 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
2016-08-02 18:31:08 +00:00
TreeHugger Robot
f7ac45a33b Merge "Use SurfaceControl.screenshot() instead of screencap for screenshots." into nyc-mr1-dev 2016-08-02 18:29:46 +00:00
Yigit Boyar
2dd20a61e9 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
2016-08-02 11:27:18 -07:00
Kevin Hufnagle
a5abfee3a5 Resolve merge conflicts of ffb4eb1 to nyc-dev
Change-Id: I2f096fc31de12fb4e4715343854a5f09049e4221
2016-08-02 11:11:22 -07:00
Doris Liu
0cf4d47a40 Merge "Put VD animators on paused list when RT stops drawing" into nyc-mr1-dev 2016-08-02 18:08:05 +00:00
TreeHugger Robot
0d8f164cde Merge "Fix FrameMetricsObserver crash" into nyc-mr1-dev 2016-08-02 18:06:08 +00:00
Jorim Jaggi
c6da82fb9c Move brightness handling to a background thread
Bug: 30442298
Change-Id: I6650ffe2373cc68dd5a374a54e107913f2e2e093
2016-08-02 20:04:52 +02:00
Makoto Onuki
61dd3c557c Merge "LauncherApps should also throw when user is locked" into nyc-mr1-dev 2016-08-02 17:58:20 +00:00
Doris Ling
3c00afba0b 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
2016-08-02 10:25:39 -07:00
Phil Weaver
41e185e73b Merge "Reduce extra a11y events when alpha changes." into nyc-mr1-dev 2016-08-02 16:54:43 +00:00
Dianne Hackborn
b008ff14ac Merge "Fix issue #29506774: Foreground Service Can Avoid Notification Requirement" into nyc-mr1-dev 2016-08-02 16:47:43 +00:00
Joe Fernandez
ffb4eb1ef5 cherry-pick from nyc-dev: docs: SafeBrowsing API
b/27438791

Change-Id: Ib7f93a7e95068c1909a3b104b83681e2d2f35ee6
Original-Change-Id: I14a34bbec51dc33dd4d730d59268690c9bee3992
2016-08-02 09:40:39 -07:00
John Reck
65ddb154c7 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
2016-08-02 09:38:26 -07:00
Jorim Jaggi
6f4d7b39c1 Remove lock contention when unlocking users
Bug: 30213213
Change-Id: I03844bce11326bf58788bf0fe71c247c9f2665c4
2016-08-02 11:51:17 +02:00
TreeHugger Robot
c1b853ebfb Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-02 09:50:08 +00:00
TreeHugger Robot
0b18f2c06f Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-02 09:49:51 +00:00
TreeHugger Robot
618d5b354b Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-02 09:49:20 +00:00
Jorim Jaggi
407c0be727 Only get trace name if tracing is enabled
String formatting creates new objects, so only do it if needed.

Bug: 30549756
Change-Id: I8035357c2b9c3066ef7663b938654f698a2321bc
2016-08-02 11:06:46 +02:00
Jorim Jaggi
dbe6fdb05b 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
2016-08-02 10:55:49 +02:00
Jorim Jaggi
ceb7bfa6af Reduce duration for pick-up animation
Bug: 30316167
Change-Id: I39f34089fab70bfcc6fbf378411f017c67eafe00
2016-08-02 08:49:16 +00:00
Bill Yi
f0f669876e Import translations. DO NOT MERGE
Change-Id: Ie3bc5cbcb9b7c6fad8aee616dc8b75e97353c834
Auto-generated-cl: translation import
2016-08-01 23:55:40 -07:00
Bill Yi
c0f585cedd Import translations. DO NOT MERGE
Change-Id: I772ac3a0184965baf38661af7744143b2dde5c29
Auto-generated-cl: translation import
2016-08-01 23:52:36 -07:00