Commit Graph

102386 Commits

Author SHA1 Message Date
Automerger Merge Worker
f5f2b98b63 Merge "Include pending media as well when deleting mediastore entries." into rvc-dev am: 442399b1c1 am: 377d13b37e am: 49cf50aef9
Change-Id: I815499a43363327a55d0e0251c23eddde47afa5b
2020-02-27 18:13:25 +00:00
Sudheer Shanka
442399b1c1 Merge "Include pending media as well when deleting mediastore entries." into rvc-dev 2020-02-27 17:49:53 +00:00
Automerger Merge Worker
7bf8d8cbf9 Merge "camera2: Add documentation for getConcurrentStreamingCameraIds specifying multi-process use." into rvc-dev am: 84d6a305a2
Change-Id: I4fffe241e13caac45f6fbb91b21d2c95748e62c0
2020-02-27 17:43:11 +00:00
Jayant Chowdhary
84d6a305a2 Merge "camera2: Add documentation for getConcurrentStreamingCameraIds specifying multi-process use." into rvc-dev 2020-02-27 17:20:00 +00:00
Automerger Merge Worker
cae404839c Merge "Cache binder calls in CompatChanges" into rvc-dev am: 6d1c0c7d90
Change-Id: If52eb5cf492a77aabadd4afe50a65f81c932a0ab
2020-02-27 15:16:34 +00:00
Anna Trostanetski
6d1c0c7d90 Merge "Cache binder calls in CompatChanges" into rvc-dev 2020-02-27 14:58:13 +00:00
Automerger Merge Worker
0ea0273c5c Merge "Makes sure the magnifier source bounds doesn't beyond the surface." into rvc-dev am: 2c591e8c6b
Change-Id: I9758995b034bb99545cddf29359207407b3907c6
2020-02-27 12:02:33 +00:00
Shu Chen
2c591e8c6b Merge "Makes sure the magnifier source bounds doesn't beyond the surface." into rvc-dev 2020-02-27 11:47:13 +00:00
Automerger Merge Worker
b84b8d1585 Merge "Remove the public APIs for allow rich content." into rvc-dev am: 2ebe60b5df
Change-Id: Ib2b98a1ba9f8dc7dfa78f1bbfb611f68da69ef6d
2020-02-27 10:42:25 +00:00
PETER LIANG
2ebe60b5df Merge "Remove the public APIs for allow rich content." into rvc-dev 2020-02-27 10:27:47 +00:00
Automerger Merge Worker
c62c15f942 Merge "Pipe windowToken for hideSoftInput" into rvc-dev am: 73b1d16d28
Change-Id: Ib1bfa73ddc7b31cb59c9c15eb2b6495d543406eb
2020-02-27 07:29:34 +00:00
Taran Singh
73b1d16d28 Merge "Pipe windowToken for hideSoftInput" into rvc-dev 2020-02-27 07:14:04 +00:00
Peter_Liang
01a592bfd1 Remove the public APIs for allow rich content.
1. Mark @hide for "Drawable loadAnimatedImage(Context)" and "String loadHtmlDescription(PackageManager)".
2. Move common function into util.

Bug: 149516547
Bug: 142532186
Test: maunal test
Change-Id: I4f734a496938f64bcde990268e11a2d1a5be4771
Merged-In: I4f734a496938f64bcde990268e11a2d1a5be4771
(cherry picked from commit a2f7f84938)
2020-02-27 04:19:53 +00:00
Tarandeep Singh
4fe5b654a1 Pipe windowToken for hideSoftInput
Pipe the windowToken of the window requesting hideSoftInput just like we
did it for showSoftInput [1].
This calls hideInsets on the correct display when control target is
different from IME target e.g. ActivityView.
Also hideInsets should be called on InsetsControlTarget instead which was
originally attempted in [2]

[1]: Ia49e23dd077d264a58d28a7b8acffde54b7db187
[2]: I7133e151a1037c42b275b97857936437a7a6725f

Bug: 149870112
Bug: 133381284
Test: Manually using steps mentioned in bug.

Change-Id: Ia596a392eb73ae46debd097151c8c9a7edd59833
2020-02-27 04:13:25 +00:00
Automerger Merge Worker
73f40b8b72 Merge "Hide CarrierMessagingServiceWrapper for now." into rvc-dev am: 8e5e4e03a9
Change-Id: I232254dd0f3f094b600f60c8e4baf4f4fde43dcf
2020-02-27 04:08:21 +00:00
TreeHugger Robot
8e5e4e03a9 Merge "Hide CarrierMessagingServiceWrapper for now." into rvc-dev 2020-02-27 04:04:35 +00:00
Automerger Merge Worker
ec01225c09 Merge "A few inline autofill API tweaks." into rvc-dev am: 658fc6d6d6
Change-Id: I38bc6d0694372eabce98c2c288e9b68d1a66928c
2020-02-27 03:21:21 +00:00
TreeHugger Robot
658fc6d6d6 Merge "A few inline autofill API tweaks." into rvc-dev 2020-02-27 03:16:38 +00:00
Automerger Merge Worker
6b925b391b Merge "Remove IME surface when hidden" into rvc-dev am: 05b07c2657
Change-Id: I8095c775bdb8865f8a5847e84a513c133711fab4
2020-02-27 01:01:33 +00:00
Taran Singh
05b07c2657 Merge "Remove IME surface when hidden" into rvc-dev 2020-02-27 00:53:09 +00:00
Amit Mahajan
e75a35d3b3 Hide CarrierMessagingServiceWrapper for now.
Based on api-council feedback there are some changes required.
Will incorporate the changes and expose this class in a later
release.

Test: basic sanity
Bug: 144346062
Change-Id: Icb65f90261ea6000aecd72a1888d5ee23eed6527
2020-02-26 23:02:44 +00:00
Jayant Chowdhary
d7cc17c164 camera2: Add documentation for getConcurrentStreamingCameraIds specifying multi-process use.
Add documentation specifying that camera devices advertised by
getConcurrentStreamingCameraIds() refer to those devices which can be
configured concurrently by the same client application.

Bug: 150225538

Test: m offline-sdk-docs

Change-Id: I4997f10ca73de45fd58d22261c7456402d761a57
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-02-26 22:44:42 +00:00
Automerger Merge Worker
b64e891d95 Merge "Clean-up old docked-stack implementation from WM" into rvc-dev am: 149bbf89bc
Change-Id: I39b281b20c53bfbcab371f05248d9ef211ea5f90
2020-02-26 21:52:43 +00:00
Feng Cao
4b0ef392c2 A few inline autofill API tweaks.
* add isPinned() to InlineSuggestionInfo so IME can choose to pin the suggestion
* allow augmented autofill service to set inline actions in the response
* non-api change: pull the autofill hints from the Slice in the InlinePresentation

Test: m -j; atest InlinePresentationTest, atest CtsInputMethodTestCases:InlineSuggestionInfoTest CtsInputMethodTestCases:InlineSuggestionTest
Bug: 137800469

Change-Id: I63b6b843ef056df18c317299e617b8fe21907374
2020-02-26 13:49:54 -08:00
Evan Rosky
149bbf89bc Merge "Clean-up old docked-stack implementation from WM" into rvc-dev 2020-02-26 21:47:57 +00:00
Automerger Merge Worker
f977b7f596 Merge "Allow UsbDeviceManager to start adbd again." into rvc-dev am: e3fce1c7fe
Change-Id: Iec84ac9a7337c6dee42a4a1c320a5fa3bf34688c
2020-02-26 21:30:59 +00:00
Joshua Duong
e3fce1c7fe Merge "Allow UsbDeviceManager to start adbd again." into rvc-dev 2020-02-26 21:19:04 +00:00
Automerger Merge Worker
dbb995eef2 Merge "Add docs to Controls API" into rvc-dev am: 0b66590fbf
Change-Id: I9b28b5c48ae89ea1844243ff56b53eed12781628
2020-02-26 20:25:16 +00:00
Fabian Kozynski
0b66590fbf Merge "Add docs to Controls API" into rvc-dev 2020-02-26 20:21:53 +00:00
Automerger Merge Worker
4f307ab121 Merge "Removing possible user defined strings from bugreport view-dump" into rvc-dev am: 31c94a2f0e
Change-Id: I6ad961a89efddcbb9fafc259246d0ebe386cc7e2
2020-02-26 20:20:19 +00:00
TreeHugger Robot
31c94a2f0e Merge "Removing possible user defined strings from bugreport view-dump" into rvc-dev 2020-02-26 20:12:10 +00:00
Automerger Merge Worker
6a6c04a54e Merge "Use display context all the way" into rvc-dev am: 214fe98184
Change-Id: Id041747e8fa8f87c97c7d91019774f5256aa6fab
2020-02-26 19:07:06 +00:00
TreeHugger Robot
214fe98184 Merge "Use display context all the way" into rvc-dev 2020-02-26 19:02:34 +00:00
Tarandeep Singh
94c9a8328e Remove IME surface when hidden
When IME is no longer shown, notify IMS to hide the window surface.
This reclaims the memory allocated to IME window surface.

Fix: 150163310
Test: atest CtsInputMethodTests
      Manually:
      1. Open any app that has editor  and run
         adb shell  dumpsys SurfaceFlinger | grep Total
      2. Note down total memory
      3. Tap on editor and IME shows. Note down memory
         using command in #1. It should go up by ~27MB
      4. Hide IME and note down memory again.
         It should revert to original value in #1.

Change-Id: I6c2a13dd40b22d3fd62b4763ba369992e5ff1138
2020-02-26 18:58:33 +00:00
Automerger Merge Worker
c4721f1fe4 Merge "Add missing RequiresPermission annotations in BluetoothHidHost and BluetoothMap APIs, disallow null device input for setConnectionPolicy, getConnectionPolicy, and getConnectionState in BluetoothHidHost, and BluetoothMap implements AutoCloseable, its close() method is public, and utilizes a CloseGuard." am: a9e6a280f8 am: 7e3f076b2c
Change-Id: I2932905cba9dfff800e705289bca07c48898791c
2020-02-26 18:14:24 +00:00
Automerger Merge Worker
7e3f076b2c Merge "Add missing RequiresPermission annotations in BluetoothHidHost and BluetoothMap APIs, disallow null device input for setConnectionPolicy, getConnectionPolicy, and getConnectionState in BluetoothHidHost, and BluetoothMap implements AutoCloseable, its close() method is public, and utilizes a CloseGuard." am: a9e6a280f8
Change-Id: Iee457f25ea65b2507986f7e111341fc9924f56e3
2020-02-26 18:01:50 +00:00
Automerger Merge Worker
03a66475ee Merge "WebView: Update setAllowFileAccess doc to reflect new default value" into rvc-dev am: 44e0da66e2
Change-Id: If55a4a1c999920f7be27870dccf8488b4511605b
2020-02-26 17:53:13 +00:00
TreeHugger Robot
44e0da66e2 Merge "WebView: Update setAllowFileAccess doc to reflect new default value" into rvc-dev 2020-02-26 17:43:13 +00:00
Automerger Merge Worker
2a0437f8d2 Merge "Prevent NPE whlie leaving windowless dream service." into rvc-dev am: 3944050acb
Change-Id: I17c96b934b7a4fb6484f0383e843fd5740af33d0
2020-02-26 17:26:32 +00:00
Joshua Duong
ac29885a0e Allow UsbDeviceManager to start adbd again.
There's some weird state where if persist.sys.usb.config=none,adb, then
adbd won't get started. Give back adbd start permissions to
UsbDeviceManager to see if that fixes the issue.

Bug: 150130503
Bug: 150116813

Test: adb shell su 0 setprop persist.sys.usb.config none,adb; adb reboot
adb should be online after.

Change-Id: I36c6ef4b20d58570a2d51ed70088ae5c54d6687d
Exempt-From-Owner-Approval: Fix adbd offline failure
(cherry picked from commit 7a3800993d)
2020-02-26 16:26:39 +00:00
Fabian Kozynski
9f2dabf255 Add docs to Controls API
Test: build
Bug: 150154816
Change-Id: Ie1f77620f8302032845ae1f66459b2990513bb86
2020-02-26 09:56:44 -05:00
Hazem Ashmawy
ee824f006b WebView: Update setAllowFileAccess doc to reflect new default value
Update setAllowFileAccess java docs to reflect that it's now disabled by
default after merging crrev.com/c/2056824. Also add a note to use
androidx WebViewAssetLoader instead.

Bug: 148840827
Test: m offline-sdk-docs -j20
Change-Id: I15866ab63818771fd91f40828846d6b4c39d278e
(cherry picked from commit 47a4c2da51)
2020-02-26 12:26:36 +00:00
Jerry Chang
30efde6a30 Prevent NPE whlie leaving windowless dream service.
There might having windowless dream service like doze dream which won't
hava attached activity, so call finish() directly in onWakeUp() since
finish() itself deals with finishAndRemoveTask() as well.

Fix: b/150110220
Test: manual test, won't throw NPE while leaving doze service.
Change-Id: I982c2f6fb1859e869732ef8795b61bf96e8cff64
Merged-In: I982c2f6fb1859e869732ef8795b61bf96e8cff64
(cherry picked from commit 45f0d572c1)
2020-02-26 10:56:29 +00:00
Automerger Merge Worker
d42b6fa9b9 Merge "Restore UnsupportedAppUsage method call" into rvc-dev am: da043aee24
Change-Id: I40968d188143e87e02a0600c35a5c4d1d17b15d8
2020-02-26 03:06:58 +00:00
TreeHugger Robot
da043aee24 Merge "Restore UnsupportedAppUsage method call" into rvc-dev 2020-02-26 03:05:31 +00:00
Automerger Merge Worker
647d514d47 Merge "Fine-tune the public APIs of allow rich content in Accessibility Settings for security." into rvc-dev am: 9c9ed396b5
Change-Id: I3dc957c2fd4ff9b8bd03315af70494e3b4fee880
2020-02-26 03:03:55 +00:00
PETER LIANG
9c9ed396b5 Merge "Fine-tune the public APIs of allow rich content in Accessibility Settings for security." into rvc-dev 2020-02-26 02:51:57 +00:00
Ryan Mitchell
93f2b3f9a2 Restore UnsupportedAppUsage method call
4579c0aea2 changed the method signature
of the constructor of ResourcesKey, which is marked
UnsupportedappUsage. Restore the previous signature and provide a new
constructor that is hidden.

Bug: 147359613
Test: none
Change-Id: I391167e9064b1d88f4ad75200a190e5e3b0968cf
2020-02-25 22:10:22 +00:00
Evan Rosky
73a7fe9479 Clean-up old docked-stack implementation from WM
Bug: 133381284
Test: Existing tests pass. Manually use sysui
Change-Id: I44155d74df1489fa391c60a05d1f8098986cefb7
2020-02-25 21:13:16 +00:00
Automerger Merge Worker
e8e258ace4 Merge "docs: Fix spelling of "environments"" into rvc-dev am: d697434fdc
Change-Id: I2e1a409d30ce508b036064126656b75024dea554
2020-02-25 21:06:32 +00:00