493323 Commits

Author SHA1 Message Date
TreeHugger Robot
7118a40917 Merge "Update mandatory concurrent stream docs to specify support for lower resolutions." into rvc-dev am: 83578eaa95
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12230970

Change-Id: Iaceb8a0974fcc4cf562a7046423019fc816ce07a
2020-07-28 02:07:53 +00:00
TreeHugger Robot
83578eaa95 Merge "Update mandatory concurrent stream docs to specify support for lower resolutions." into rvc-dev 2020-07-28 01:47:32 +00:00
Jayant Chowdhary
d537ce04fb Update mandatory concurrent stream docs to specify support for lower resolutions.
Bug: 162110784

Test: make doc-comment-check-docs

Change-Id: I8a2677df320f8f496b185fd80234f04dd9eed97f
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-07-27 17:18:12 -07:00
Tom Cherry
39e245b225 [automerger skipped] Merge "Delete unused imports in Statsd" am: 9e9ce9f9ef am: f2d7b77e42 -s ours
am skip reason: Change-Id I80203756d714bf123978d26bbe81351a1abdc967 with SHA-1 cabd127c19 is in history

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

Change-Id: Ib8f3baa59049a5afb830e5a7ed4d438a1e5bfdf9
2020-07-27 22:01:17 +00:00
Tom Cherry
f2d7b77e42 Merge "Delete unused imports in Statsd" am: 9e9ce9f9ef
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1373817

Change-Id: I65d8c08fb7dc39617d5e6d8a87b941918f1fd741
2020-07-27 21:50:00 +00:00
Tom Cherry
9e9ce9f9ef Merge "Delete unused imports in Statsd" 2020-07-27 21:35:51 +00:00
Jeffrey Huang
0f719e7fc4 Delete unused imports in Statsd
Delete libplatformprotos since its not used.

Test: m -j
Bug: 147599928
Merged-In: I80203756d714bf123978d26bbe81351a1abdc967
Change-Id: I80203756d714bf123978d26bbe81351a1abdc967
2020-07-27 13:27:26 -07:00
Tom Cherry
a59f84b52d [automerger skipped] Merge "Log only a summary 'Found stale backup journal' message." am: 00cf543f53 am: 24b9cf1e8f -s ours
am skip reason: Change-Id Ia1343e4cea31feb1eba9da561d20736eb5df0a14 with SHA-1 4b4e781943 is in history

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

Change-Id: I34d89d1e0618f74da8ef248dec02a9fd5d9ffe2b
2020-07-27 18:55:28 +00:00
Tom Cherry
24b9cf1e8f Merge "Log only a summary 'Found stale backup journal' message." am: 00cf543f53
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371500

Change-Id: I009759300b8e5cf7943ef32732773889f04e6a72
2020-07-27 18:34:01 +00:00
Xevi Miro Bruix
940fab9a0f Merge "Update language to comply with Android’s inclusive language guidance" am: c61b2279f0 am: 3c8639d035
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371800

Change-Id: I5e58e4f12230f48f4c0a28fd91cafd45d72fe662
2020-07-27 18:26:26 +00:00
Tom Cherry
00cf543f53 Merge "Log only a summary 'Found stale backup journal' message." 2020-07-27 18:15:33 +00:00
Xevi Miro Bruix
3c8639d035 Merge "Update language to comply with Android’s inclusive language guidance" am: c61b2279f0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371800

Change-Id: Ia443e58c97ae29fa8fb7935fae39948405288b6e
2020-07-27 18:06:02 +00:00
Xevi Miro Bruix
c61b2279f0 Merge "Update language to comply with Android’s inclusive language guidance" 2020-07-27 17:55:36 +00:00
Tom Cherry
9db78024c5 Log only a summary 'Found stale backup journal' message.
With the goal of reducing log spam, print only a summary 'Found stale
backup journal' messages instead of logging within the inner loop.
Previously, over 12k messages could be printed at a time from this
function.

Before this CL:
 - a backup was scheduled for each packageName from each stale
   journal
 - one (or two, if MORE_DEBUG) message was logged for each
   packageName in each journal file.

After this CL:

 - packageNames are de-duplicated before scheduling backups or logging
   (it's not clear to me whether duplicate packageNames previously
   occurred, in practice).
 - one message is logged for the number (if > 0) of stale journals.
 - one message is logged for the number (including their names, if
   MORE_DEBUG) of packages.

Bug: 161940947
Test: fewer 'Found state backup journal' messages printed
Merged-In: Ia1343e4cea31feb1eba9da561d20736eb5df0a14
Change-Id: Ia1343e4cea31feb1eba9da561d20736eb5df0a14
2020-07-27 09:27:39 -07:00
Tom Cherry
4b4e781943 Log only a summary 'Found stale backup journal' message.
With the goal of reducing log spam, print only a summary 'Found stale
backup journal' messages instead of logging within the inner loop.
Previously, over 12k messages could be printed at a time from this
function.

Before this CL:
 - a backup was scheduled for each packageName from each stale
   journal
 - one (or two, if MORE_DEBUG) message was logged for each
   packageName in each journal file.

After this CL:

 - packageNames are de-duplicated before scheduling backups or logging
   (it's not clear to me whether duplicate packageNames previously
   occurred, in practice).
 - one message is logged for the number (if > 0) of stale journals.
 - one message is logged for the number (including their names, if
   MORE_DEBUG) of packages.

Bug: 161940947
Test: fewer 'Found state backup journal' messages printed
Merged-In: Ia1343e4cea31feb1eba9da561d20736eb5df0a14
Change-Id: Ia1343e4cea31feb1eba9da561d20736eb5df0a14
(cherry picked from commit 112e3c2d049d304b0aa57750fcaa6415ea2b6fef)
2020-07-27 16:26:31 +00:00
Tom Cherry
9012bb9d95 Merge "Remove log spam from onSubscriptionsChangedListener()" am: 1720916a97 am: 17c2d70b04
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371664

Change-Id: Ic13383605bb47980cef2393bedd601b1fdc88e18
2020-07-27 15:23:18 +00:00
Tom Cherry
17c2d70b04 Merge "Remove log spam from onSubscriptionsChangedListener()" am: 1720916a97
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371664

Change-Id: Ic49ac0f956a03326212dcb924441063495f0bb5c
2020-07-27 15:04:28 +00:00
Tom Cherry
1720916a97 Merge "Remove log spam from onSubscriptionsChangedListener()" 2020-07-27 14:50:14 +00:00
Treehugger Robot
fc99d35ccf Merge "Remove gendered language" am: 35616155b5 am: 5c018260e0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371586

Change-Id: I04e61237104aca879ceed99f3d24cff76fe4570b
2020-07-27 13:43:16 +00:00
Treehugger Robot
5c018260e0 Merge "Remove gendered language" am: 35616155b5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371586

Change-Id: Id351aef2dc3869ab5fa0b4c909f367b64eead9b2
2020-07-27 13:29:07 +00:00
Treehugger Robot
35616155b5 Merge "Remove gendered language" 2020-07-27 13:15:52 +00:00
Treehugger Robot
9df4a45b87 Merge "Update language to comply with Android’s inclusive language guidance" am: f366f37aa1 am: 5383e257e2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372976

Change-Id: Ic3ef5f4df089968c4105fec48c9c494c57f1f608
2020-07-27 05:49:03 +00:00
Treehugger Robot
5383e257e2 Merge "Update language to comply with Android’s inclusive language guidance" am: f366f37aa1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372976

Change-Id: Iccc3389dfc0ee64f819dd9c2d9bf7ca78f0a1490
2020-07-27 05:37:31 +00:00
Treehugger Robot
f366f37aa1 Merge "Update language to comply with Android’s inclusive language guidance" 2020-07-27 05:21:10 +00:00
Yo Chiang
d5a6030fd2 Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference

#inclusivefixit

Bug: 161896447
Test: TH presubmit
Test: atest DynamicSystemInstallationServiceTests
Change-Id: I94ab7cabc4f86ecb266c1d7d89357da1e3f88921
2020-07-27 04:26:09 +00:00
Zimuzo Ezeozue
95846eed9d Merge "Reduce demo user FUSE volume mount timeout" into rvc-dev am: 0df699ae72
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12217292

Change-Id: If9a70b62d964ea355f69a9e5d0aa73cac55d0ca3
2020-07-25 15:53:41 +00:00
Zimuzo Ezeozue
0df699ae72 Merge "Reduce demo user FUSE volume mount timeout" into rvc-dev 2020-07-25 15:31:00 +00:00
Treehugger Robot
ab368be7ad Merge "Add KEYCODE_WINDOW mapping to USB HID Usage consumer page (0x0c/0x67) "Picture-in-Picture Toggle"" am: 85a6580f09 am: aa0cee06b1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365553

Change-Id: I2cc60fb80d146a2121d0c5cba79e83581f281816
2020-07-25 01:28:24 +00:00
Treehugger Robot
aa0cee06b1 Merge "Add KEYCODE_WINDOW mapping to USB HID Usage consumer page (0x0c/0x67) "Picture-in-Picture Toggle"" am: 85a6580f09
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365553

Change-Id: I0a278fa284a3654c4cb85fb864be1c9df72677b3
2020-07-25 01:18:34 +00:00
Treehugger Robot
85a6580f09 Merge "Add KEYCODE_WINDOW mapping to USB HID Usage consumer page (0x0c/0x67) "Picture-in-Picture Toggle"" 2020-07-25 01:08:00 +00:00
TreeHugger Robot
be22e7af3f Merge "Propagate AudioAttributes flags to VibrationAttributes" into rvc-dev am: 863c82fa76
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12218307

Change-Id: If44bc27e2001a98deb7346783645c97554111708
2020-07-25 00:10:41 +00:00
TreeHugger Robot
863c82fa76 Merge "Propagate AudioAttributes flags to VibrationAttributes" into rvc-dev 2020-07-24 23:55:38 +00:00
Steven Moreland
bd491fffc7 [automerger skipped] Merge "Allow module libs to use VINTF AIDL." am: 298d06f292 am: d40462e66d -s ours
am skip reason: Change-Id I1ab977248b1c39a7d08e0ca34389a7ba168c05b0 with SHA-1 95dd53bb5f is in history

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

Change-Id: Ie3fbdd102d49b439e001c75c298876c8ae7ade8f
2020-07-24 23:27:01 +00:00
Steven Moreland
d40462e66d Merge "Allow module libs to use VINTF AIDL." am: 298d06f292
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371822

Change-Id: I306603dfaacaa1647276bfd4a072a9cfdafb2d3e
2020-07-24 23:08:32 +00:00
Steven Moreland
298d06f292 Merge "Allow module libs to use VINTF AIDL." 2020-07-24 22:54:24 +00:00
TreeHugger Robot
73a4ff6dd6 Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436

Change-Id: I5b80cc571555d272c33c0f7560709032efa6532c
2020-07-24 22:08:21 +00:00
TreeHugger Robot
0b43b7be47 Merge "Ignore GONE views in shade when processing sections" into rvc-dev am: af2f54f4e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12211269

Change-Id: I4010f19c21bb6185e18dade509c611d03655a36f
2020-07-24 22:07:55 +00:00
TreeHugger Robot
855eb749ed Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev 2020-07-24 21:42:45 +00:00
TreeHugger Robot
af2f54f4e3 Merge "Ignore GONE views in shade when processing sections" into rvc-dev 2020-07-24 21:41:57 +00:00
Steven Moreland
b9440149be Merge "Allow module libs to use VINTF AIDL." into rvc-dev-plus-aosp 2020-07-24 20:58:31 +00:00
Patrick Baumann
b09e002838 Merge "Fix unintended preferred activity reset" into rvc-dev am: 69b18e57fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12220605

Change-Id: I257d0b7e254040dfbce6b6387c4848f6421a6cd6
2020-07-24 20:54:26 +00:00
Patrick Baumann
69b18e57fc Merge "Fix unintended preferred activity reset" into rvc-dev 2020-07-24 20:50:27 +00:00
Christopher Tate
9e4c36f7e1 Skip bg PSS collection for apps using a camera am: fc76b97d1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12227201

Change-Id: I71009004f6daace7620a267b0eccbe966c43de53
2020-07-24 20:47:26 +00:00
Jack Yu
56cfdd1e87 Allow network stack UID caller to retrieve cell identity
For backwards compatibility, we allow phone, system UID to
access cell identity through getServiceState. Cell broadcast
service, which is used to be part of telephony, now is running
under network stack UID. We should consider network stack UID as
trustable components like system/telephony.

Fix: 157618105
Test: Manual
Change-Id: I9b2dfc778752e130f5c7e44c4b2e45b63ac6f918
2020-07-24 19:54:25 +00:00
Steve Elliott
dfd9f17703 Ignore GONE views in shade when processing sections
Fixes: 161606040
Test: atest
Change-Id: I8ab108aea23ea6a139f758abdaf222f5f3641104
2020-07-24 18:56:31 +00:00
Patrick Baumann
312755820a Fix unintended preferred activity reset
When the preferred handler of an action is saved with "always", the set
of components displayed as options to the user are saved with it. On
subsequent queries, if that set of components change, the preference is
cleared to allow the user to consider the new set. With the introduction
of app visibility filtering in R (and to a lesser extent, Instant Apps
in O), the set of apps that an app can see may be less than the set that
the system can. As a result, if the caller calls resolveIntent and
cannot see all of the apps the system can, it may reset the user
preference unexpectedly.

This change ensures that before we clear the user preference that we're
comparing against the full set of apps. As such, if we encounter a call
to the method from an app that cannot see all apps, we avoid any
mutations and instead just return the set of apps that the user can see
or the preferred app if it's part of the set they can see. If the system
calls or if the call is part of an activity start, we'll allow reset of
the preference.

Test: Manual - Install 3 cameras, verify preference only reset on start
Fixes: 157548344
Change-Id: Icb50a66500edba26c4c6c3e80a6a9c544d4d63d6
2020-07-24 11:42:37 -07:00
Steven Moreland
95dd53bb5f Allow module libs to use VINTF AIDL.
Currently a native APEX can get and use a VINTF AIDL. However, this
can't be passed over JNI to be used by Java code.

This does not open VINTF AIDLs to any type of apps, where AIDL as an API
is completely disallowed. Also, no Java ServiceManager APIs are
available, and they couldn't be until b/139325468 is fixed.

Bug: 161501127
Test: atest binderVendorDoubleLoadTest

Change-Id: I1ab977248b1c39a7d08e0ca34389a7ba168c05b0
2020-07-24 18:35:55 +00:00
Steven Moreland
a7fb8cb669 Allow module libs to use VINTF AIDL.
Currently a native APEX can get and use a VINTF AIDL. However, this
can't be passed over JNI to be used by Java code.

This does not open VINTF AIDLs to any type of apps, where AIDL as an API
is completely disallowed. Also, no Java ServiceManager APIs are
available, and they couldn't be until b/139325468 is fixed.

Bug: 161501127
Test: atest binderVendorDoubleLoadTest

Change-Id: I1ab977248b1c39a7d08e0ca34389a7ba168c05b0
Merged-In: I1ab977248b1c39a7d08e0ca34389a7ba168c05b0
2020-07-24 18:12:19 +00:00
Steven Moreland
c9a09ffd92 Merge "android.os.Parcelable: isStable->getStability" am: d1568567ec am: da7e355785
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371499

Change-Id: I0f62379a8de4d7b1622ed0667b785d8a74a11ccb
2020-07-24 17:48:23 +00:00
Treehugger Robot
47df766f48 Merge "Disable DUN APN while roaming for certain carriers" am: 4becee9740 am: 5b22a598c6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371059

Change-Id: I784712ead1cb4c47e5a436d8fe33655b51847879
2020-07-24 17:47:59 +00:00