Commit Graph

469109 Commits

Author SHA1 Message Date
Automerger Merge Worker
c766bd16d9 Merge "Resolve trust agents on USER_STARTED in addition to USER_ADDED." into qt-qpr1-dev am: 8a4f32305c
Change-Id: I1bb6d08848082da12cd53e39d676ca531d3d0eb7
2020-02-29 05:04:37 +00:00
Ram Periathiruvadi
8a4f32305c Merge "Resolve trust agents on USER_STARTED in addition to USER_ADDED." into qt-qpr1-dev 2020-02-29 04:52:07 +00:00
Sarah Chin
be776fed5e Merge "API review: setNetworkSelectionModeManual" into rvc-dev 2020-02-29 04:49:13 +00:00
TreeHugger Robot
823539be20 Merge "CDM isDeviceAssociatedForWifiConnection returns false if no devices associated" into rvc-dev 2020-02-29 04:43:28 +00:00
TreeHugger Robot
020820108c Merge "Update javadoc to reflect that BluetoothPbap#setConnectionPolicy returns 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." into rvc-dev 2020-02-29 04:36:09 +00:00
Julia Reynolds
cea962b18a Merge "Fix crash & history text" into rvc-dev 2020-02-29 02:14:51 +00:00
TreeHugger Robot
0fe12dad61 Merge "Several improvements and bug fixes to the inline autofill flow" into rvc-dev 2020-02-29 01:35:19 +00:00
Feng Cao
ec496000ec Several improvements and bug fixes to the inline autofill flow
* 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
2020-02-28 17:25:30 -08:00
TreeHugger Robot
6f55fa3cac Merge "Fix JobSchedulerServiceTest." into rvc-dev 2020-02-29 01:15:43 +00:00
Winson Chiu
302f62cea1 Merge "Convert IntentResolver data object to IntentFilter for comparison" into rvc-dev 2020-02-29 00:58:39 +00:00
Wonsik Kim
82e82762fd Merge "media: lazy MediaCodec.release()" into rvc-dev 2020-02-29 00:35:55 +00:00
Paul Chang
4328b613a8 Merge "Clean up code of starting bug report" into rvc-dev 2020-02-29 00:20:04 +00:00
Paul Chang
af730a12bd Merge "Improvements to Bugreporting API." into rvc-dev 2020-02-29 00:20:04 +00:00
TreeHugger Robot
aec73f132b Merge "Fix issue with history deletion" into rvc-dev 2020-02-29 00:17:10 +00:00
Winson Chiu
eedf74437f Merge "Use PackageInfoUtils with null PackageSetting to set server-only flags" into rvc-dev 2020-02-29 00:10:53 +00:00
TreeHugger Robot
fcc76667dd Merge "Add id for PagedTileLayout" into rvc-dev 2020-02-29 00:10:27 +00:00
Kweku Adams
a3bc95e629 Fix JobSchedulerServiceTest.
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
2020-02-28 15:32:53 -08:00
Sarah Chin
1f39ebd9e6 API review: setNetworkSelectionModeManual
Move optional ran parameter to end
Make system -> public API

Test: atest FrameworksTelephonyTests
Bug: 150127236
Change-Id: I140477b2778158646dbbcb0d2a32033c61bb97e4
2020-02-28 15:13:16 -08:00
TreeHugger Robot
78481dce89 Merge "Throw ProtoParseException for incomplete values" into rvc-dev 2020-02-28 22:59:52 +00:00
Winson
3802e39d76 Convert IntentResolver data object to IntentFilter for comparison
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
2020-02-28 14:39:55 -08:00
Fabian Kozynski
4e618138a9 Merge "Iterate over a copy in QSTileHost#changeTiles" into rvc-dev 2020-02-28 22:26:20 +00:00
Xiangyu/Malcolm Chen
8972b83893 Merge "Re-order parameters of setUiccApplicationsEnabled." into rvc-dev 2020-02-28 22:22:26 +00:00
TreeHugger Robot
5f3331df90 Merge "Mark NonNull for canManageSubscription parameters." into rvc-dev 2020-02-28 22:17:28 +00:00
TreeHugger Robot
01f0e8f0c3 Merge "Make createLocationInfoSanitizedCopy as @hide." into rvc-dev 2020-02-28 22:16:45 +00:00
Julia Reynolds
575e0885d2 Fix issue with history deletion
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
2020-02-28 22:16:23 +00:00
Julia Reynolds
6703001662 Fix crash & history text
- 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
2020-02-28 17:15:04 -05:00
Fabian Kozynski
ec92e69e26 Add id for PagedTileLayout
Add an id so the element can be found by ui tests

Test: mp sysuig
Bug: 150467479
Change-Id: I2657b8d5baee88d3866717fc72d3ad47abdb358b
2020-02-28 17:14:04 -05:00
Bernardo Rufino
0a7ced1dd3 Show toasts from system/sysUI to all users
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)
2020-02-28 21:42:36 +00:00
TreeHugger Robot
f9de0572fb Merge "Adding postsubmit tests for JobScheduler." into rvc-dev 2020-02-28 21:41:56 +00:00
TreeHugger Robot
dae05e10a5 Merge "Add comments to messageId, subMessageId and data" into rvc-dev 2020-02-28 21:38:46 +00:00
Ytai Ben-tsvi
2cba965676 Merge "Pass models to soundtrigger middleware with shared memory" into rvc-dev 2020-02-28 21:29:53 +00:00
Rahul Sabnis
7f6bfd9dc1 Update javadoc to reflect that BluetoothPbap#setConnectionPolicy returns
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
2020-02-28 13:13:51 -08:00
Bernardo Rufino
9b256a210d Merge "Unify toast presentation code" into rvc-dev 2020-02-28 21:09:36 +00:00
Rob Carr
228376091d Merge "Fix typo in SurfaceControlViewHost relayout overload" into rvc-dev 2020-02-28 21:06:34 +00:00
Ytai Ben-Tsvi
d5065ba8a5 Pass models to soundtrigger middleware with shared memory
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
2020-02-28 13:01:24 -08:00
Kenny Root
3e5a0605cf Merge changes Ief1cac19,Ibc9236a1 into rvc-dev
* changes:
  Resume-on-Reboot: add storage for armed status
  LockSettingsService: move database storage
2020-02-28 20:49:29 +00:00
Kenny Root
ea134edcd5 Resume-on-Reboot: add storage for armed status
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
2020-02-28 20:48:46 +00:00
Kenny Root
a486e2d780 LockSettingsService: move database storage
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
2020-02-28 20:48:13 +00:00
TreeHugger Robot
ae5a3ee6df Merge "Fix some javadoc issues." into rvc-dev 2020-02-28 20:18:28 +00:00
Rubin Xu
099d56392f Merge "Fix DevicePolicyManagerServiceMigrationTest" into rvc-dev 2020-02-28 20:16:23 +00:00
TreeHugger Robot
b4c187f5ce Merge changes from topic "iorap-snap" into rvc-dev
* changes:
  iorap: Increase the JobScheduledEvent#TYPE_MAX to 1.
  startop: Fix a bug in iorap functional test.
2020-02-28 20:14:01 +00:00
TreeHugger Robot
e45165523b Merge "iorap: Increase timeout from 66sec to 30min for iorap-functional-tests" into rvc-dev 2020-02-28 19:55:39 +00:00
Kweku Adams
dbcb0378d1 Adding postsubmit tests for JobScheduler.
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)
2020-02-28 11:45:29 -08:00
Yu-Han Yang
c0fe2bac01 Add comments to messageId, subMessageId and data
Bug: 147768625

Test: doc only and builds
Change-Id: I4a75d0cb015c47caaeaf93acffbca34d9eaea523
2020-02-28 11:39:47 -08:00
Taran Singh
7ac48bae21 Merge "Fix controlWindowInsets for IME" into rvc-dev 2020-02-28 19:34:01 +00:00
Tarandeep Singh
b9538cdfff Fix controlWindowInsets for IME
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
2020-02-28 19:33:11 +00:00
Xiangyu/Malcolm Chen
7d1b787c8a Merge "Print carrier config access rules properly" into rvc-dev 2020-02-28 19:32:31 +00:00
Automerger Merge Worker
f012c5eef7 Merge "Use status_bar_padding_top in QS system icons" into qt-qpr1-dev am: 42e5ebf0f9
Change-Id: Ic6b311288bc38ce1d54e060002972ac74311a66a
2020-02-28 19:24:58 +00:00
TreeHugger Robot
42e5ebf0f9 Merge "Use status_bar_padding_top in QS system icons" into qt-qpr1-dev 2020-02-28 19:08:44 +00:00
Matt Pietal
e4beb133e6 Merge changes I7ac3a378,Id06a24d2 into rvc-dev
* changes:
  Controls API - Docs + method name change
  Controls API - Publisher change - Phase 2
2020-02-28 19:06:28 +00:00