* Pipe the augmented autofill's inline actions through to the
InlineSuggestionsResponse
* Do not send the inline action if the number of inline suggestions is
zero
* Refactor autofill inline suggstion session so that all the calls to
the IME has happens within the class
* Send an empty response to IME to hide the inline suggestion UI when
view exits and the previous response wasn't empty
Test: manual verification, atest InlineLoginActivityTest
Bug: 149522488
Bug: 150312201
Change-Id: I7a0dbf44e9fad6e7da857448c0f2b186e1681d17
JobScheduler expects the system gallery package to be non-null, so we
have to make sure the test context provides a non null value.
Bug: 146453470
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Change-Id: Ib84567b006a2f57d17d767e0c08fd542576f979d
Move optional ran parameter to end
Make system -> public API
Test: atest FrameworksTelephonyTests
Bug: 150127236
Change-Id: I140477b2778158646dbbcb0d2a32033c61bb97e4
An == check will no longer pass because the Pair object used
to wrap ParsedComponents and their associated IntentInfos is
re-created for each filter.
Have to use the actual filter reference by calling
getIntentFilter with the left/right sides.
Bug: 150112563
Test: manual update Calendar app and try to reproduce bug
Change-Id: I0bb1e1d82a1f097b4c0d99a7fabf76789461c888
History files that were edited after creation (like if a package
was uninstalled) weren't being deleted in a timely manner
Test: atest, manual on device with old files (launch history;
they are gone)
Fixes: 150479791
Change-Id: I0ddc22e988a80a8f1df01dfd2162d9d23e4ace7e
- Fix crash on first boot when something is snoozed
- Add placeholder text for notifications that don't have any
text (e.g. use custom layouts without a backup)
Test: manual
Fixes: 150327744
Fixes: 149767075
Change-Id: I5e6beb3d68b9974fa950f5e4cb7ea9dc01c34fc7
The package name test is safe:
* If it's used by Toast class in an app, apps have access to layout
params anyway via getWindowParams() and applied flag is already
protected by INTERNAL_SYSTEM_WINDOW permission.
* If it's used by ToastUI class in sys UI on behalf of another app,
sys UI is trusted domain and can't be messed up by another app. It
also has INTERNAL_SYSTEM_WINDOW permission.
Bug: 149408635
Test: atest ToastUITest android.widget.cts.ToastTest
android.widget.cts29.ToastTest android.server.wm.ToastTest
Test: Change phone to vibration/silent in secondary user and observe
toast is displayed.
Change-Id: I227e9f74166300fcb3ba8f3871b464afe6ec6a28
Merged-In: I227e9f74166300fcb3ba8f3871b464afe6ec6a28
(cherry picked from commit caef507aa9)
true on successfully setting the connection policy instead of on
disconnection. It also now indicates that if
BluetoothProfile#CONNECTION_POLICY_FORBIDDEN is passed in, the profile
will be disconnected.
Bug: 148966894
Test: Manual
Change-Id: I881c240fcbce0c8148625c35e6e88ab02ea7122f
This both avoids the need to make extra copied for the models and
allows exceeding the parcel size limits.
Bug: 150100907
Test: Manual testing of basic sound trigger functionality
Change-Id: Ic4c5c1a9de3e29b1b6fa82442254e1afe7daec19
In order to avoid marking a manual reboot as a RoR failure, add another
indicator that the resume-on-reboot was armed before the last reboot.
(cherry picked from commit 5e6a959653)
Test: atest RebootEscrowManagerTests
Bug: 149833390
Change-Id: Ief1cac1952302e43a2c57314bc1449fa7bf38ba7
Merged-In: Ief1cac1952302e43a2c57314bc1449fa7bf38ba7
The database storage commands are part of ILockSettings, but the actual
storage takes place on LockSettingsStorage. Redirect the calls in
LockSettingsService to LockSettingsStorage to make the ownership a bit
more clear.
(cherry picked from commit 366c310e4a)
Bug: 149833390
Test: atest LockSettingsStorageTests LockSettingsServiceTests
Change-Id: Ibc9236a171cedd3b09b1afed70895bc91e895a1c
Merged-In: Ibc9236a171cedd3b09b1afed70895bc91e895a1c
Enabling postsubmit tests for the JobScheduler files
in the JobScheduler mainline module.
Bug: 146453470
Test: cd to directory and run "atest"
Change-Id: Ie2536591f8b0e53790f16f15b27628a1f1690c4f
(cherry picked from commit 888fe19c4b4f91419db2955059cec925513d25e0)
If IME is already visible, requestShow() is immediate.
If animation is finishing and IME is hiding, notify IME process of the
visibility.
Bug: 111084606
Test: Use test app [1] and verify that swiping up and down multiple
times opens and closes the IME respectively.
[1] I4320871bdc8184fac38921616e1a1322f8dbc804
Change-Id: Icf202b56c0bc3833e86ee70c43fedd418e27b140