239594 Commits

Author SHA1 Message Date
Svetoslav Ganov
65136ac6a4 Merge "Keep read/write external storage as built-in permissions" into nyc-dev 2016-04-12 22:11:19 +00:00
John Reck
7239d957e9 Merge "Fix reset() to zero slowFrameCounts" into nyc-dev 2016-04-12 22:03:31 +00:00
TreeHugger Robot
5dc3c674a2 Merge "Add some tests for procstats, and fix some bugs that the tests uncovered." into nyc-dev 2016-04-12 21:38:10 +00:00
TreeHugger Robot
d92e5c314e Merge "Add implemention for isSameTrustConfiguration" into nyc-dev 2016-04-12 21:28:52 +00:00
Alan Viverette
20f2b38ea4 Merge "Include current selection mode in TimePicker event text" into nyc-dev 2016-04-12 21:18:15 +00:00
Andreas Gampe
1ef8aef260 Frameworks/base: Add no-thread marking to zygote
Use ZygoteHooks code to mark zygote initialization to not be
allowed to create threads. This is helpful when new classes are
found to be used by apps but cannot be preloaded as they spawn
threads.

Bug: 27248115
Change-Id: I1dc3620d9e7d0054c672b993d89459fc4b353dfc
2016-04-12 21:04:35 +00:00
Andreas Gampe
d581ce373c Merge "Frameworks/base: Update preloaded-classes" into nyc-dev 2016-04-12 21:02:31 +00:00
Sunny Goyal
1fe7dfa66a Merge "Changing LauncherApps to resolve activity by component name" into nyc-dev 2016-04-12 20:55:32 +00:00
Sid Soundararajan
80295544c1 Merge "Fix issue with All Tasks Dismissed" into nyc-dev 2016-04-12 20:46:15 +00:00
Felipe Leme
93c442e44f Merge "Make getStorageVolume(File file) public." into nyc-dev 2016-04-12 20:44:06 +00:00
Joe Onorato
65adfeecd2 Add some tests for procstats, and fix some bugs that the tests uncovered.
Bug: 27045736
Change-Id: Ia910730c5a3a899c89aa63dd7ab48be62cf9cfef
2016-04-12 13:13:41 -07:00
TreeHugger Robot
4db2f1f602 Merge "Notification MessagingStyle: Add handset views" into nyc-dev 2016-04-12 20:12:41 +00:00
Jason Monk
1b2e403fca Merge "Hide QS header when in details" into nyc-dev 2016-04-12 20:11:10 +00:00
John Reck
8f55d00c2a Fix reset() to zero slowFrameCounts
Change-Id: I9f7f7280bcd28c361e5665de39a4bd7c594ab521
Fixes: 26386641
2016-04-12 13:10:19 -07:00
Chad Brubaker
5116ac0d22 Add implemention for isSameTrustConfiguration
Bug: 27672565
Change-Id: Id5291a4a5f2ca75fdf84db4d51363735f1a76845
2016-04-12 13:04:43 -07:00
Doris Liu
1ee2dd2f5f Merge "Check whether VD tree is still valid before calling native setter" into nyc-dev 2016-04-12 19:50:39 +00:00
Deepanshu Gupta
a8d21a0fac Merge "Add post resolve property values" into nyc-dev 2016-04-12 19:47:02 +00:00
Deepanshu Gupta
79c59fe4a8 Add post resolve property values
Change-Id: Ia86b7dfc479cc5313cce36b6b3066fbb1d00c292
2016-04-12 12:46:09 -07:00
Yang Ni
16b553b1ee Merge "Destroy Closures in ScriptGroup" into nyc-dev 2016-04-12 19:45:52 +00:00
Jason Monk
589bb70a77 Hide QS header when in details
because it gets in the way of accessibility

Change-Id: I4725217e7f5947961339b1cacba73d570e8cb2d9
Fixes: 27953567
2016-04-12 15:44:43 -04:00
Bryce Lee
39a878dbca Merge "Properly check to see if a suppressor is present before returning it." into nyc-dev 2016-04-12 19:42:08 +00:00
Bryce Lee
ba3d895283 Properly check to see if a suppressor is present before returning it.
Bug: 28111086
Change-Id: Ib2cde8269443832e5490906396cd95832c7a146f
2016-04-12 12:39:15 -07:00
Shreyas Basarge
997743d29e Merge "Documentation for flex field" into nyc-dev 2016-04-12 19:35:21 +00:00
Adam Powell
c4bf6e43d1 Merge "Dispatch View#onVisibilityAggregated to views becoming invisible" into nyc-dev 2016-04-12 19:32:10 +00:00
Adam Lesinski
daeee0b5d7 Merge "BatteryStats: Don't log BluetoothScanTimer when it doesn't exist" into nyc-dev 2016-04-12 19:26:48 +00:00
Dirk Dougherty
e740c84dc3 Merge branch \'mnc-mr-docs\' into mnc-ub-dev
am: a5060ee  -s ours

* commit 'a5060ee80dbb48bd7fc545d2aeeeb657b79893ea': (546 commits)
  Update studio landing page and add all-new install flow docs. bug: 27850063 (update system reqs for 2.0) bug: 27725026 (update download page for 2.0) bug: 23908299 (clean up download and get started)
  docs: April 2016 Dashboard update
  docs: Added  new  partner logos to the car brands section of auto index page.
  Revert "Updates for Play" April Fool's joke.
  Updates for Play.
  docs: "Result is:" paragraph now in correct position on page.
  docs: Fixed namespace shown in a line of style XML
  docs: Add note about missing recording functionality in Live Channels
  docs: NDK r11c - release notes and downloads
  docs: Removed dead link in "create project" TOC.
  docs: Corrected reference link for NotificationManager.notify().
  docs: Added link to "preparing for multiwindow" blog post
  docs: Clarified how multi-window applies to activities in task stack
  [RenderScript] Update documentation about API level and RS Support Lib.
  cherrypick from mnc-docs docs: Updated API changes for Dinar wearable support.
  simplification and clarification to the Studio Overview
  Substitute for placeholder text.
  docs: Added missing semicolon within code sample.
  docs: Fixed Marshmallow links in API level table.
  docs: Update Nexus 9, 9G OTA images for N Preview
  ...

Change-Id: I2a64872d24ff2780503766f94e6d693edbdd47b8
2016-04-12 19:23:52 +00:00
Jason Monk
72aefb8dce Merge "Fix QS animation QQS visibility" into nyc-dev 2016-04-12 19:18:38 +00:00
Jason Monk
41ca34fb3b Merge "QS animation: fix clearing translation state" into nyc-dev 2016-04-12 19:18:28 +00:00
Jason Monk
65fc8c82c2 Merge "Rename home to settings home" into nyc-dev 2016-04-12 19:18:20 +00:00
TreeHugger Robot
e341ddfa05 Merge "Document when usesCleartextTraffic is ignored." into nyc-dev 2016-04-12 19:18:15 +00:00
Craig Donner
dfd72d4308 Merge "Sets COARSE_LOCATION permission for VrCore when in vr mode." into nyc-dev 2016-04-12 19:12:46 +00:00
Adam Lesinski
ba9d893976 BatteryStats: Don't log BluetoothScanTimer when it doesn't exist
Bug:27998591
Change-Id: I80ca8a2353141c16595b4be0b0aed195f40e366a
2016-04-12 12:06:03 -07:00
Alan Viverette
b0f5461eec Include current selection mode in TimePicker event text
Bug: 23118708
Change-Id: I709f28674c7a959cdfb279f8643a07aa562d8fef
2016-04-12 14:58:09 -04:00
Jason Monk
8af20ef6a8 Merge "The return and fixing of demo mode" into nyc-dev 2016-04-12 18:53:20 +00:00
Adrian Roos
c1a80b08f0 Notification MessagingStyle: Add handset views
Bug: 27250207
Change-Id: I499cf2beaeeb34f0f189815fc0911f3b8954bd50
2016-04-12 11:52:49 -07:00
Jason Monk
5737ef3ab0 Fix QS animation QQS visibility
once and for all?

Change-Id: I25807a77097ca10410fdc388333946a6ea2e7a7b
Fixes: 27536311
2016-04-12 14:35:13 -04:00
Ashutosh Joshi
250c617d13 Merge "Remove LOAD_OS_APP message from standard context hub messages" into nyc-dev 2016-04-12 18:30:20 +00:00
Adam Powell
fa58a8daa6 Dispatch View#onVisibilityAggregated to views becoming invisible
When a view becomes newly invisible/gone via setFlags, its visibility
state will have already changed by the time we
dispatchVisibilityAggregated. Since we already do visibility filtering
in the ViewGroup override when we traverse to child views, permit the
normal View implementation to dispatch onVisibilityAggregated if we're
not visible and dispatching visibility false.

Bug 28123146

Change-Id: I528dffe95d2057ef938508b9fb4219c5338b060c
2016-04-12 11:18:57 -07:00
Jorim Jaggi
09c4954cc1 Make sure to report activity launch time when starting from recents
Bug: 27295491
Change-Id: I27d660ccc960610f39c72ba9bbab5963746fcd45
2016-04-12 18:18:23 +00:00
Jorim Jaggi
971d8e6399 Don't remove background when resizing
This leads to flickers, as we should not draw in a translucent way
if we didn't specify that our window is translucent, because the
renderer has some about translucency.

Instead, we should clip the backdrop content by the inverse of the
content clip rect, which is not yet implemented.

Bug: 28009524
Change-Id: Ia3f54fb83997ace863e78ff1cbe45cfb64f92f26
2016-04-12 18:14:14 +00:00
Jorim Jaggi
d7f6e7c769 Clip mWinShowWhenLocked if Keyguard is not showing
Bug: 28076605
Change-Id: I80ae6dbd09d419c258efd79639a62dce8c2fbe79
2016-04-12 18:13:26 +00:00
Doris Liu
cdedc9a80d Check whether VD tree is still valid before calling native setter
VD tree is ref-counted in both Java and native. VD's child nodes are
entirely owned by the native tree, as VD nodes in native should outlive
its Java counterparts, with one exception: when there's an infinite UI
animator running on VD, the animator may have weak reference to a few
child nodes. In the case of hidden animator running infinitely, the child
nodes would keep getting the animation pulse while the rest of the tree
would have been destroyed. To prevent the setters triggered by animation
from calling into native, we need to check whether the tree is still
valid before going down into JNI.

Bug: 28104172
Change-Id: Ie9d4bf3898c0c23e620a4747624d24b8ab779743
2016-04-12 11:13:10 -07:00
Jorim Jaggi
47ee9ad92c Refine exit animation
Don't move the other stack when exiting multi-window with undock
gesture.

Bug: 27154882
Change-Id: Ia2793d2e2b16def543289f8b2b13631db90edca8
2016-04-12 18:11:23 +00:00
Winson Chung
59d2a90358 Merge "Fixing issue with scrolling tasks upwards" into nyc-dev 2016-04-12 18:11:17 +00:00
Jorim Jaggi
5ac2ba25ce Fix a small issue with IME adjustment
For some keyboards, display frame is the same as the fullscreen, because
the way they layout their stuff is different. In such cases, the stack
bounds were moved too far.

Bug: 28126905
Change-Id: Id3c2c8d9d16e27634006a8ef70d35d8826302da0
2016-04-12 18:10:29 +00:00
Chad Brubaker
2df5ba777a Document when usesCleartextTraffic is ignored.
In N and above when using an Android Network Security Config the
cleartext configuration from that is used and
android:usesCleartextTraffic in the manifest is ignored.

Bug:27596429
Change-Id: I50ec765cead6cfd6bbaec585723f99d72e0fd945
2016-04-12 11:07:51 -07:00
Winson
da8d2285e5 Fixing issue with scrolling tasks upwards
- When scrolling the stack away from the task overrides, we should 
  actually lock the stack scroll and instead apply the changes in scroll
  to the override tasks.

Bug: 27376567
Change-Id: Idd1874ab0f6f5eb273bf6e9623b84277961f4291
2016-04-12 18:05:28 +00:00
Jorim Jaggi
38b5ec9f08 Fix some serious pre draw listener leaks
These were responsible for a huuge memory leak, and probably also
responsible for some significant amount of jank when using the
device for a while.

Bug: 26400906
Change-Id: Ie4140998ad288583c6a4137954fab4fe9a6f2cf7
2016-04-12 18:05:03 +00:00
Felipe Leme
e1b1ce77da Merge "Minor improvements useful for debugging." into nyc-dev 2016-04-12 17:56:01 +00:00
Jason Monk
a2bd0460d7 QS animation: fix clearing translation state
Change-Id: I0477136c6eb4da4e10e152e458fada194c8290f0
Fixes: 27880443
2016-04-12 13:55:16 -04:00