Commit Graph

590747 Commits

Author SHA1 Message Date
Treehugger Robot
331aa35d2e Merge "Avoid NullPointerException on non-existing file." am: 5db706a48f am: 2cf1c81e8b am: 9328409c4c am: e633b4095c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1488698

Change-Id: Id7436bf23606e4c21dc1e2311da88ab9f0e8ac11
2020-11-05 20:17:41 +00:00
Tyler Gunn
7c7bb03e41 Merge "Add support for DTMF and RTP header extension communications." am: 49612b38d8 am: 884d18b7d1 am: b18d3a92c8 am: e7fe523116
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1487449

Change-Id: I364fc7f2acddbab01a8f1f56ab990abe69ef51b7
2020-11-05 20:16:48 +00:00
Anton Hansson
69c054d0d4 [automerger skipped] resolve merge conflicts of 8e6e52ec8b to rvc-qpr-dev-plus-aosp am: dc1367d460 -s ours
am skip reason: Change-Id I2bd1fa5bac6b35096b3059f93d68ef24b7a464e5 with SHA-1 022aac54d2 is in history

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

Change-Id: I7d96faf8be2892cac8153bec7111df9339153d39
2020-11-05 20:16:11 +00:00
TreeHugger Robot
9196f07279 Merge "Fix NPE when QSPanel not yet attached," 2020-11-05 20:09:23 +00:00
Treehugger Robot
e633b4095c Merge "Avoid NullPointerException on non-existing file." am: 5db706a48f am: 2cf1c81e8b am: 9328409c4c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1488698

Change-Id: Iebdb59ab2cb0db26a2ff5106b9ef030ad5131704
2020-11-05 20:07:47 +00:00
Tyler Gunn
e7fe523116 Merge "Add support for DTMF and RTP header extension communications." am: 49612b38d8 am: 884d18b7d1 am: b18d3a92c8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1487449

Change-Id: Id3ccaaa4f6d55d24620711b90e014c4058bba7d9
2020-11-05 20:06:57 +00:00
TreeHugger Robot
0acea76d1f Merge "Fixing TaskStackChangeListeners not visible in Launcher" 2020-11-05 20:04:46 +00:00
Anton Hansson
dc1367d460 resolve merge conflicts of 8e6e52ec8b to rvc-qpr-dev-plus-aosp
Bug: 171029603
Change-Id: Ie846f5b9bc1ee906fc6f01d05899fddfd1918266
Merged-In: I2bd1fa5bac6b35096b3059f93d68ef24b7a464e5
2020-11-05 19:59:32 +00:00
TreeHugger Robot
c9437808ae Merge "Convert to androidx.test from android-support-test." 2020-11-05 19:55:32 +00:00
TreeHugger Robot
ac556e8d6a Merge "Double speed of Parcel.writeString()." 2020-11-05 19:52:34 +00:00
TreeHugger Robot
82a5288955 Merge "Remove android-support-test from InputTests." 2020-11-05 19:14:14 +00:00
Jeff DeCew
3b9c996eaa [automerger skipped] Fix non-dismissible resumption players. am: 36fc7e464e am: 1f419e4ddf -s ours
am skip reason: Change-Id I186f9ee6fc228ad5bd1d49970fb44709783b74dc with SHA-1 656e986464 is in history

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

Change-Id: I295268e2dc95d783197e44b80ad080fcf686b94f
2020-11-05 19:02:15 +00:00
Treehugger Robot
9328409c4c Merge "Avoid NullPointerException on non-existing file." am: 5db706a48f am: 2cf1c81e8b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1488698

Change-Id: I107e05a4da398dd0392aa8d62f5b89ed785c1ed2
2020-11-05 18:55:02 +00:00
Tyler Gunn
b18d3a92c8 Merge "Add support for DTMF and RTP header extension communications." am: 49612b38d8 am: 884d18b7d1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1487449

Change-Id: I03747f804f21d434e4f8ddafdc52fe5978318a74
2020-11-05 18:54:34 +00:00
Santiago Seifert
8a0fc3a87b Merge "Only log first input reader length" 2020-11-05 18:44:07 +00:00
Jeff DeCew
1f419e4ddf Fix non-dismissible resumption players. am: 36fc7e464e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12995017

Change-Id: Ib55af681e733383c21512f4712e5ea106a4b797e
2020-11-05 18:43:50 +00:00
Treehugger Robot
2cf1c81e8b Merge "Avoid NullPointerException on non-existing file." am: 5db706a48f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1488698

Change-Id: I471f44ed7c5388566aaae9ca2f102b65c53fb78a
2020-11-05 18:39:16 +00:00
TreeHugger Robot
e3995878b2 Merge "Do not power off display on lockNow() on automotive builds." 2020-11-05 18:37:25 +00:00
Tyler Gunn
884d18b7d1 Merge "Add support for DTMF and RTP header extension communications." am: 49612b38d8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1487449

Change-Id: I881bdd65e5ca5b9f2da8915523d9b47f420d3799
2020-11-05 18:36:03 +00:00
Anton Hansson
8e6e52ec8b Merge "Move testapi API files for symmetry with others" am: 78d5048610 am: b6177fc464
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1488697

Change-Id: Id5e5d7d3a0eadbcd6183716a429f5b9849fef7fa
2020-11-05 18:29:45 +00:00
Brett Chabot
073ffdd9fc Convert to androidx.test from android-support-test.
android-support-test has long been deprecated and unsupported,
and it causes problems having both androidx.test and
androiud.support.test included in one binary.

Bug: 172570181
Test: m -j NullHomeTest mediatunertest mediatranscodingtest mediaroutertest mediaframeworktest BluetoothMidiTests
Change-Id: If86f5634beab88db07656f743b19beddd9d77984
2020-11-05 10:28:43 -08:00
Dave Mankoff
f8b3ddfe48 Fix NPE when QSPanel not yet attached,
The NotificationPanelViewController tries to use the
QSPanelController before the QSPanel has been attached (sometimes).

Handle the case where it tries to set the expansion pre-attachment
and add a corresponding test.

Fixes: 172520720
Test: atest SystemUITests
Change-Id: Ib957201760de21561df59ec6e4f459ae7bcbf828
2020-11-05 13:17:53 -05:00
Treehugger Robot
5db706a48f Merge "Avoid NullPointerException on non-existing file." 2020-11-05 18:13:18 +00:00
Neil Fuller
48b614e61d Merge "Fix a log message" 2020-11-05 18:00:01 +00:00
Tyler Gunn
49612b38d8 Merge "Add support for DTMF and RTP header extension communications." 2020-11-05 17:57:40 +00:00
Matt Pietal
44acac766d Merge "Controls - Large ranges improperly calculated" 2020-11-05 17:49:26 +00:00
Chris Li
4fca33f2d8 Merge "Add null check for RemoteToken#getContainer()" 2020-11-05 17:45:06 +00:00
Anton Hansson
b6177fc464 Merge "Move testapi API files for symmetry with others" am: 78d5048610
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1488697

Change-Id: Ib3372ff7001df05aaeb96664c7531348854740be
2020-11-05 17:42:02 +00:00
Anton Hansson
78d5048610 Merge "Move testapi API files for symmetry with others" 2020-11-05 17:23:24 +00:00
Anton Hansson
d72a9640e8 Merge "Move testapi API files for symmetry with others" 2020-11-05 17:23:00 +00:00
TreeHugger Robot
e57dead5f9 Merge "[CEC Configuration] Support hex values in the config XML" 2020-11-05 17:21:49 +00:00
Jeff DeCew
36fc7e464e Fix non-dismissible resumption players.
Ensure resumption players created when a non-dismissible notification
is cancelled force the 'isClearable' flag to true. This fixes a bug
where a resumption player is non-dismissable.

Test: manual - Finish item in Pocket Casts, attempt long-press dismiss.
Bug: 169271494
Change-Id: I186f9ee6fc228ad5bd1d49970fb44709783b74dc
Merged-In: I186f9ee6fc228ad5bd1d49970fb44709783b74dc
(cherry picked from commit 656e986464)
2020-11-05 17:08:20 +00:00
Brett Chabot
7818ee4f57 Remove android-support-test from InputTests.
android-support-test is long deprecated, and the runner flakes if both
androidx.test and android-support-test are included.

Bug: 171910851
Bug: 172570181
Test: m -j InputTests
Change-Id: Icd257481583e9555875d5fd0e93caba49d44caab
2020-11-05 09:03:24 -08:00
Lucas Dupin
b437718727 Merge "Support tinting blur drawable" 2020-11-05 17:00:19 +00:00
Felipe Leme
fc586009b1 Do not power off display on lockNow() on automotive builds.
Test: manual verification
Fixes: 171517112

Change-Id: I410e06b911b099c0ed4b7b4e3ac493c9a272fa6b
2020-11-05 08:51:54 -08:00
TreeHugger Robot
dc030d615f Merge "Do not use surface crop as touchable region in standard task" 2020-11-05 16:46:06 +00:00
Santiago Seifert
2eee34d286 Only log first input reader length
It's not feasible to reliably differentiate a different
segment parsing from a seek.

Bug: 158742256
Test: atest CtsMediaParserTestCases
Test: atest CtsMediaParserHostTestCases
Change-Id: I7d62f1c2b9334bf601f38ce915b0fafdc76fbec1
2020-11-05 16:35:00 +00:00
TreeHugger Robot
e5975c10ee Merge "Convert validatekeymaps to enum class" 2020-11-05 16:26:38 +00:00
Treehugger Robot
6dd4d31151 Merge "Ability to configure NR dual connectivity" am: aa756e198c am: d54065a670 am: 0589ecb8ce am: 72f2a2c52a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1486306

Change-Id: I412cad98f0f32017ca4c44a8686e76cbfc5e7c5c
2020-11-05 16:24:15 +00:00
Jeff Sharkey
88e8d72a75 Double speed of Parcel.writeString().
Previous logic was using GetStringUTFChars() and GetStringCritical(),
which resulted in making a new temporary heap allocation and an extra
memcpy().  The new approach in this CL bypasses those operations by
asking the JNI helpers to copy directly into the Parcel buffer.

This does mean that the contract for writing strings (prefixed with
length) is now duplicated in Parcel.cpp and android_os_Parcel.cpp,
so we leave docs to ensure future maintainers keep them in sync.

Benchmarking shows that this change improves performance by ~36%
for UTF-8 strings and ~52% for UTF-16 strings:

Before:
    timeWriteString8[simple]_mean: 1323
    timeWriteString8[complex]_mean: 2103
    timeWriteString16[simple]_mean: 1427
    timeWriteString16[complex]_mean: 1368

After:
    timeWriteString8[simple]_mean: 846
    timeWriteString8[complex]_mean: 1671
    timeWriteString16[simple]_mean: 685
    timeWriteString16[complex]_mean: 748

Bug: 172562452
Test: atest CorePerfTests:android.os.ParcelStringPerfTest
Change-Id: Ibacce2547ecc7a050b698cee8aa5b4e3bc45956f
2020-11-05 09:22:35 -07:00
Jin Seok Park
ed942b0cd9 Merge "Expose remote volume controller-related APIs" 2020-11-05 16:22:12 +00:00
Neil Fuller
03b4577288 Fix a log message
Test: None - log change
Change-Id: I1b5a39441014dd5592dce6bd190a486fb8d9f06e
2020-11-05 16:15:10 +00:00
Treehugger Robot
72f2a2c52a Merge "Ability to configure NR dual connectivity" am: aa756e198c am: d54065a670 am: 0589ecb8ce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1486306

Change-Id: I963cdcb960124643aa12760073dd34351921cd75
2020-11-05 16:11:33 +00:00
Treehugger Robot
0589ecb8ce Merge "Ability to configure NR dual connectivity" am: aa756e198c am: d54065a670
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1486306

Change-Id: I6ee21a34806b4d76f92b6ec042d6c16db81ff971
2020-11-05 15:55:13 +00:00
Anton Hansson
04774ea1ba Merge "Make current-api-xml use generated current.txt" am: 3ab2ebfe26 am: 18503252ef am: 81a0d7c236 am: c43bbaa053
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1488696

Change-Id: Ic88b75609f8c18d0222e9faa3b21b72e61fc4e72
2020-11-05 15:49:03 +00:00
Treehugger Robot
d54065a670 Merge "Ability to configure NR dual connectivity" am: aa756e198c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1486306

Change-Id: I8ca504a542be4443bae344e3522b76373694a67e
2020-11-05 15:36:17 +00:00
TreeHugger Robot
040f7da5bc Merge "Invoking Assistant on keydown" 2020-11-05 15:35:48 +00:00
Anton Hansson
c43bbaa053 Merge "Make current-api-xml use generated current.txt" am: 3ab2ebfe26 am: 18503252ef am: 81a0d7c236
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1488696

Change-Id: Ie0ef20c88773c7ced7c7ef3392eb77f64c040b2d
2020-11-05 15:30:42 +00:00
Treehugger Robot
aa756e198c Merge "Ability to configure NR dual connectivity" 2020-11-05 15:23:46 +00:00
Matt Pietal
31029061d1 Controls - Large ranges improperly calculated
There was an error in calculating ranges where the min, max difference
was greater than 1000. Set the default value properly to
Float.MAX_VALUE.

Bug: 171422049
Test: atest ToggleRangeTemplateTest
Change-Id: I157643264e6139642dcb0db0d7c474ea55722347
2020-11-05 10:20:09 -05:00