Commit Graph

246497 Commits

Author SHA1 Message Date
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
Shishir Agrawal
dc50a87495 Fixing few TelephonyManager calls to work when there is no SIM.
* getDeviceSoftwareVersion - Fixed to work for no SIM by not looking up subId.
* getImei - Fixed to work for no SIM by not looking up subId.
* getActivePhoneTypeForSlot - Adding a method (hidden).
* getCallState - Adding slotId version (hidden).

Bug: 27378995
Change-Id: Ib67ae3df5562d75727dc7e4ac023021fb331d3b5
2016-04-12 12:41:22 -07: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
Steve McKay
dcc68fdd0c Daeal with null cursors more leniently.
Since modelId may not in fact result in a cursor.
Bug: 28074284

Change-Id: I8632c9c7d5e3da32080c07033089173105c03646
2016-04-12 11:41:19 -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
David Friedman
a0375d245b Docs: Adding shader-compiler documentation to initial Vulkan doc set.
Bug: 27396410
Change-Id: If38349ab08f5cf236f4637e2d2c141a803525f10
2016-04-12 11:33:15 -07: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
Alan Viverette
78e561ce54 Update docs for Drawable.setLayoutDirection() return value
Bug: 27107547
Change-Id: I98dd706e6dfb07e7b5ec9c257cf5bea6aea2bbfc
2016-04-12 14:03:22 -04: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
Dan Albert
de5da71abc Merge "Word the section about libc++ more strongly." into mnc-mr-docs
am: 021c306

* commit '021c306ed8e9eb04a75b2160978fb510be3c301c':
  Word the section about libc++ more strongly.

Change-Id: Icefc681ad66de8534cf9ada932d2e56552478845
2016-04-12 17:52:11 +00:00
Dan Albert
021c306ed8 Merge "Word the section about libc++ more strongly." into mnc-mr-docs 2016-04-12 17:41:35 +00:00
Makoto Onuki
b6d3523dfb ShortcutManager: Address API review feedback.
- "delete" -> "remove"
- add/deleteDynamicShortcut() now takes a list.
- Throttling default settings is now 2 calls / hour.

- Add categories to ShortcutInfo.
- getIconResourceId() is now public

Bug 27923857
Bug 27548047

Change-Id: I8457b30e4b2f7c63ab2988648b37178fd16ea45b
2016-04-12 10:35:20 -07:00
Diego Perez
8d25697bf0 Synchronize access to the main looper
Change-Id: I4b9375d07c4191393c04f8b40905e63742b3baad
2016-04-12 18:27:31 +01:00
Samuel Tan
143a9333dc Merge "Remove config_wifi_hal_pno_enable and config_wifi_ssid_white_list_enable" into nyc-dev 2016-04-12 17:13:28 +00:00
Alexander Hills
e3f3cb1048 Merge "Fixes name of intent launch flag for Action Extender" into nyc-dev 2016-04-12 17:10:19 +00:00
Jason Monk
98d7c7a84d The return and fixing of demo mode
Change-Id: I2bcf3435b92c80b4ab3c46cba02902820c942c7c
Fixes: 27919212
2016-04-12 13:08:31 -04:00
Clara Bayarri
d922554f9d Merge "Fix empty state Chooser Activity UX" into nyc-dev 2016-04-12 17:02:27 +00:00
Jeff Sharkey
a6e38e4430 Merge "Another protected broadcast." into nyc-dev 2016-04-12 17:01:25 +00:00
Clara Bayarri
741c519c6e Fix empty state Chooser Activity UX
Bug: 26261965
Change-Id: I07680f70442a2f04dfd41d49ba4be327b9ccb38e
2016-04-12 17:52:09 +01:00
Mitchell Wills
eb8578cc89 Merge "Update WifiScanningService class name to new location" into nyc-dev 2016-04-12 16:45:34 +00:00