Commit Graph

76153 Commits

Author SHA1 Message Date
Bryce Lee
19aa040685 Merge "Do not make strong reference to Resources." into oc-dev am: 6f36255adc
am: 43b1a5f433

Change-Id: I68a836fcb17b727140c22a6e886122114626362d
2017-04-08 00:10:55 +00:00
Felipe Leme
d10879d146 Merge "Autofill Partitioning: support multiple SaveInfos." into oc-dev am: 5c8d88e855
am: 49b37310ab

Change-Id: I5967cd823a11dc049a593918c29b5950f36ef0e4
2017-04-08 00:06:53 +00:00
Bryce Lee
43b1a5f433 Merge "Do not make strong reference to Resources." into oc-dev
am: 6f36255adc

Change-Id: I39c456cfb25d030a482ff4c17760b55409f58b96
2017-04-08 00:03:05 +00:00
Felipe Leme
49b37310ab Merge "Autofill Partitioning: support multiple SaveInfos." into oc-dev
am: 5c8d88e855

Change-Id: Ia363ebbbf73514936776b7b0a9ca7ba0f65bf1bc
2017-04-08 00:01:51 +00:00
TreeHugger Robot
6f36255adc Merge "Do not make strong reference to Resources." into oc-dev 2017-04-07 23:57:29 +00:00
TreeHugger Robot
5c8d88e855 Merge "Autofill Partitioning: support multiple SaveInfos." into oc-dev 2017-04-07 23:52:11 +00:00
Phil Weaver
a65782072a Make a11y node info parceling more robust am: 487d869733
am: 27e1f88a28

Change-Id: Ic602da1e45e4e906d9e3475a229886913e5dec16
2017-04-07 23:16:55 +00:00
Phil Weaver
27e1f88a28 Make a11y node info parceling more robust
am: 487d869733

Change-Id: I5c85f0dd279f8263aad5b76cbf51dd9d4e0ef549
2017-04-07 23:09:30 +00:00
Jorim Jaggi
0da214bc73 Merge changes I5d41419a,I763be06c into oc-dev am: bc4bd823d9
am: 90fb71789a

Change-Id: I689f16b796cbb7a6157c5a5fcc9242ab4c93c0f6
2017-04-07 22:21:56 +00:00
Todd Kennedy
84b3954974 Merge "copy 'visbileToInstantApps' setting" into oc-dev am: e467be5e14
am: 266d20db8e

Change-Id: I9c235580967e1852ac6ee48b5b4f4bbd27543343
2017-04-07 22:20:52 +00:00
Jorim Jaggi
90fb71789a Merge changes I5d41419a,I763be06c into oc-dev
am: bc4bd823d9

Change-Id: I1c23329a3a18fb58d42c13e91e030f589e19025b
2017-04-07 22:14:59 +00:00
Todd Kennedy
266d20db8e Merge "copy 'visbileToInstantApps' setting" into oc-dev
am: e467be5e14

Change-Id: Ib3551cf0dce0afc169b89bc504b8f9ef88746423
2017-04-07 22:10:43 +00:00
Bryce Lee
fea79005bd Do not make strong reference to Resources.
This CL removes the strong reference added for mapping display ids
and Resources to Displays. Instead, the key pair is now the display
id and ResourcesKey, and the mapping is pruned when key is
invalidated.

Change-Id: If91368171212b28c40e03c15fb39c72412a44811
Fixes: 36625868
Test: make -j32 cts; cts-tradefed; run cts --module CtsAppTestCases --test android.app.cts.DisplayTest#testRotation
2017-04-07 22:06:52 +00:00
TreeHugger Robot
bc4bd823d9 Merge changes I5d41419a,I763be06c into oc-dev
* changes:
  Introduce android.anim thread in system_server
  Fix thread booster
2017-04-07 22:05:18 +00:00
TreeHugger Robot
e467be5e14 Merge "copy 'visbileToInstantApps' setting" into oc-dev 2017-04-07 22:04:09 +00:00
Robert Carr
7e34a1ea7b Merge "ViewRootImpl: Fix child lifetime." into oc-dev am: ca2622b860
am: 016d3ceac2

Change-Id: I5b7e6d9092fe9d324488c3c6c6dfd443fba11d15
2017-04-07 21:59:57 +00:00
Robert Carr
016d3ceac2 Merge "ViewRootImpl: Fix child lifetime." into oc-dev
am: ca2622b860

Change-Id: Ibd108646edf7217a9f7656b3c83cd87820649c2d
2017-04-07 21:52:59 +00:00
TreeHugger Robot
ca2622b860 Merge "ViewRootImpl: Fix child lifetime." into oc-dev 2017-04-07 21:44:48 +00:00
Jeff Davidson
b265f8c11e Merge "Fix NPE when parceling getMetadata result." 2017-04-07 21:25:40 +00:00
Andrii Kulian
56e84d0118 Merge "Add hidden API to check support of Multi-Display" into oc-dev am: 4eab3cb11a
am: b7c802094b

Change-Id: Icb5882f5e6e5b1a8054a8bd9889d46fc403bee98
2017-04-07 20:35:50 +00:00
Andrii Kulian
b7c802094b Merge "Add hidden API to check support of Multi-Display" into oc-dev
am: 4eab3cb11a

Change-Id: I93855ada112e51892d5978c23de506388593aa9e
2017-04-07 20:30:17 +00:00
Andrii Kulian
4eab3cb11a Merge "Add hidden API to check support of Multi-Display" into oc-dev 2017-04-07 20:22:58 +00:00
Jorim Jaggi
ed7993b5d1 Introduce android.anim thread in system_server
We create a new thread on which everything is running that
directly impacts window animations, i.e. layout, anim tick and
starting window creation. This is such that any work on
android.display can not lead to jank in the window animation,
specifically lock contention on activity manager lock that blocks
callbacks from android.display into AM can not lead to window
animation jank.

Test: Run animation, take systrace, make sure animation is on
android.anim
Test: AppWindowContainerControllerTestTest: AppWindowContainerControllerTestss
Fixes: 36792959

Change-Id: I5d41419a709b7984724e7053a3afdcc1ffe1aaa2
2017-04-07 22:10:34 +02:00
Todd Kennedy
66b5c042c2 copy 'visbileToInstantApps' setting
Change-Id: I342a133ae8d7f38008cb03706d160e6f2e2cca97
Fixes: 37002720
Test: Start instant app [adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d http://www.realestate.com.au/property-apartment-nsw-pyrmont-124879602] and see that hitting the 'share' icon works
2017-04-07 12:48:13 -07:00
Roozbeh Pournader
0eb9ce4a55 Merge "Special-case English for DateTime and Time key listeners" into oc-dev am: 91d289903c
am: 300d74e34e

Change-Id: Ic6dfb3e20ef409d9ef7e63578d8db25013537046
2017-04-07 19:39:54 +00:00
Roozbeh Pournader
300d74e34e Merge "Special-case English for DateTime and Time key listeners" into oc-dev
am: 91d289903c

Change-Id: Ibeaea13b146e30b5f7d67c49295081632a6a7736
2017-04-07 19:32:45 +00:00
Robert Carr
ba29dbc3b3 ViewRootImpl: Fix child lifetime.
As far as I can tell this has always been broken. We've always had
intermittent reports of buffer-queue-abandoned as well (a recent bug
came with some reports from N). During onStop SurfaceView relies on
onWindowVisibilityChanged, to trigger a visibility change. At this
point SurfaceView will emit the SurfaceDestroyed callback in order to
stop the client from further use of the Surface. The contract we've
been using with ViewRootImpl is at any point following
Activity.performStop returning the WindowManager was free to destroy
the Surfaces. This is why in setWindowsStopped we destroy the hardware
resources for the ViewRoot. However we aren't dispatching anything to
the SurfaceView. The WindowManager will send an app visibility
notification, but that would go through the handler. This means by the
time we return from Stop, there is no guarantee that the
onWindowVisibilityChanged callbacks have been invoked at all. It
seemed most sensible to dispatch the visibility callbacks directly. We
also ensure that getHostVisibility will return false after this point,
so that performTraversals will not reverse our visibility request if
it occurs again prior to the window visibility notification from the
WindowManager. We also guard against emitting a second window
visibility changed callback in the traversals. I don't know at this
point what value the window visibility notification provides but I
don't feel excited about removing it in this CL at this point in
the development cycle.

Test: Put Chrome in PiP. Turn screen off. No Crash!
Bug: 36561071
Change-Id: Id1673561b2299d477b2761b3ac6afa14eabbf7fb
2017-04-07 12:24:43 -07:00
Wale Ogunwale
23e8f273da Merge "Revert "Do not make strong reference to Resources."" into oc-dev am: 2f2e3f8ad5
am: d8351abc88

Change-Id: I7e5a4d46a4a524f2a7196adc9f39e27aced5bbdd
2017-04-07 19:23:57 +00:00
TreeHugger Robot
91d289903c Merge "Special-case English for DateTime and Time key listeners" into oc-dev 2017-04-07 19:21:56 +00:00
Wale Ogunwale
d8351abc88 Merge "Revert "Do not make strong reference to Resources."" into oc-dev
am: 2f2e3f8ad5

Change-Id: I4b2f25475531003f8a4928e0b4a8eef05dfb9378
2017-04-07 19:14:41 +00:00
Wale Ogunwale
2f2e3f8ad5 Merge "Revert "Do not make strong reference to Resources."" into oc-dev 2017-04-07 19:06:55 +00:00
Phil Weaver
487d869733 Make a11y node info parceling more robust
Fix a bug where a malformed Parceled representation
of an AccessibilityNodeInfo could be used to mess with
Bundles as they get reparceled.

Bug: 36491278
Test: Verified that POC no longer works, a11y cts still passes.
Change-Id: I10f24747e3ab87d77cd1deba56db4526e3aa5441
(cherry picked from commit 687bb44b43)
2017-04-07 18:45:38 +00:00
Bryce Lee
4eb4f05ea9 Revert "Do not make strong reference to Resources."
This reverts commit 2d2315a66d.

Reason for revert: possible cause for b/37156733

Change-Id: I02d468449f0632d1281ab5ad2a381e7e36a5b0ea
2017-04-07 18:44:26 +00:00
Phil Weaver
718264a3f8 Merge "Make a11y node info parceling more robust" 2017-04-07 18:42:29 +00:00
Andrii Kulian
597f390681 Add hidden API to check support of Multi-Display
Added ActivityManager#supportsMultiDisplay() to check if system
supports running activities on secondary displays.

Bug: 36776777
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testMultiDisplayDisabled
Change-Id: I18f98f2f6a9e865ad8dc63a470210190536d3271
2017-04-07 11:08:55 -07:00
Dmitry Dementyev
1df502fc75 Merge "Make visible only accounts for which authenticator supports contacts operations for callers with READ_CONTACTS permission." 2017-04-07 17:49:35 +00:00
Selim Cinek
810d99e265 Merge changes If96c0146,I0d68ad60 into oc-dev am: 5393a0e2d9
am: e1fcf8edd6

Change-Id: I59b73215058df60ad93e59a76f01143c6a935d30
2017-04-07 16:17:44 +00:00
Selim Cinek
e1fcf8edd6 Merge changes If96c0146,I0d68ad60 into oc-dev
am: 5393a0e2d9

Change-Id: Ic70d9eb07b53ccda5fafb8c37177e130d4b279de
2017-04-07 16:08:26 +00:00
TreeHugger Robot
5393a0e2d9 Merge changes If96c0146,I0d68ad60 into oc-dev
* changes:
  Improved accessibility behavior of the notification shelf
  Fixed a bug where the indeterminate progressbar janky
2017-04-07 15:59:17 +00:00
Bryce Lee
149fd497e8 Merge "Check component before notifying activity is visible." into oc-dev am: 13acf25cfd
am: 6b8907d8ed

Change-Id: Ife37bdfb4bee6479688defad0446efaecfb7838b
2017-04-07 15:11:51 +00:00
Bryce Lee
6b8907d8ed Merge "Check component before notifying activity is visible." into oc-dev
am: 13acf25cfd

Change-Id: I58d215ae33994274a364ec71ba59bae25e0e1c12
2017-04-07 15:03:54 +00:00
Bryce Lee
13acf25cfd Merge "Check component before notifying activity is visible." into oc-dev 2017-04-07 14:58:18 +00:00
Chad Brubaker
84d19b3162 Merge "Expose package_verifier_user_consent to Instant Apps" into oc-dev am: ca73ff016f
am: c6ef0585e8

Change-Id: I384d3f9d1e5a68426fd1ce69eb5dc6266891d84b
2017-04-07 14:28:34 +00:00
Chad Brubaker
c6ef0585e8 Merge "Expose package_verifier_user_consent to Instant Apps" into oc-dev
am: ca73ff016f

Change-Id: Ife1762e223269271110b5f2357edffaaeb013b1b
2017-04-07 14:20:35 +00:00
TreeHugger Robot
ca73ff016f Merge "Expose package_verifier_user_consent to Instant Apps" into oc-dev 2017-04-07 14:12:05 +00:00
Philip P. Moltmann
8f9ae8ec8e Merge "Change requestWait API according to request" into oc-dev am: ca687ac39a
am: a89137545b

Change-Id: I918d16f7dd81ec641b023f3a19a0c3aeab984e1d
2017-04-07 13:35:50 +00:00
Philip P. Moltmann
a89137545b Merge "Change requestWait API according to request" into oc-dev
am: ca687ac39a

Change-Id: I19a3ca83efc1934448e1044b9be74087f89dd030
2017-04-07 13:27:33 +00:00
Esteban Talavera
89d1d31955 Merge "Add managed profile whitelist to control NotificationListenerServices" 2017-04-07 13:26:30 +00:00
TreeHugger Robot
ca687ac39a Merge "Change requestWait API according to request" into oc-dev 2017-04-07 13:19:12 +00:00
Jakub Pawlowski
d80264b449 Merge "Bluetooth 5 fix default AdvertisingSetParameters values" am: 7bf58d5975 am: 909f3b108f am: bc095f035d
am: 93cba9eeca

Change-Id: Id711563a93995c1c58bcf299d3cca3c3624557fc
2017-04-07 07:22:30 +00:00