Commit Graph

102368 Commits

Author SHA1 Message Date
Automerger Merge Worker
0a210abe2f Merge "Hide CarrierMessagingServiceWrapper for now." into rvc-dev am: 8e5e4e03a9 am: a44be1c266
Change-Id: I34e53f01e7f7c38e9bb14477ec24ebc986120d52
2020-02-27 04:53:56 +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
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
Kevin Hufnagle
d697434fdc Merge "docs: Fix spelling of "environments"" into rvc-dev 2020-02-25 21:05:53 +00:00
Automerger Merge Worker
2895bf9d70 Merge "Atom for when fgs accesses appop" into rvc-dev am: 10398d29f3
Change-Id: I05bd0d910df7d69a6a58cf32a4ebfdab43612e1a
2020-02-25 20:11:48 +00:00
Svet Ganov
17a647eee0 Use display context all the way
Bug: 149958394
Test: core/java/android/service/autofill/InlineSuggestionRenderService.java

Change-Id: I15c3149dfe37adef95ffd47454975761d6e624f0
(cherry picked from commit 8cdf9ebc5c)
2020-02-25 20:07:31 +00:00
Rahul Sabnis
f9e92a836f 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.

Bug: 149238030
Test: Manual
Change-Id: I8add9e26afcaf1a988c15e3cc7f8c446491f0686
2020-02-25 12:03:48 -08:00
TreeHugger Robot
10398d29f3 Merge "Atom for when fgs accesses appop" into rvc-dev 2020-02-25 19:59:16 +00:00
Automerger Merge Worker
afbd22982b Merge "Fix widget restore flow" into rvc-dev am: 7973854504
Change-Id: I0a08e4de896c13034ca4c5349b470a469d1fb5df
2020-02-25 19:32:52 +00:00
TreeHugger Robot
7973854504 Merge "Fix widget restore flow" into rvc-dev 2020-02-25 19:31:08 +00:00
Automerger Merge Worker
81a3d0e2af Add ID to InputEvent. am: c8362b24f6
Change-Id: I1041d8f81e49b7f9653061ef98e4fbe3d581d89d
2020-02-25 19:23:13 +00:00
TreeHugger Robot
0253cc8f2f Merge changes from topics "input_events_id", "wire_input_event_id" into rvc-dev
* changes:
  Send input event ID in InputEventSender.
  Add ID to InputEvent.
2020-02-25 19:20:17 +00:00
Automerger Merge Worker
130fbe6da1 Merge "Add owners file Fixes: 150217454" into rvc-dev am: 3e4c88087d
Change-Id: I71a0763bb0a8bc83e1c87638220e5f99c4a24d56
2020-02-25 19:04:26 +00:00
Julia Reynolds
3e4c88087d Merge "Add owners file Fixes: 150217454" into rvc-dev 2020-02-25 18:54:45 +00:00
Julia Reynolds
36ff1ea03f Add owners file
Fixes: 150217454

Change-Id: I80e624dd3de150cbf1cf50465cadb676256a4063
2020-02-25 18:54:36 +00:00
Automerger Merge Worker
82abc4fb3b Merge changes from topic "new-task-snapshots-rvc-dev" into rvc-dev am: 81a320279e
Change-Id: I63d105659a7578774a9594609117939802b33a2d
2020-02-25 18:34:42 +00:00
Automerger Merge Worker
cdf0080354 Merge changes I756b5834,Idce09cff am: a7fdceeba2
Change-Id: I7c5e83f83518086a57525360ea25921e438bfe95
2020-02-25 18:32:29 +00:00
Automerger Merge Worker
44dc451f44 Merge "Clear registered prediction callbacks on destroy" into rvc-dev am: 086e11fdb6
Change-Id: Id7bd3935a660ffa1dc15f13e6de2a1efa454702f
2020-02-25 18:31:17 +00:00