Commit Graph

104348 Commits

Author SHA1 Message Date
TreeHugger Robot
62404a46f8 Merge "Increase content capture buffer size to 500 Anecdotally this should cover typical messaging first screens whereas 100 events seems to be small." into rvc-dev am: 8ae0cfe36b
Change-Id: I7fa63a2f537596f5259f8e9124f403f6cd6ef892
2020-05-13 02:01:27 +00:00
TreeHugger Robot
8ae0cfe36b Merge "Increase content capture buffer size to 500 Anecdotally this should cover typical messaging first screens whereas 100 events seems to be small." into rvc-dev 2020-05-13 01:57:06 +00:00
TreeHugger Robot
413c74903e Merge "Allow some OpEntry#* methods for apps targeting R" into rvc-dev am: d775b6404f
Change-Id: Ic0d901820847937fb1bdd803d67c129edd4b5a79
2020-05-12 23:33:56 +00:00
TreeHugger Robot
d775b6404f Merge "Allow some OpEntry#* methods for apps targeting R" into rvc-dev 2020-05-12 23:18:52 +00:00
Julian Odell
82c92bcf3c Increase content capture buffer size to 500
Anecdotally this should cover typical messaging first screens
     whereas 100 events seems to be small.

Test: make -j
Test: Manually start WhatsApp - check for lost events
Bug: 154777879
Change-Id: I3090584ec03714656948045189e0e0c068740c82
2020-05-12 23:02:55 +00:00
TreeHugger Robot
1e3fe956cf Merge "Add OWNERS for display, haptics, input and power" into rvc-dev am: f30c225fcb
Change-Id: Iac20c61dfc4d0b79e6773a8d2a10cf7221e95df5
2020-05-12 20:44:05 +00:00
TreeHugger Robot
8723d1ba9b Merge "Deprecate WebSettings.setAppCacheEnabled and related." into rvc-dev am: 291cf5d293
Change-Id: I175bbb1be82c5dadc0ced4f75de8897a6990dc84
2020-05-12 20:41:15 +00:00
TreeHugger Robot
8ab975d0c7 Merge "Fix cts fail for android.autofillservice.cts.augmented" into rvc-dev am: a76f65614e
Change-Id: I6ec351ebd408e791bb67e43c996fb9af8202e185
2020-05-12 20:33:15 +00:00
Eino-Ville Talvala
e4b56934f8 Merge "Camera: Fix minor doc formatting error" into rvc-dev am: ab3438ec1f
Change-Id: I814e180fa8fa04a4dc19bef0d74dee33b17affb2
2020-05-12 20:31:36 +00:00
Martijn Coenen
8577bd7931 Merge "Limit rename() workaround to /storage/emulated." into rvc-dev am: 5019f6c50b
Change-Id: Icf36a053db6bd33c5856853d951e2fdaabc6789c
2020-05-12 20:27:31 +00:00
Robert Horvath
9e3d3a1977 Merge "Add PackageInstaller#uninstallExistingPackage" into rvc-dev am: f424274d8e
Change-Id: Ia4cfc3c5c08e7e680eae0c1739cd87e29fe7bc42
2020-05-12 20:25:10 +00:00
Riddle Hsu
5cedc6708b Merge changes from topic "b147213487" into rvc-dev am: 8e726a2ef7
Change-Id: Iab5e4ec34dcddc9996ac953e8579e07fef54fc1b
2020-05-12 20:24:34 +00:00
TreeHugger Robot
f30c225fcb Merge "Add OWNERS for display, haptics, input and power" into rvc-dev 2020-05-12 20:17:39 +00:00
Hongwei Wang
7d0050e0e6 Merge "Set mIsInMultiWindowMode in activity creation" into rvc-dev am: 954820b047
Change-Id: Id92ad5b03331cbf73a802c4f19d97e3c4a0bc847
2020-05-12 20:12:56 +00:00
Adam Bookatz
681042dada Merge "Clarify UM.createUser javadoc" into rvc-dev am: 33ecd88317
Change-Id: I69c0fb641b48a2be121b9edd37b6a3990b7aae55
2020-05-12 20:11:22 +00:00
Eugene Susla
61ff16a2dc Merge "No need for copying dump state for PC" into rvc-dev am: 0728a4fe50
Change-Id: I965a3ad44c779788d2a8c5c721831fe0fe10f592
2020-05-12 20:10:02 +00:00
TreeHugger Robot
51bacf2d05 Merge "Provide a fixed transform hint if the layer is in a fixed orientation 2/2" into rvc-dev am: db5201d3ab
Change-Id: Id3a94dfb5eba0e3b2f0630cfc43bdf401517a4c4
2020-05-12 20:09:07 +00:00
Rob Carr
5e657a89c7 Merge "BLASTBufferQueue: Fix two conditions leading to freeze." into rvc-dev am: 85c13cf111
Change-Id: Ie9315fa0ac0e25b4d1a6db2ccd0f97a8c85f5db4
2020-05-12 20:07:57 +00:00
Josh Tsuji
772e2e4717 Merge "Add TYPE_TRUSTED_APPLICATION_OVERLAY." into rvc-dev am: 6282ff9bc2
Change-Id: Idf3585184c738a1a07193f88941c9b7a67f131b1
2020-05-12 20:07:02 +00:00
Tim Murray
0dc0234d4a Merge "fix app binder tracing on userdebug builds" into rvc-dev am: 52d70eaa12
Change-Id: I13a56141212316296cf242c24bbbcd85f2d2e2d0
2020-05-12 20:04:55 +00:00
Charles Chen
aa1b447e69 Merge "Add WindowMetricsHelper" into rvc-dev am: 5681f3e796
Change-Id: I6bf39437b330e533008296e503313d1bf7cf03b0
2020-05-12 19:43:58 +00:00
TreeHugger Robot
f84f89fb90 Merge "Fix consumer closed input channel cause an error occurred (1/2)" into rvc-dev am: 488cd2c4ff
Change-Id: If56b1785a20e63d141a47869cef154b1ff6eac8f
2020-05-12 19:42:50 +00:00
TreeHugger Robot
8afbe78b38 Merge "Make sure AmbiguousGestureMultiplier could start from 1" into rvc-dev am: 47059f7654
Change-Id: Idb8ebbc90d04c56fb8cb49dcf63e4eb19cded4e0
2020-05-12 19:40:31 +00:00
Beverly Tai
8c15c85384 Merge "Add badge colors for dark theme" into rvc-dev am: 78a66d6c36
Change-Id: I4e14ebd0b0add57aae07b54078aa4b3da27f969b
2020-05-12 19:37:08 +00:00
Jing Ji
025652b99e Merge "Check the isInUse with the lock held in MessageQueue" into rvc-dev am: 04dc962d1d
Change-Id: I132892b0e8cedc7d42f485d3c9a4c6bca0dd2449
2020-05-12 19:26:18 +00:00
Alec Mouri
39cacae4c6 Merge "Dispatch refresh rate callbacks from DMS" into rvc-dev am: 00f681a582
Change-Id: I9f4a612df697db526f0b55a768185512a3339048
2020-05-12 19:24:11 +00:00
TreeHugger Robot
291cf5d293 Merge "Deprecate WebSettings.setAppCacheEnabled and related." into rvc-dev 2020-05-12 19:18:10 +00:00
Nikita Ioffe
731358154b Merge "PackageParser2: collect certificates if requested" into rvc-dev am: a23a9dc83b
Change-Id: I92409768b821f8d414d24e1b4eba15ea1212760f
2020-05-12 19:02:18 +00:00
Kweku Adams
d53d46dc38 Merge "Add master switch to enable/disable RESTRICTED bucket." into rvc-dev am: 86a71e6e93
Change-Id: Idbdad70a397b7f92acd2c3bf5b47c4a6d70d1cd2
2020-05-12 19:01:11 +00:00
Tiger Huang
d9c81571f8 Merge "Prevent unnecessary updateRequestedState" into rvc-dev am: d8bb9b4dd8
Change-Id: Ib708067108b630f253037f02330397bdbd1c9809
2020-05-12 18:58:18 +00:00
Joanne Chung
14eb6ed5ad Merge "Prevent crash when AutofillManager.isEnabled() is called" into rvc-dev am: cdbd09bbcf
Change-Id: Ice7ba5dba023d17d3d2e8b19a3c4d63e477a0f1d
2020-05-12 18:56:21 +00:00
Michael Wright
2e7e81c950 Add OWNERS for display, haptics, input and power
Bug: 156349083
Test: N/A
Change-Id: Ia8afccfc2e470095ae3d52c827c0ac78b7c120ae
2020-05-12 19:11:13 +01:00
TreeHugger Robot
a76f65614e Merge "Fix cts fail for android.autofillservice.cts.augmented" into rvc-dev 2020-05-12 17:31:44 +00:00
Eino-Ville Talvala
ab3438ec1f Merge "Camera: Fix minor doc formatting error" into rvc-dev 2020-05-12 17:25:11 +00:00
Philip P. Moltmann
ac44350639 Allow some OpEntry#* methods for apps targeting R
Bug: 156254238
Test: built
Change-Id: Ie4a2cb155c40d46c52d44e0f53c05d52a8a9b523
2020-05-12 09:10:14 -07:00
Torne (Richard Coles)
76752c8f02 Deprecate WebSettings.setAppCacheEnabled and related.
Chrome will be removing the Application Cache API in future; deprecate
the APIs in WebView which allow Android apps to enable it.

Test: make offline-sdk-docs
Fixes: 156266477
Change-Id: I0feff5289706b5f7985013a18d9cf0e3e6b3ba78
2020-05-12 11:57:30 -04:00
Martijn Coenen
5019f6c50b Merge "Limit rename() workaround to /storage/emulated." into rvc-dev 2020-05-12 15:01:13 +00:00
lpeter
8e815316dd Fix cts fail for android.autofillservice.cts.augmented
In the test we trigger the manual autofill request programmatically,
because the focus isn't on the field, we will not get the callback
from IME.
It would be better not to ask IME for inline request if the request
is manual and the view is not focused because it's a simpler/safer
approach and manual request without focus should be rare.

Bug: 154661868
Test: atest CtsAutoFillServiceTestCases
Change-Id: I783b2542094cdea547ebd58ce89f30d9cd421708
2020-05-12 13:47:54 +00:00
Robert Horvath
f424274d8e Merge "Add PackageInstaller#uninstallExistingPackage" into rvc-dev 2020-05-12 11:40:10 +00:00
Robert Horvath
77880fa860 Add PackageInstaller#uninstallExistingPackage
This new API allows an app to be uninstalled silently by any app holding
the DELETE_PACKAGES permission, as long as the app is installed in
another user so won't be fully removed from the device.

Bug: 149601842
Test: atest UninstallExistingPackageTest
Merged-In: I69fe4d1dd4e9da83574b431257f7be6d1ac8b2bb
Change-Id: I69fe4d1dd4e9da83574b431257f7be6d1ac8b2bb
2020-05-12 09:18:56 +00:00
Riddle Hsu
8e726a2ef7 Merge changes from topic "b147213487" into rvc-dev
* changes:
  Send fixed rotation adjustments to the associated client
  Add support to override display adjustments by token
  Add fixed rotation display adjustments
2020-05-12 09:05:17 +00:00
Martijn Coenen
76ce2ccb19 Limit rename() workaround to /storage/emulated.
This workaround was intended to silently fix EXDEV move failures due to
the /Android/data and /Android/obb bind mounts. However, the workaround
should be limited to moves to *and* from the emulated filesystem. For
moves from the emulated filesystem to another filesystem (or
vice-versa), this would never have worked in the first place, and we
want to give the app this feedback, so it knows it needs to do a more
expensive copy operation and can show this in the UI. We know some apps
(like DocsUI) already handle this.

Public volumes (eg /storage/ABCD-1234) don't need this workaround, since
they don't have the bind mounts. Private volumes that aren't primary
don't have these bind mounts either.

Bug: 146430607
Test: N/A
Change-Id: I7bfe88e07708fe044ce8df02000a97cfad19bdee
2020-05-12 10:32:48 +02:00
Hongwei Wang
954820b047 Merge "Set mIsInMultiWindowMode in activity creation" into rvc-dev 2020-05-12 05:29:38 +00:00
Adam Bookatz
33ecd88317 Merge "Clarify UM.createUser javadoc" into rvc-dev 2020-05-12 03:26:35 +00:00
Hongwei Wang
f7e5a23106 Set mIsInMultiWindowMode in activity creation
When an Activity is launched directly into split-screen mode, there
won't be any onMultiWindowModeChanged callback. Upon activity creation,
the current windowing mode should be part of the configuration, use
the windowing mode from that as initial values for both
isInPictureInPictureMode and isInMultiWindowMode.

Bug: 155811896
Bug: 156204380
Test: launch activity to split-screen secondary and verify
      isInMultiWindowMode in dumpsys
Change-Id: I6061a2d5687b68a981abcf8b184bfb007cdcf501
2020-05-11 18:03:55 -07:00
Eugene Susla
0728a4fe50 Merge "No need for copying dump state for PC" into rvc-dev 2020-05-12 00:38:05 +00:00
TreeHugger Robot
db5201d3ab Merge "Provide a fixed transform hint if the layer is in a fixed orientation 2/2" into rvc-dev 2020-05-11 23:51:56 +00:00
Adam Bookatz
a88d4c09e4 Clarify UM.createUser javadoc
When creating admin users, default
UserRestrictions do indeed apply, so updating
the javadoc.

Test: N/A
Bug: 143491938
Change-Id: Id495599abd4ddee100ca2c761d3b420fff315482
2020-05-11 22:22:32 +00:00
Rob Carr
85c13cf111 Merge "BLASTBufferQueue: Fix two conditions leading to freeze." into rvc-dev 2020-05-11 21:46:19 +00:00
Philip P. Moltmann
1a4467816a No need for copying dump state for PC
Also
- enforce permission when dumping PC data

Bug: 155680199
Test: dumpsys permissionmgr
Change-Id: I2cacd6f9d8db0ea329de1d15c96bea9f2ae15dd1
2020-05-11 14:32:17 -07:00