Commit Graph

447834 Commits

Author SHA1 Message Date
Bill Yi
6e39d50575 Import translations. DO NOT MERGE
Change-Id: If0e7c1554139ae744a2fdede2b15200679a21e74
Auto-generated-cl: translation import
2019-10-18 07:31:10 -07:00
Marco Nelissen
ad6c7044e5 Merge "Move JetPlayer implemention and JNI" 2019-10-17 21:32:28 +00:00
Nate Jiang
5f53523195 Merge "[NetworkSuggestion] add public API to support passpoint in suggestion" 2019-10-17 21:28:09 +00:00
Soonil Nagarkar
d35f57130f Merge "Fix typo" 2019-10-17 19:41:48 +00:00
TreeHugger Robot
542b2aac7b Merge "Add missing @NonNull" 2019-10-17 19:32:30 +00:00
Mikhail Naganov
c0903da300 Merge "Introduce audio V6" 2019-10-17 18:59:40 +00:00
TreeHugger Robot
6993d89fca Merge "Remove legacy bugreport flow code" 2019-10-17 18:46:41 +00:00
Jordan Liu
7e7af89246 Merge "Move cell broadcast service module directory" 2019-10-17 18:38:55 +00:00
TreeHugger Robot
1af9a728ff Merge "Make APIs in the base CellInfo class public." 2019-10-17 18:36:48 +00:00
Chen Xu
3321171cc7 Merge "non-mainline telephony related AIDL refactor/decoupling" 2019-10-17 18:27:13 +00:00
TreeHugger Robot
0559c2ae42 Merge "Don't use managed profile charging secure setting" 2019-10-17 18:19:54 +00:00
Marco Nelissen
5ff1173ab1 Move JetPlayer implemention and JNI
The JetPlayer implementation in libmedia was only used by the
JetPlayer JNI code in libandroid_runtime. This change moves
both implementation and JNI to libmedia_jni. This reduces
libandroid_runtime's dependency on libmedia, and results in
a net size reduction of the libraries involved.

Test: atest JetPlayerTest
Change-Id: I028c774fdea167924b064855267254c15f22fddb
2019-10-17 11:11:46 -07:00
TreeHugger Robot
a2cfd6c11b Merge "Don't call platformCompat on system apps." 2019-10-17 17:24:15 +00:00
John Reck
4a6f2c59c0 Add missing @NonNull
Test: builds
Bug: 142875299
Change-Id: I7a8d6edcc83175c48948de0295c312494141a147
2019-10-17 17:21:29 +00:00
TreeHugger Robot
68f6d6f383 Merge "Fix scaling + cropping in ImageDecoder" 2019-10-17 16:56:27 +00:00
Nate Jiang
a100fb4841 [NetworkSuggestion] add public API to support passpoint in suggestion
Allow apps suggest passpoint network in NetworkSuggestionAPI

Bug: 141378137
Test: atest android.net.wifi
Test: atest com.android.server.wifi

Change-Id: Ibca75b0de758e3dfa78b7939851c8dda2eb3d696
2019-10-17 09:51:17 -07:00
Abhijeet Kaur
8cd863bf7e Remove legacy bugreport flow code
* Remove USE_BUGREPORT_API check that enabled us to switch between
  legacy bugreport flow and API workflow.
* Undeprecate requestBugReport flavors as these will not be deprecated.
  Initially it was aimed to remove these methods and use the API
  directly. But now these methods have all been migrated to
  use bugreport API.
* Add @BugreportParams annotation for requestBugReport function.
* Title and Description are communicated via the broadcast instead of
  setting system properties.
* Description is not a system property anymore, so add a check on its
  length by defining MAX_BUGREPORT_DESCRIPTION_SIZE.

Bug: 137825297
Test: Takes interactive and full bugreport as expected
Change-Id: Ib96ad774f5e21491c0dad82cb2292960aa45d6d0
2019-10-17 17:35:36 +01:00
Jay Aliomer
790ac66e94 Merge "Typo in javadoc of NotificationManager#addAutomaticZenRule" 2019-10-17 16:15:34 +00:00
Beverly
478722eaa4 Don't use managed profile charging secure setting
Test: manual
Fixes: 134638462
Change-Id: If86a7613d47071fd77f7e9a68b395a02b97bc6c6
2019-10-17 12:00:10 -04:00
Ned Burns
70fcec4e03 Merge "Add initial implementation of NotifCollection" 2019-10-17 15:13:47 +00:00
atrost
685cbc125a Don't call platformCompat on system apps.
To avoid boot time regression in tests, as compat doesn't care about
system apps.
Also fix the fallback condition to be correct.

Bug: 30188076
Bug: 142558883
Test: atest google/perf/boottime/boottime-test -v - no binder calls,
no time regression.

Change-Id: I15fd39ad7e0ed70fcd880a13cffa40d70c5bba55
2019-10-17 15:42:45 +01:00
TreeHugger Robot
017cbabdce Merge "Add Bitmap.CompressFormat#WEBP_LOSSY/LOSSLESS" 2019-10-17 14:26:46 +00:00
Leon Scroggins III
6e07e16397 Fix scaling + cropping in ImageDecoder
Bug: 141735646
Test: I9ab9115ee4cbc74549f7b914d99b667c700199d5

When using a subset, do not change desiredWidth/desiredHeight, which
changes the scale used below. Instead, just change the size of the
SkBitmap, so it looks correct.

Change-Id: Ie9682afb9324bcdfc81f1d9664f9fcc3891f8939
2019-10-17 14:22:48 +00:00
Tom Cherry
c111baae83 Merge "Use sizeof(android_log_header_t) instead of sizeof its components" am: 8facba4326 am: 7b1e0eee95 am: c5f477dd78
am: d77317087c

Change-Id: I7836033432b0dbc1d3cc7aa5a7adb46a296e9c05
2019-10-17 07:11:42 -07:00
Tom Cherry
d77317087c Merge "Use sizeof(android_log_header_t) instead of sizeof its components" am: 8facba4326 am: 7b1e0eee95
am: c5f477dd78

Change-Id: Icdc0495fce3c2b7caf8e3b7de08676ae3ea081c6
2019-10-17 07:05:17 -07:00
Tom Cherry
c5f477dd78 Merge "Use sizeof(android_log_header_t) instead of sizeof its components" am: 8facba4326
am: 7b1e0eee95

Change-Id: I3839fe3d554c1599587e73d12e43a085a6712e2c
2019-10-17 07:00:01 -07:00
Tom Cherry
7b1e0eee95 Merge "Use sizeof(android_log_header_t) instead of sizeof its components"
am: 8facba4326

Change-Id: Ia7655b2d082c1b55fa2e0a98245e49d2b0326dbc
2019-10-17 06:54:34 -07:00
Tom Cherry
8facba4326 Merge "Use sizeof(android_log_header_t) instead of sizeof its components" 2019-10-17 13:41:42 +00:00
Riddle Hsu
f6fb7063a4 Merge "Fix missing renaming of PerfTestActivity" 2019-10-17 11:02:46 +00:00
Jeff Vander Stoep
737c137e4d [automerger skipped] InetDiagSocketTest: ignore test that times out am: dadd2112f0 -s ours
am: db995575ac -s ours
am skip reason: change_id Ieef0ca291924c0d81b1110bd25020d57fa9f0fec with SHA1 69b83c9b3c is in history

Change-Id: Id0fe46e06f4ca214e5b574d30a907c4e8d025df3
2019-10-17 03:58:48 -07:00
Jeffrey Vander Stoep
41a7b84c35 [automerger skipped] Merge "Fix FD leak in ConnectivityManager.getConnectionOwnerUid" into qt-qpr1-dev am: b3c533768d -s ours
am: 8e24b7effc -s ours
am skip reason: change_id Ib76674f10e4bd24952c557bac7b9c65fba42fdb2 with SHA1 59940afb16 is in history

Change-Id: I6ce0264e0a310683f2e7a99a275eb3a6a1c7209f
2019-10-17 03:53:38 -07:00
Jeff Vander Stoep
db995575ac [automerger skipped] InetDiagSocketTest: ignore test that times out
am: dadd2112f0 -s ours
am skip reason: change_id Ieef0ca291924c0d81b1110bd25020d57fa9f0fec with SHA1 69b83c9b3c is in history

Change-Id: I907ab63e10aa3b5fabd56c1734ff1b729914b700
2019-10-17 03:49:46 -07:00
Jeffrey Vander Stoep
8e24b7effc [automerger skipped] Merge "Fix FD leak in ConnectivityManager.getConnectionOwnerUid" into qt-qpr1-dev
am: b3c533768d -s ours
am skip reason: change_id Ib76674f10e4bd24952c557bac7b9c65fba42fdb2 with SHA1 59940afb16 is in history

Change-Id: I4fcc149ff81dd2549e3f9fe712f308a360855d15
2019-10-17 03:46:03 -07:00
Jeff Vander Stoep
dadd2112f0 InetDiagSocketTest: ignore test that times out
Test: atest InetDiagSocketTest
Change-Id: Ieef0ca291924c0d81b1110bd25020d57fa9f0fec
Merged-In: Ieef0ca291924c0d81b1110bd25020d57fa9f0fec
Bug: 141870193
Bug: 141459241
(cherry picked from commit 69b83c9b3c)
Clean cherry pick.
2019-10-17 10:25:49 +00:00
Jeffrey Vander Stoep
b3c533768d Merge "Fix FD leak in ConnectivityManager.getConnectionOwnerUid" into qt-qpr1-dev 2019-10-17 10:25:36 +00:00
TreeHugger Robot
268294f394 Merge "MediaRouter2: Make TAGs have common prefix 'MR2'" 2019-10-17 10:06:43 +00:00
Ioannis Ilkos
5a5678d244 Merge "Revert "Window Manager Flag Migration (4/n)"" 2019-10-17 09:49:58 +00:00
Ioannis Ilkos
8cca14103c Revert "Window Manager Flag Migration (4/n)"
This reverts commit cb1b848084.

Reason for revert: Droidcop-triggered revert due to b/142849532

Change-Id: If81eba4e979e21202e78839bb1afbc66691098d2
2019-10-17 09:38:00 +00:00
Jeff Vander Stoep
cc7e09cbc2 Fix FD leak in ConnectivityManager.getConnectionOwnerUid
Add unit tests to verify that bug has been fixed.

Re-enable testGetConnectionOwnerUid() unit tests in presubmit. These
were disabled due to test flakiness caused by expected failures passing
as a result of other sockets on the system. This is fixed by checking
that failures do not have the UID of the calling process instead of
INVALID_UID since previously some Qualcomm telephony sockets were
causing lookup successes.

Test: atest InetDiagSocketTest#testGetConnectionOwnerUid
Test: ls -1 /proc/<pid of system_server>/fd | wca
Test: atest --generate-new-metrics 200 InetDiagSocketTest#testGetConnectionOwnerUid
   To verify flakes have been cleaned up.
Bug: 141603906
Bug: 141459241
Change-Id: Ib76674f10e4bd24952c557bac7b9c65fba42fdb2
Merged-In: Ib76674f10e4bd24952c557bac7b9c65fba42fdb2
(cherry picked from commit 59940afb16)
Clean cherry pick.
2019-10-17 09:22:24 +00:00
Patrik Fimml
6e40b40f59 Merge "Wifi AP: Add MAC randomization setting" 2019-10-17 09:16:26 +00:00
TreeHugger Robot
2a2e25c471 Merge "Ensure activity added to existing task if not resetting the task" 2019-10-17 09:08:43 +00:00
Riddle Hsu
6df7f0aca5 Fix missing renaming of PerfTestActivity
1be1dd6 renamed StubActivity to PerfTestActivity.

Bug: 131727899
Test: atest PackageManagerPerfTest
      atest AutofillPerfTests:LoginTest

Change-Id: I90ad0f28ab6a3c152b16f7587c5434e6fddf18a3
2019-10-17 16:53:41 +08:00
Seigo Nonaka
07ae3bec21 [automerger skipped] Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into oc-mr1-dev am: 9f7fb87dc4 -s ours am: aa76cf3da5 -s ours am: 9c6d7fe4bb am: 8e6b03f424 am: 67c45a81db
am: 877419c82e -s ours
am skip reason: subject contains skip directive

Change-Id: Ib949be488b8eb7e1da3ff7fa2bb4682986ce1428
2019-10-17 01:16:16 -07:00
Seigo Nonaka
39baa0c7b6 [automerger skipped] Merge "RESTRICT AUTOMERGE Revive runLimit check logic" into pi-dev am: d7f6ede261 -s ours am: 8d016ab4ff am: 5181402566 am: 3fea842365
am: aa49d4ca24 -s ours
am skip reason: subject contains skip directive

Change-Id: If0487089c9154352ef889dc4fc88f1aacff6baf8
2019-10-17 01:08:46 -07:00
Hyundo Moon
7d3ab337da MediaRouter2: Make TAGs have common prefix 'MR2'
Also does some minor fixes.

Test: Builds successfully
Change-Id: Ied4b1cc87241a7cb167959e8c452b0dcdea6b3b4
2019-10-17 17:07:37 +09:00
Kyunglyul Hyun
ff1606b2cd Merge "MediaRouter: Add getUniqueId to MediaRoute2Info" 2019-10-17 07:11:57 +00:00
TreeHugger Robot
389467571a Merge "Add @Nullable to MediaMetadataRetriever methods" 2019-10-17 06:26:39 +00:00
Jackal Guo
41c5b259e8 Merge "Allow restarting of crashed a11y services" 2019-10-17 06:21:10 +00:00
Rhed Jao
a59833d645 Merge "Accessibility shortcut improvement (2/n)" 2019-10-17 06:19:53 +00:00
Seigo Nonaka
c2248ef134 [automerger skipped] RESTRICT AUTOMERGE Revive runLimit check logic am: b730f1984f am: 2af4f537ff am: 709e9e6855 -s ours am: 37c65a3e5c -s ours am: ac663b4595 am: 56a72fccf4 am: 6284a143c6
am: 639fafacd7 -s ours
am skip reason: subject contains skip directive

Change-Id: Ib5a751ab16a1af7795a7fbb674ac2c7f4635479e
2019-10-16 22:48:47 -07:00