Commit Graph

635992 Commits

Author SHA1 Message Date
Sarah Chin
d86b2e7c6d Add URSP matching failures as permanent failures
Prevent retry and continuous set up/fail loop.

Test: build
Fix: 185609488
Change-Id: I641ff0a9f6d96ba2bcc07cfebf54205d46e0e5ef
2021-04-16 15:59:50 -07:00
Siim Sammul
ac6f5ee927 Merge "Add dplotnikov and gaillard as owners for binder proto file too." am: 0c67225999 am: d3404b3c64 am: 6cebda3718
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675889

Change-Id: I2bba3c67462f4191f90181c6a16c17297c430bfc
2021-04-15 23:37:53 +00:00
Siim Sammul
6cebda3718 Merge "Add dplotnikov and gaillard as owners for binder proto file too." am: 0c67225999 am: d3404b3c64
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675889

Change-Id: Ifb3927030a449e5f6daa7a34e673b955714de58b
2021-04-15 22:56:51 +00:00
Automerger Merge Worker
2363862360 Merge "[automerger skipped] Merge "OOB generateLocalOobData" am: 3a4f319145 am: bb6ea3457c am: 5a9fcc3d76 -s ours" into sc-dev 2021-04-15 22:48:25 +00:00
TreeHugger Robot
8d4b0ccbd8 Merge "Update gpay icon on keyguard visibility" into sc-dev 2021-04-15 22:48:17 +00:00
Treehugger Robot
07e439e1c1 [automerger skipped] Merge "OOB generateLocalOobData" am: 3a4f319145 am: bb6ea3457c am: 5a9fcc3d76 -s ours
am skip reason: skip tag Change-Id I2d4167a6c92ee0cc24da12df206838161c8f3318 with SHA-1 ba2c904f8d is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677745

Change-Id: Ie353ad0084ce116285dfef430a5c4d29ad5e3e56
2021-04-15 22:48:15 +00:00
TreeHugger Robot
e438034aee Merge "Phase 1 of status bar system event animations" into sc-dev 2021-04-15 22:46:11 +00:00
Siim Sammul
d3404b3c64 Merge "Add dplotnikov and gaillard as owners for binder proto file too." am: 0c67225999
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675889

Change-Id: Ic704bca33a496656e6c58d8b67499c796d3349de
2021-04-15 22:32:04 +00:00
Treehugger Robot
5a9fcc3d76 Merge "OOB generateLocalOobData" am: 3a4f319145 am: bb6ea3457c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677745

Change-Id: Idcbf693aa6336aea76c0fa7d97262132c0cdeb8a
2021-04-15 22:19:43 +00:00
Chavi Weingarten
e6791edbbf Merge "Update Wallpaper to use BLAST" into sc-dev 2021-04-15 22:05:37 +00:00
Siim Sammul
0c67225999 Merge "Add dplotnikov and gaillard as owners for binder proto file too." 2021-04-15 21:51:23 +00:00
TreeHugger Robot
123079969d Merge "Fix size calculation" into sc-dev 2021-04-15 21:37:59 +00:00
TreeHugger Robot
92716ec4ed Merge "Do not hold indicators for apps that become paused" into sc-dev 2021-04-15 21:35:10 +00:00
Erik Wolsheimer
404920ea6b Merge "Revert "Increase MAX_ATTRIBUTIONS to 10000"" into sc-dev 2021-04-15 21:20:25 +00:00
Beverly
b28ccdd2b4 Update gpay icon on keyguard visibility
- only show gpay icon on LS if cards exist

Test: manual
Fixes: 185490957
Change-Id: I53bf1633322406ae42f4eeb9153fbd903c01fd29
2021-04-15 21:19:59 +00:00
TreeHugger Robot
9863f6343b Merge "Exempting prioritized alarms from min_window" into sc-dev 2021-04-15 21:06:12 +00:00
TreeHugger Robot
a9d0dfcd90 Merge "Clean up ComponentController and fix some bugs." into sc-dev 2021-04-15 21:01:42 +00:00
Zhen Zhang
69f97fa19a Merge "Log hibernation state with AppStartOccurred atom" into sc-dev 2021-04-15 20:58:26 +00:00
TreeHugger Robot
541aa2ce6b Merge "Add log detail on throttling events" into sc-dev 2021-04-15 20:58:22 +00:00
Treehugger Robot
bb6ea3457c Merge "OOB generateLocalOobData" am: 3a4f319145
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677745

Change-Id: I8317187de5b6a2d5d9ae4deb01509dd2e0fd4fef
2021-04-15 20:55:01 +00:00
Alexander Dorokhine
9e0828111f Merge "Remove remaining uses of Preconditions.checkNotNull." into sc-dev 2021-04-15 20:54:10 +00:00
hkuang
f7d8ad2a8a transcoding: Actually hide the isSlowMotionSupported api.
Bug: 169965769
Test: atest  CtsMediaTranscodingTestCases:MediaTranscodeManagerTest
Change-Id: Ie0ac848516cc3fbd22e86c66a8e6b00c0a3606d3
2021-04-15 20:23:02 +00:00
TreeHugger Robot
4b280f2955 Merge "Add device config tests to GameManagerServiceTests" into sc-dev 2021-04-15 20:20:29 +00:00
chaviw
1e16caa255 Update Wallpaper to use BLAST
Test: Wallpaper still works
Bug: 170765639
Change-Id: I97a3f412035e1e2977bdefd2389084a74b568f82
2021-04-15 15:10:07 -05:00
Treehugger Robot
3a4f319145 Merge "OOB generateLocalOobData" 2021-04-15 20:00:44 +00:00
Yuri Lin
05f4f582b8 Merge "Add method to remove file from history based on matching file path." into sc-dev 2021-04-15 20:00:22 +00:00
Sarah Chin
af7af06b80 Merge "Add new data fail causes for ENTERPRISE failures" into sc-dev 2021-04-15 19:57:49 +00:00
TreeHugger Robot
6728857aaf Merge "[Telephoy] Add phone Id to support DSDS" into sc-dev 2021-04-15 19:55:10 +00:00
Jorge Moreira Broche
ac9d5cd7ec Revert "Increase MAX_ATTRIBUTIONS to 10000"
This reverts commit f9933b7d18.

Reason for revert: b/185482967

Change-Id: If0700210ce79b42cf8e80946a6c23b82ea99469e
2021-04-15 19:47:43 +00:00
Donald Chai
1430546720 Merge "Fix typo" am: 6b5e6bba9b am: f3fcd261ee am: afa759cd3e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676087

Change-Id: I4314a44429c15068058251d52d3cfaa34e3213b5
2021-04-15 19:27:06 +00:00
Kweku Adams
d9701f80e1 Clean up ComponentController and fix some bugs.
1. Only log a package-not-found error if the user has been unlocked. If
   the user is still locked, it's reasonable to get a package-not-found
   exception for persisted direct-boot-unaware jobs.
2. Actually log the cache for debugging purposes.
3. Only update the package info for the user the package changed in.
4. Also update the cache when an app is updated.
5. Clean up the cache when an app is uninstalled or a user is removed.
6. Make sure locked methods are annotated and named correctly.

Bug: 141645789
Bug: 184346794
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest CtsJobSchedulerTestCases
Change-Id: I570fe874ec3491f61c7eaf1d1c964a7dce9d7998
2021-04-15 12:25:16 -07:00
TreeHugger Robot
96501c47e4 Merge "Change AppSearchManagerService's thread pool to use LinkedBlockingQueue." into sc-dev 2021-04-15 19:22:30 +00:00
Mark Renouf
d389165bd6 Merge changes I3a11ac86,I84e0b1fd into sc-dev
* changes:
  ScrollCaptureConnection: fix npe on close() when active
  Scroll Capture: Add configurable post-scroll capture delay
2021-04-15 19:19:27 +00:00
Ady Abraham
fac5a8023f Merge "Choreographer: add more traces" into sc-dev 2021-04-15 19:17:28 +00:00
Jeff Sharkey
dfe5f0c26f Merge "Temporary stop-gap for Chrome target SDK issue." into sc-dev 2021-04-15 19:04:57 +00:00
Jeff Sharkey
c6be9fe470 Temporary stop-gap for Chrome target SDK issue.
The Chrome team was planning to provide a new prebuilt SDK last week
which returned to targeting the official R SDK level, but other
challenges prevented them from doing so.

They still intend to land an updated prebuilt which targets R, but
to unblock testing this change makes that change on their behalf;
when we see a very specific Chrome version code we force the target
SDK back to R.  This code will safely become a no-op during their
next prebuilt, which should have a different version code.

Bug: 183905675
Test: manual
Change-Id: I211e7550f489294f90d8729b518ec9a70a37ec96
2021-04-15 13:03:25 -06:00
Donald Chai
afa759cd3e Merge "Fix typo" am: 6b5e6bba9b am: f3fcd261ee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676087

Change-Id: I933a3bba4bf54759c015772455372be3a2ab64f1
2021-04-15 18:37:11 +00:00
Martin Brabham
76a512f958 OOB generateLocalOobData
unhide @SystemApi callback methods

Bug: 178007935
Tag: #feature
Test: compiles
Change-Id: I2d4167a6c92ee0cc24da12df206838161c8f3318
Merged-In: I2d4167a6c92ee0cc24da12df206838161c8f3318
2021-04-15 18:36:06 +00:00
Fabian Kozynski
60864b944e Do not hold indicators for apps that become paused
If an app op becomes "paused" (microphone muted or disabled by toggle),
remove the indicator immediately as opposed to holding for 5s.

Also, pass the value that we are using for mic muted to
PermissionManager, so they are in sync.

Test: atest SystemUITests
Test: manual
Fixes: 184891081
Change-Id: I4d46fc6e1cefa45c0d718cc01f40c8f060dafee7
2021-04-15 14:22:39 -04:00
TreeHugger Robot
ca6a54ed9b Merge "Anchoring bottom of notifications scrim in split shade mode" into sc-dev 2021-04-15 18:22:11 +00:00
John Reck
afd7bc6081 Merge "Add GL_CHECKPOINT before invoking webview" into sc-dev 2021-04-15 18:19:19 +00:00
Yuri Lin
8b08e82d31 Add method to remove file from history based on matching file path.
NotificationHistoryDatabase sometimes attempts to read a file that doesn't exist; this happens because scheduled history file deletions (for files >24h old) weren't correctly removing AtomicFiles from the mHistoryFiles list due to using the built in LinkedList remove() method. The new method explictly removes the first file in history matching the file path deleted, rather than attempting to use AtomicFile equality.

Test: atest NotificationHistoryDatabaseTest; manually verified that NotiHistoryDatabase stopped erroring
Fixes: 185257041
Change-Id: I56c4a3293166a84e29920afe5549171becdaa496
2021-04-15 14:12:03 -04:00
Mariia Sandrikova
97a0080178 Merge "Letterbox positioning (3/3): Configurable horizontal position." into sc-dev 2021-04-15 18:09:20 +00:00
John Reck
dc323f27ad Fix size calculation
size is in bytes

Fixes: 185429940
Test: builds
Change-Id: Ib80eecd9ee8830877cfd9861d7126201d88d3f32
2021-04-15 14:04:15 -04:00
Alexander Dorokhine
abf6490b24 Remove remaining uses of Preconditions.checkNotNull.
This is a hidden API and is not compatible with becoming a mainline
module.

Bug: 181787682
Bug: 181096312
Test: Builds
Change-Id: Ic59b8e62eb2e1852a820203b770e2483c3fe53f4
2021-04-15 10:59:55 -07:00
TreeHugger Robot
252d85cffb Merge "Add intra-package job concurrency limits." into sc-dev 2021-04-15 17:51:49 +00:00
TreeHugger Robot
e6c98e887c Merge "Improve PackageManager snapshot statistics" into sc-dev 2021-04-15 17:48:29 +00:00
Lyn Han
14af8e97dd Merge "Expand notifications like accordian" into sc-dev 2021-04-15 17:42:51 +00:00
Lyn Han
99c6925338 Expand notifications like accordian
Show all notifications in the same section at the same time.

On each invocation of StackScrollAlgorithm
- compute fraction of section showing based on current expansion amount
- apply that fraction to each view's intrinsic height

The notification icon shelf no longer slides down from top of screen,
instead it shows if the notification section before it is showing.

Bug: 172289889

[Test accordian effect]
Test: open shade with single section, no shelf
Test: open shade with single section, silent section, no shelf
Test: open shade with first section overflowing into shelf
Test: open shade with first section, silent section overflowing into shelf
Test: open shade with no notifications (empty shade view)
Test: open shade with shelf, scroll notifications, then close shade
  => accordian effect applies to scrolled state

[Test for regressions]
Test: add/remove delayed notification that arrives while shade opens
  => animation instantly updates for new notifs (while expansion runs)
Test: open shade from heads up notification
Test: open shade from pulsing (incoming notif on aod)
Test: open shade from lockscreen

Change-Id: If3236b9dc202ee75db7cac51a66c49620556ec10
2021-04-15 17:41:57 +00:00
Ilya Matyukhin
5c3e1245e9 Merge "Update TestHal with new getFeatures/setFeature" into sc-dev 2021-04-15 17:35:30 +00:00