Commit Graph

519022 Commits

Author SHA1 Message Date
Treehugger Robot
b511e22cf0 [automerger skipped] Merge "Adding LOADER_USAGE_STATS permission to shell" am: a5a04bbb4e am: e769f7bf7d -s ours am: ce6987d263 -s ours
am skip reason: Change-Id I4f146337429679edddba698aa88bb9b2cb883ab9 with SHA-1 a2b2226d6b is in history

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

Change-Id: I59ff7a3ef9e6e35d7dc3539873322dcb9cd2ac26
2020-07-23 23:22:02 +00:00
Jiyong Park
3b535c2d56 Introduce uses-native-library tag
This is a partial cherry-pick of
Iceb038aa86872d23e9faf582ae91b1fdcaf5c64c from the internal gerrit.
Cherry-picking to AOSP is needed to have other changes (art) in the
public repo.

The entire change will be merged along with the S release.

Bug: 142191088
Test: m

Change-Id: I13ccbe88be77258bcf1a71e33ab5560796fb605f
Merged-In: Iceb038aa86872d23e9faf582ae91b1fdcaf5c64c
2020-07-24 08:13:51 +09:00
Treehugger Robot
ce6987d263 [automerger skipped] Merge "Adding LOADER_USAGE_STATS permission to shell" am: a5a04bbb4e am: e769f7bf7d -s ours
am skip reason: Change-Id I4f146337429679edddba698aa88bb9b2cb883ab9 with SHA-1 a2b2226d6b is in history

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

Change-Id: Ia058eb0b815aa9db5c98c1c6d66069fde208f2f9
2020-07-23 23:07:04 +00:00
android-build-team Robot
954c869323 Merge cherrypicks of [12222001, 12222002, 12222003, 12221903, 12221710, 12221711, 12221712, 12221713, 12221714, 12221715, 12221922] into rvc-release
Change-Id: I14320cf554490ba37927f626de5bf266db3923cc
2020-07-23 23:04:36 +00:00
Yohei Yukawa
61b6c29888 Fix missing IME switcher icon (w/ a hardware keyboard)
This is a follow up CL to our previous CL [1], which aimed to adjust
the timing to change navbar icons that depend on the IME window
visibility.

One thing we overlooked is that only InputMethodService#IME_VISIBLE
needed to be cleared to keep the back button icon to behave as if the
IME window was invisible.  For the IME switcher icon to work as
intended, the current protocol requires InputMethodService.IME_ACTIVE
to remain to be set even when an IME window is invisible as long as
there is an active session between the app and the IME.

 [1]: I4dc9d6513d0559156f7da39244f3fc5ebc952ed4
      c22eec9d35

Fix: 160283619
Test: Manually done as follows:
  1. Build aosp_coral-userdebug and flash it
  2. make -j SoftKeyboard
  3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
  4. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
  5. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
  6. Open any app that has an EditText
  7. Focus in to the EditText. Make sure the IME shows up and the IME
     switcher icon is visible on the navbar.
  8. Attach a hardware keyboard. Make sure that the IME becomes hidden
     while the IME switcher icon remains to be visible on the navbar.
  9. Detach the hardware keyboard.  Make sure that the IME switcher
     icon remains to be visible on the navbar.
Change-Id: I4a9ddf514a32a221c2372be0ca166fbdac555932
Merged-In: I4a9ddf514a32a221c2372be0ca166fbdac555932
(cherry picked from commit 5749b51f8c)
2020-07-23 23:04:06 +00:00
Jing Ji
ed2c898865 Java docs update: Advise not to include PII in setProcessStateSummary
Bug: 161812603
Test: m -j offline-sdk-docs & manual verify the javadoc
Change-Id: I741bbf7b83badcd7f1610f31bbd41a49b8b975fb
(cherry picked from commit 3bda3bf8c6)
2020-07-23 23:03:59 +00:00
Patrick Baumann
cc051fe9cf Grant visibility even when not granting URI perm
This change modifies the flow of uri permission grants to ensure that
even when we're not granting URI permissions, we still take the
opportunity to grant app visibility.

This change also re-grants visibility based on any persisted URI grants
at boot time.

Bug: 161912313
Bug: 161721834
Change-Id: I077b263fc3dc01f3505c39fc0e36d3419bab3c5f
(cherry picked from commit 9406f1dea8)
2020-07-23 23:03:53 +00:00
Treehugger Robot
e769f7bf7d Merge "Adding LOADER_USAGE_STATS permission to shell" am: a5a04bbb4e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1326492

Change-Id: I30a568a8d4c7c9fbd2f4aadcef7ef733f24e34e6
2020-07-23 22:56:36 +00:00
Treehugger Robot
a5a04bbb4e Merge "Adding LOADER_USAGE_STATS permission to shell" 2020-07-23 22:45:36 +00:00
TreeHugger Robot
a24c513ec9 [automerger skipped] Merge "Fix missing IME switcher icon (w/ a hardware keyboard)" into rvc-dev am: aca9854a66 am: 2245082dbb -s ours
am skip reason: Change-Id I4a9ddf514a32a221c2372be0ca166fbdac555932 with SHA-1 5749b51f8c is in history

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

Change-Id: I75803157f1f29e18bcf31aaed0bff2d8aa1e3fe5
2020-07-23 22:21:22 +00:00
Automerger Merge Worker
5ed216ee55 Merge "Merge "Java docs update: Advise not to include PII in setProcessStateSummary" into rvc-dev am: fcaa94e2dc am: ec8b28277b" into rvc-d1-dev-plus-aosp 2020-07-23 22:20:26 +00:00
TreeHugger Robot
e192b7630a Merge "Fix missing IME switcher icon (w/ a hardware keyboard)" into rvc-dev am: aca9854a66 am: 7c53dba761
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12182245

Change-Id: Id791d37bcdfe70cb2623559e9f7937c5f1e16249
2020-07-23 22:20:17 +00:00
Jing Ji
cd9231a407 Merge "Java docs update: Advise not to include PII in setProcessStateSummary" into rvc-dev am: fcaa94e2dc am: ec8b28277b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12202766

Change-Id: I998a325035676d591e4eabb04e7754100bc59b08
2020-07-23 22:20:03 +00:00
Jing Ji
052a6995f3 Merge "Java docs update: Advise not to include PII in setProcessStateSummary" into rvc-dev am: fcaa94e2dc am: 62b56170ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12202766

Change-Id: Ib863b0d82fafa240177a78235c653ae35d1a19d4
2020-07-23 22:19:54 +00:00
TreeHugger Robot
7c53dba761 Merge "Fix missing IME switcher icon (w/ a hardware keyboard)" into rvc-dev am: aca9854a66
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12182245

Change-Id: Iec54c460edb144e4ff96dec165ebee65de73add4
2020-07-23 22:07:27 +00:00
TreeHugger Robot
2245082dbb Merge "Fix missing IME switcher icon (w/ a hardware keyboard)" into rvc-dev am: aca9854a66
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12182245

Change-Id: I2825a2b74fa03ab9888f9ab818b7953aa9f98e6e
2020-07-23 22:07:16 +00:00
Jing Ji
ec8b28277b Merge "Java docs update: Advise not to include PII in setProcessStateSummary" into rvc-dev am: fcaa94e2dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12202766

Change-Id: Ic02eba2cecd33c8bd607360e111e891f24b6ab34
2020-07-23 22:06:47 +00:00
Jing Ji
62b56170ac Merge "Java docs update: Advise not to include PII in setProcessStateSummary" into rvc-dev am: fcaa94e2dc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12202766

Change-Id: I60e5010b5febdbf05b825ab7cccff03fd3cbbf0b
2020-07-23 22:06:43 +00:00
TreeHugger Robot
aca9854a66 Merge "Fix missing IME switcher icon (w/ a hardware keyboard)" into rvc-dev 2020-07-23 21:59:18 +00:00
Jing Ji
fcaa94e2dc Merge "Java docs update: Advise not to include PII in setProcessStateSummary" into rvc-dev 2020-07-23 21:53:31 +00:00
Xin Li
88d715438a Merge stage-aosp-rvc-ts-dev into rvc-dev
Bug: 148878042
Merged-In: I5f50166322b662b457e1b79b2ce62c622ddd1013
Change-Id: Ie1e7f69f6cf6f47bce173ef22eaaf0ed17dda4af
2020-07-23 14:39:39 -07:00
Hans Boehm
7cec0bba9a API and boot image updates to import RI BigInteger
This reorders methods, omits a redundant "implements" spec, and adds
<x>ValueExact() methods, which are in OpenJDK 8, but hadn't been
implemented on Android.

Also update the boot image profile to compile BigInteger-required
methods that used to be native. Some of these must be compiled to
avoid ART test timeouts.

Bug: 136887041
Bug: 119491938
Bug: 28214673
Bug: 28251030
Bug: 2950143
Test: AOSP Boots. Ran some manual Calculator tests on Cuttlefish.
Change-Id: Idd72ec6a6fd54ed4ad96a82b26840b41a3882678
2020-07-23 14:12:34 -07:00
Yabin Huang
ebc11f1b20 Merge "Revert "Update FocusFinder"" into stage-aosp-rvc-ts-dev 2020-07-23 20:55:36 +00:00
Sarah Chin
f0dd086772 [automerger skipped] Merge changes from topic "phone_info_5g" am: 20c0cd6b4c am: 0cb19b5ea5 am: 8683d3daa5 -s ours
am skip reason: Change-Id Ie709cad1c94ad204c46a559d316f45da16c3541c with SHA-1 33e5841e87 is in history

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

Change-Id: I883b781a825eba8a305cc5ee544a8a8891e0a2ea
2020-07-23 20:44:50 +00:00
Jack Yu
b186145fcf [automerger skipped] Fixed unreadble debug messages am: c42d38c3ea am: 8d699af314 -s ours am: 492b187e27 -s ours
am skip reason: Change-Id I8aa45474521e4ef5e2368ab25c6c39445e9f779c with SHA-1 e7580a7238 is in history

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

Change-Id: I2462fff81d1fefc0be107936f18bf740c0231729
2020-07-23 20:44:47 +00:00
Hall Liu
8ecdd6b7b2 [automerger skipped] Merge "Skip carrier priv check for trusted UIDs" am: df9bf16543 am: cbf30830bc -s ours am: 01f398db16 -s ours
am skip reason: Change-Id I1399cab579308479d7cf191b8795441cbcd3ff65 with SHA-1 12a3f5cfdc is in history

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

Change-Id: I2bd0b66ae545b99c71d2cd4a94449aee25e69e75
2020-07-23 20:44:20 +00:00
Treehugger Robot
7ee1dc7321 Merge "Update language to comply with Android’s inclusive language guidance" am: dce2f1c04b am: c686b1f21c am: 50015ad612
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371481

Change-Id: I81fdc86cea3290baad7b420ebcdae9d09e88f5ab
2020-07-23 20:43:54 +00:00
Sarah Chin
8683d3daa5 Merge changes from topic "phone_info_5g" am: 20c0cd6b4c am: 0cb19b5ea5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371137

Change-Id: Ib6de67754f15b6fc1d54386a0552fadb7b8a778c
2020-07-23 20:31:51 +00:00
Jack Yu
492b187e27 [automerger skipped] Fixed unreadble debug messages am: c42d38c3ea am: 8d699af314 -s ours
am skip reason: Change-Id I8aa45474521e4ef5e2368ab25c6c39445e9f779c with SHA-1 e7580a7238 is in history

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

Change-Id: Ibe589893634a43cd7d12e7ab85f363a12f6838f2
2020-07-23 20:31:38 +00:00
Hall Liu
01f398db16 [automerger skipped] Merge "Skip carrier priv check for trusted UIDs" am: df9bf16543 am: cbf30830bc -s ours
am skip reason: Change-Id I1399cab579308479d7cf191b8795441cbcd3ff65 with SHA-1 12a3f5cfdc is in history

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

Change-Id: Id32446478423ee72330762e01039d0d6ca8555c4
2020-07-23 20:29:55 +00:00
Treehugger Robot
50015ad612 Merge "Update language to comply with Android’s inclusive language guidance" am: dce2f1c04b am: c686b1f21c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371481

Change-Id: I05712223149c676ae849114562ef6969fbe8ab18
2020-07-23 20:29:38 +00:00
Sarah Chin
0cb19b5ea5 Merge changes from topic "phone_info_5g" am: 20c0cd6b4c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371137

Change-Id: I238d65654a2150f1497730f8b647818659c5a7c5
2020-07-23 20:17:26 +00:00
Jack Yu
8d699af314 Fixed unreadble debug messages am: c42d38c3ea
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371482

Change-Id: I93cf5aaea8643aae1fee37e8b759e39ff5b748fe
2020-07-23 20:17:20 +00:00
Hall Liu
cbf30830bc Merge "Skip carrier priv check for trusted UIDs" am: df9bf16543
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371497

Change-Id: I0c47860c86d928bf2868a2724e01c126f11d66a3
2020-07-23 20:16:01 +00:00
Treehugger Robot
c686b1f21c Merge "Update language to comply with Android’s inclusive language guidance" am: dce2f1c04b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371481

Change-Id: I0ed39f8348868e66a0b7e10c569dc61657a2c8aa
2020-07-23 20:15:21 +00:00
Chris Wren
1dcdfc29f6 Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Bug: 161896447
Test: comments only change
Change-Id: I6012e3b30ef81149d8f52708de4fc1ec2a4fa8b1
2020-07-23 15:15:03 -04:00
Sarah Chin
20c0cd6b4c Merge changes from topic "phone_info_5g"
* changes:
  Expose NR State string method for use in RadioInfo
  Fixed unreadble debug messages
2020-07-23 19:08:50 +00:00
Xevi Miro Bruix
2a362baf04 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: Change to documentation
Change-Id: I0fab8501af39dbe2acc70f1a32bb82cdc5e0b06e
2020-07-23 18:17:15 +00:00
Hall Liu
df9bf16543 Merge "Skip carrier priv check for trusted UIDs" 2020-07-23 18:08:03 +00:00
Lais Andrade
c2777148df Propagate AudioAttributes flags to VibrationAttributes
Set supported flags from AudioAttributes into VibrationAttributes on the
builder constructor.

Fix: b/161761418
Test: manual
Change-Id: I4a8e1db278843b2f9f19aba43b0b8f264cb696bd
2020-07-23 18:05:09 +00:00
Treehugger Robot
dce2f1c04b Merge "Update language to comply with Android’s inclusive language guidance" 2020-07-23 17:56:04 +00:00
Yabin Huang
6c01bf5f87 Revert "Update FocusFinder"
Revert submission 11830696-b/158492287-stage-aosp-rvc-ts-dev

Reason for revert: It's too late to merge this CL to rvc-dev. Let's revert it and merge it to rvc-qpr-dev.
Reverted Changes:
Ib5c1854d1:Update FocusFinder

Change-Id: I5f50166322b662b457e1b79b2ce62c622ddd1013
2020-07-23 17:52:12 +00:00
Julia Reynolds
100ea3d3f0 Remove gendered language
Test: atest
Bug: 161908447
Change-Id: Ie331cf630b94e600326e77dfa81d01fb3f8627f6
2020-07-23 13:04:05 -04:00
Yohei Yukawa
5749b51f8c Fix missing IME switcher icon (w/ a hardware keyboard)
This is a follow up CL to our previous CL [1], which aimed to adjust
the timing to change navbar icons that depend on the IME window
visibility.

One thing we overlooked is that only InputMethodService#IME_VISIBLE
needed to be cleared to keep the back button icon to behave as if the
IME window was invisible.  For the IME switcher icon to work as
intended, the current protocol requires InputMethodService.IME_ACTIVE
to remain to be set even when an IME window is invisible as long as
there is an active session between the app and the IME.

 [1]: I4dc9d6513d0559156f7da39244f3fc5ebc952ed4
      c22eec9d35

Fix: 160283619
Test: Manually done as follows:
  1. Build aosp_coral-userdebug and flash it
  2. make -j SoftKeyboard
  3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
  4. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
  5. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
  6. Open any app that has an EditText
  7. Focus in to the EditText. Make sure the IME shows up and the IME
     switcher icon is visible on the navbar.
  8. Attach a hardware keyboard. Make sure that the IME becomes hidden
     while the IME switcher icon remains to be visible on the navbar.
  9. Detach the hardware keyboard.  Make sure that the IME switcher
     icon remains to be visible on the navbar.
Change-Id: I4a9ddf514a32a221c2372be0ca166fbdac555932
Merged-In: I4a9ddf514a32a221c2372be0ca166fbdac555932
2020-07-23 17:01:31 +00:00
Sarah Chin
f39b4cbec1 Expose NR State string method for use in RadioInfo
Test: build
Bug: 160825855
Change-Id: Ie709cad1c94ad204c46a559d316f45da16c3541c
Merged-In: Ie709cad1c94ad204c46a559d316f45da16c3541c
2020-07-23 09:45:26 -07:00
Jack Yu
c42d38c3ea Fixed unreadble debug messages
Fix: 158875554
Test: Manual
Change-Id: I8aa45474521e4ef5e2368ab25c6c39445e9f779c
Merged-In: I8aa45474521e4ef5e2368ab25c6c39445e9f779c
2020-07-23 09:45:05 -07:00
Tom Cherry
5820c7ef90 Remove log spam from onSubscriptionsChangedListener()
There are many bursts of 'onSubscriptionsChangedListener callback
received.' log messages that contribute greatly to log spam.  If this
message is not actively helping, then it should be removed.

Bug: 161949307
Test: this log doesn't appear
Change-Id: I9f9f2f8fa49bf50bbc9a33193d3b58813627329d
2020-07-23 09:29:50 -07:00
Leon Scroggins
fada7acad0 Merge "Update graphics language to comply with Android’s inclusive language guidance" am: da4dc882af am: a97e560c61 am: 53ee2070ed
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1370379

Change-Id: Ib2c32683f2579700350304b5273cbe3977e1adca
2020-07-23 14:12:14 +00:00
Leon Scroggins
53ee2070ed Merge "Update graphics language to comply with Android’s inclusive language guidance" am: da4dc882af am: a97e560c61
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1370379

Change-Id: I5d853a84c0fe1550d86d0f948f76e532af42e073
2020-07-23 13:56:41 +00:00
Leon Scroggins
a97e560c61 Merge "Update graphics language to comply with Android’s inclusive language guidance" am: da4dc882af
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1370379

Change-Id: Ib6f8a87792c9cb7e24961893e318379e95d274ec
2020-07-23 13:37:28 +00:00