Commit Graph

588326 Commits

Author SHA1 Message Date
Jeff DeCew
858ad2ac33 Minimize use of header in adjusting notification colors.
Also adds support for 'inverted' icons.

Test: atest SystemUITests
Test: manual testing of numerous notification configurations
Change-Id: I6fd9aeec9f5971495d514add2bbb30b50db7d3c1
2020-10-21 10:32:19 -04:00
Jeff DeCew
73e65d4291 Remove setExpanded from the NotificationHeaderView
Test: atest SystemUITests
Change-Id: I296e9d530d2c0ba581828dee0dc2026df0e38c3c
2020-10-21 09:57:07 -04:00
Yuncheol Heo
df6efd50bd Merge "Add ReadViewCameraViewController/Mediator." 2020-10-21 00:53:54 +00:00
Hangyu Kuang
a4fc0b078c Merge "Avoid transcoding in MediaPlayers" 2020-10-21 00:23:13 +00:00
Eugene Susla
6e5b3f6885 Merge "Make CDM call from sys server oneway" 2020-10-21 00:14:31 +00:00
Jing Ji
e4dd0e4c42 Merge "Make a copy of WorkSources before noting the battery stats" 2020-10-21 00:10:25 +00:00
TreeHugger Robot
cd3296568a Merge "Apply FLAG_IMMUTABLE to various PendingIntents." 2020-10-21 00:09:58 +00:00
Ameer Armaly
d681a590c7 Merge "Add API to record touch interactions." 2020-10-21 00:02:43 +00:00
Ameer Armaly
b6fafa6052 Add API to record touch interactions.
Bug: 159651900
Test: manually enable the flag and turn on debugging. Observe motion events being dispatched as part of the AccessibilityGestureEvent.
Change-Id: Ia27dcfd3b3fe0af423d9b10054ba69a6914e0f78
2020-10-21 00:00:30 +00:00
TreeHugger Robot
89c8ce4e37 Merge "Have createRootTask return TaskAppearInfo" 2020-10-20 23:57:07 +00:00
Yan Yan
7c1ee608eb Merge "Require devices with first sdk 0 or later to support mandatory algorithms" am: a09d15adb3 am: bf50daf5dd am: 0c78f23757 am: 583415a5b1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468662

Change-Id: Ica06a3a4c3695052f554056caab603a857b4e9b2
2020-10-20 23:51:20 +00:00
Treehugger Robot
d64e95eae7 Merge "Remove redundent call." am: 491328c9e3 am: 793bb37c19 am: b0e1f4aa5d am: 4226f33222
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1398275

Change-Id: I4a6c30f7bfb1e047449f83ae6f90cd596f11d62c
2020-10-20 23:51:04 +00:00
TreeHugger Robot
9614b2e8da Merge "Dismiss ScreenRecordDialog when test finishes" 2020-10-20 23:41:00 +00:00
Rob Carr
87318d6322 Merge "BLASTBufferQueue JNI: Call getSurface" 2020-10-20 23:40:14 +00:00
Yan Yan
583415a5b1 Merge "Require devices with first sdk 0 or later to support mandatory algorithms" am: a09d15adb3 am: bf50daf5dd am: 0c78f23757
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468662

Change-Id: Ibf64266be25b06664bede24f6aa8464c21de8426
2020-10-20 23:35:19 +00:00
Treehugger Robot
4226f33222 Merge "Remove redundent call." am: 491328c9e3 am: 793bb37c19 am: b0e1f4aa5d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1398275

Change-Id: I67f59b41618277e6b9138b7b1625369b71b6d6a1
2020-10-20 23:35:06 +00:00
TreeHugger Robot
fb7eb2e633 Merge "PiP: Update DisplayInfo and movement bounds if display is different." 2020-10-20 23:13:03 +00:00
Yan Yan
0c78f23757 Merge "Require devices with first sdk 0 or later to support mandatory algorithms" am: a09d15adb3 am: bf50daf5dd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468662

Change-Id: I6cc664926bf6843093cdfa66f85a469c0824d84e
2020-10-20 23:12:10 +00:00
Treehugger Robot
b0e1f4aa5d Merge "Remove redundent call." am: 491328c9e3 am: 793bb37c19
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1398275

Change-Id: Ib66932f8799d53b36349029e8cf6dd2a31d99c75
2020-10-20 23:11:49 +00:00
Yan Yan
bf50daf5dd Merge "Require devices with first sdk 0 or later to support mandatory algorithms" am: a09d15adb3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468662

Change-Id: I2a1f2e2b6e88610e5a01907cfec90fe144467cc7
2020-10-20 22:49:51 +00:00
Treehugger Robot
793bb37c19 Merge "Remove redundent call." am: 491328c9e3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1398275

Change-Id: Iec2e4ce90f0fb4318381d747fd471607325d1f20
2020-10-20 22:45:16 +00:00
Lyn Han
c6ac5e15cb Merge "Polish bubble flyout fade transitions" 2020-10-20 22:40:12 +00:00
Yan Yan
a09d15adb3 Merge "Require devices with first sdk 0 or later to support mandatory algorithms" 2020-10-20 22:33:37 +00:00
Treehugger Robot
491328c9e3 Merge "Remove redundent call." 2020-10-20 22:27:38 +00:00
Jeff Sharkey
864524af17 Apply FLAG_IMMUTABLE to various PendingIntents.
Some careful spot-checking has revealed common cases where it's
reasonable to blanket apply the new FLAG_IMMUTABLE option to newly
created PendingIntents.  Specifically these situations:

-- Simple notification content clicks are immutable; there's no need
to communicate customized data back to the creator
-- Simple notification action clicks are immutable; there's no need
to communicate customized data back to the creator
-- Broadcast intents sent by AlarmManager are immutable; the system
dispatches them without customization.

Bug: 170165227, 170424283, 170425388, 170425877
Bug: 169791183, 170771965, 170226088, 170224928, 170767530
Test: none
Change-Id: I5ed68710d2ccad4635a30fd91136a9e6ad76a01d
2020-10-20 16:20:54 -06:00
TreeHugger Robot
9953820593 Merge "Fixed CursorWindow signed math for x86 builds." 2020-10-20 22:16:12 +00:00
Yan Yan
19b6965864 Require devices with first sdk 0 or later to support mandatory algorithms
It is safe because these mandatory algorithms are already required
before new algorithms are added

It is also a quick fix to unblock b/171279612, whose root cause is
the device first sdk is wrong

Bug: 171279612
Test: atest CtsNetTestCases:IpSecManagerTest
Change-Id: I5b9d85b2bc8f13f54467c97160d138a4628265f7
2020-10-20 15:12:30 -07:00
TreeHugger Robot
c60c76caf0 Merge "Minimize exposure of NotificationHeaderView; prefer NotificationViewWrapper." 2020-10-20 22:02:23 +00:00
Dave Mankoff
311a1510b7 Merge changes from topic "b168904199-qs-injection"
* changes:
  5/N Rename QSFooterImpl to QSFooterView
  4/N Remove ActivityStarter from QSFooterImpl.
  3/N Remove DevProvCtrl & UserTracker from QSFooter
  2/N Move UserInfoController out of QSFooterImpl
  1/N Add Controller for QSFooter
2020-10-20 21:55:53 +00:00
Sally Yuen
fa47d246b0 Merge "make RBC string non-translatable" 2020-10-20 21:45:18 +00:00
Kevin Chyn
e89674f9d8 Merge "Add missing parameters to notifyAcquired and notifyError" 2020-10-20 21:32:39 +00:00
Zim
95c8a18133 Avoid transcoding in MediaPlayers
Test: Manual
Bug: 158466177
Change-Id: I71776e1e81002b1505f5094c92fdd10706d1268e
2020-10-20 22:26:22 +01:00
Treehugger Robot
e30e78ffb6 Merge "Add initial unit tests for HdmiCecMessageValidator" am: 95d5d13bb5 am: 005dec645b am: 5b25b120c5 am: cf9a6dce7d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1452497

Change-Id: I3ec3b91f5b2f08a95b07a113a4e40e372fcf5efd
2020-10-20 21:23:08 +00:00
Anton Hansson
b8c0b344af [automerger skipped] Merge "Remove @TestApi from @SystemApi symbols" am: d2d4637685 am: cbe282347e am: 14897c256d am: 24b4d166dd -s ours
am skip reason: Change-Id I772790b783b0a8730b8bf680c9e569a886b8d789 with SHA-1 ee8c25823d is in history

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

Change-Id: Ic5423c394cfa3e489ec2f6f6d043afdadb19d9e9
2020-10-20 21:22:43 +00:00
Chiachang Wang
f2a363881e Merge "Remove unused MockableSystemProperties from DnsManager constructor" am: 3e23d7271b am: 250a9d3d20 am: 04dede7600 am: 8a60923e76
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466231

Change-Id: Id0b0b33e8156831222968ca68f289d206787d635
2020-10-20 21:22:27 +00:00
Yegor Malyshev
71a27414b2 [automerger skipped] Merge "Support animation parts fading out" am: 21819ef3b6 am: 648a4c2ea4 am: 858986161e am: 660268ab4b -s ours
am skip reason: Change-Id I9b200ee7107ef9b3dc8d711658ed1042b83739c2 with SHA-1 6925e1bde0 is in history

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

Change-Id: I43f34ce71a5a8dd822d8cf9ba204d92391d13689
2020-10-20 21:22:06 +00:00
Yi Kong
965fc98b8f Merge "profcollectd: OTA Observer" am: 14a7d344a4 am: ebd04e98ee am: 6f99c0e76a am: 4bd5549302
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466225

Change-Id: I7b7ad794dec5ed32677eb70ba080ae7eb41b7b8d
2020-10-20 21:21:49 +00:00
Aaron Huang
32441242dd [automerger skipped] Merge "Create service-connectivity.jar" am: bfceacea50 am: b91257f553 am: 5b03885d43 am: f7ebb0c0e4 -s ours
am skip reason: Change-Id Ie732bfaf381404af0bb599ca2f421a96e7aa4257 with SHA-1 e6f27dd738 is in history

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

Change-Id: I431314b5ee4a18c462850c21a7dabc00da89016e
2020-10-20 21:20:31 +00:00
Treehugger Robot
82806a1bdc Merge changes Ie238e8e5,I113e33a7 am: 5dbc2cd15d am: e349439f69 am: ea6304aa95 am: 95b3fe3a3e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1455079

Change-Id: Ife87ef484729cf48b8a88556028573d8103c5bf7
2020-10-20 21:19:34 +00:00
Treehugger Robot
1fcd0fc982 [automerger skipped] Merge "Merge redfin/bramble support." am: b0c41a1b0c -s ours am: 4fbdfd3231 -s ours am: a41aeca464 -s ours am: f39592fb81 -s ours
am skip reason: Change-Id I25b60e5225247a335cdc0dcd751de47374cdcfbb with SHA-1 35a2a4c3fd is in history

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

Change-Id: Ieb49e8cdebd1491e66179a6d27113598dbca6fb5
2020-10-20 21:08:07 +00:00
Liz Kammer
66d0c8d384 [automerger skipped] Merge "Do not change resources table for overriding apps" into mainline-prod am: f5759da7a2 -s ours
am skip reason: Change-Id Ic7a5a9d8e3ffb60d0b9d4f4fda07946c64179e45 with SHA-1 8fe674491b is in history

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

Change-Id: Ibf68beb8e58f3ce98056de8fb1f29f603d56a9e8
2020-10-20 20:47:55 +00:00
TreeHugger Robot
fac9815386 Merge changes from topic "window_context"
* changes:
  Use WindowContext in GlobalScreenshot
  scrollCapture: Avoid crash if host window doesn't exist
  Refactor names of internal scrollcapture interfaces
2020-10-20 20:42:08 +00:00
Adam He
b39ce19322 Merge "Remove CountDownLatch from AssistReceiver." 2020-10-20 20:36:55 +00:00
Adam He
25a55b6e1b Merge "Misc small changes in Session.java." 2020-10-20 20:36:00 +00:00
Chi Zhang
f5c72d3695 Merge "Add telephony service state atom to statsd." 2020-10-20 20:33:18 +00:00
Treehugger Robot
cf9a6dce7d Merge "Add initial unit tests for HdmiCecMessageValidator" am: 95d5d13bb5 am: 005dec645b am: 5b25b120c5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1452497

Change-Id: I4f5556d52e74694cd3637d4e1943abd2c3a1869a
2020-10-20 20:32:14 +00:00
Anton Hansson
24b4d166dd Merge "Remove @TestApi from @SystemApi symbols" am: d2d4637685 am: cbe282347e am: 14897c256d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466264

Change-Id: I859503688ea3254d5bd1b55e80cf1962286e948f
2020-10-20 20:31:58 +00:00
Chiachang Wang
8a60923e76 Merge "Remove unused MockableSystemProperties from DnsManager constructor" am: 3e23d7271b am: 250a9d3d20 am: 04dede7600
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466231

Change-Id: I88c08a92dafdcb4d40374068d6f9466f5b57c819
2020-10-20 20:31:23 +00:00
Yegor Malyshev
660268ab4b Merge "Support animation parts fading out" am: 21819ef3b6 am: 648a4c2ea4 am: 858986161e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466262

Change-Id: I12887abcae65f27d5a8c8b19acbbf63ea4833ff0
2020-10-20 20:31:09 +00:00
Jing Ji
68778ba87d Make a copy of WorkSources before noting the battery stats
The battery stats are noted asynced, the work sources could be
mutated before they are actualy recorded into battery stats.
So make a copy of them prior to the noting.

Bug: 169573447
Test: atest FrameworksCoreTests:BatteryStatsTests
Test: atest CtsIncidentHostTestCases
Test: atest BatteryStatsDumpsysTest
Change-Id: I6326f7d66f9590ce544fc491fda07cd4397ef804
2020-10-20 13:30:28 -07:00