Commit Graph

469090 Commits

Author SHA1 Message Date
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
TreeHugger Robot
78481dce89 Merge "Throw ProtoParseException for incomplete values" into rvc-dev 2020-02-28 22:59:52 +00: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
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
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
Peter Wang
879f32b1cc Merge "[API Review] Expose sendOrderedBroadcast" into rvc-dev 2020-02-28 19:05:26 +00:00
Fabian Kozynski
f482c100db Merge "Use the correct user context in CustomTile" into rvc-dev 2020-02-28 19:05:17 +00:00
Jovana Knezevic
a0eed34ecb Merge "Fixes switch-user -w command." into rvc-dev 2020-02-28 19:04:15 +00:00
Ruchir Rastogi
06d2fe8d83 Merge "Fix LogEventQueue_tests" into rvc-dev 2020-02-28 18:20:07 +00:00
Yan Wang
be178769ad iorap: Increase the JobScheduledEvent#TYPE_MAX to 1.
Fixes system_server crashes at the end of a job (in #onStopJob)
by correcting the MAX type number.


Bug: 148191073
Test: make
Change-Id: I12b0c65a0b3ad7ab3277a94f51fa2e71d323f862
(cherry picked from commit aa1ac93094)
2020-02-28 18:08:46 +00:00
Yan Wang
6411a3353d startop: Fix a bug in iorap functional test.
The prefetching work runs on another process.
Grep everything to workaround it.

Bug: 137403231
Test: atest iorap-functional-tests
Change-Id: Iac1796cb22f0db83ac5ebd78cb40e5cc5ac3a930
(cherry picked from commit 7d76f014eb)
2020-02-28 18:08:24 +00:00
Igor Murashkin
a52f95e589 iorap: Increase timeout from 66sec to 30min for iorap-functional-tests
inode2filename is a bit slower now so it takes a while for the compiler
to finish. Increase timeout to compensate.

Bug: 150462358
Test: atest iorap-functional-tests
Change-Id: If1e017ad3c2c441b96dceadd91eb340fdf24302c
2020-02-28 10:01:59 -08:00
TreeHugger Robot
c8bb1b3286 Merge "Prevent NPE in CustomTile" into rvc-dev 2020-02-28 18:01:02 +00:00
TreeHugger Robot
97ce4799af Merge "DisplayModeDirector: use configGroup when choosing default config" into rvc-dev 2020-02-28 17:43:40 +00:00
Rubin Xu
e07acdd3bf Fix DevicePolicyManagerServiceMigrationTest
Fix: 149818286
Test: atest com.android.server.devicepolicy.DevicePolicyManagerServiceMigrationTest
Change-Id: I76846fb72c52017fbd6971a41e5dd218d6b9b327
2020-02-28 17:29:15 +00:00
Dmitri Plotnikov
9e0ea0c953 Merge "Allow blocking calls to InstrumentationWatcher" into rvc-dev 2020-02-28 17:29:13 +00:00
Paul Chang
1a44ed3a18 Improvements to Bugreporting API.
- Show a toast to indicate screenshot is taken.

BUG:149525300
Test: Flash and press bug report shortcut and check the toast
Change-Id: Ib210c8855d2b588b51f883e32070c8b748ea4e3f
Merged-In: Ib210c8855d2b588b51f883e32070c8b748ea4e3f
2020-02-28 17:14:48 +00:00
Paul Chang
46ab985f41 Clean up code of starting bug report
- Let screenshot fd be null if Shell doesn't want to take default screenshot when bug report is triggered.

BUG:149525300
Test: Flash and test interactive/full bugreports generated using Shell, and Shell flow does not break during tests
Change-Id: I50908af63d74ed66156354ec0b5a237f7131061a
Merged-In: I50908af63d74ed66156354ec0b5a237f7131061a
2020-02-28 17:14:11 +00:00
Jay Aliomer
b86cf15c28 Merge "Battery saver dark mode bug" into rvc-dev 2020-02-28 17:01:39 +00:00
Zhen Zhang
d113c5e037 Merge "Fix Sharesheet grid items not aligned issue" into rvc-dev 2020-02-28 16:59:05 +00:00
Heemin Seog
dfb1fe98af Merge "Generalize AutoHideController to be shared" into rvc-dev 2020-02-28 16:55:28 +00:00