Commit Graph

542466 Commits

Author SHA1 Message Date
Automerger Merge Worker
f5e8788666 Merge "[automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-d1-dev am: 0400518f05 -s ours am: f4d7d9bd0e -s ours" into rvc-qpr-dev-plus-aosp 2020-06-17 00:04:03 +00:00
TreeHugger Robot
4b0075189e [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-d1-dev am: 0400518f05 -s ours am: f4d7d9bd0e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I24e700cdcf2f5d536e68da6555a6bf3d9c81aca6
2020-06-17 00:03:52 +00:00
TreeHugger Robot
dc1a9eba2f Merge "Revert "Disable user animations on insets whose visible frame is empty"" into rvc-dev am: 11fcb1987a am: 37de161ec5 am: a62362b295
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11883882

Change-Id: I7d32fceafa25b2d3d9a66879bf59e7e5e0aa66e2
2020-06-17 00:03:40 +00:00
Hall Liu
ae6a918ba9 Mark TelecomManager#isRinging as a TestApi
Bug: 150320750
Test: atest BackgroundCallAudioTest
Change-Id: I048960feb97cd6cf081056ee649e7ea8dacdc8e3
Merged-In: I048960feb97cd6cf081056ee649e7ea8dacdc8e3
2020-06-16 16:52:24 -07:00
Evan Rosky
38e9b2141d Fix checking crop region for home/recents
Wasn't handling split-screen properly. Now it checks if the
home/recents is the top of its "visibility" stack vs top
of root-task. This means it must be the top sibling in either
the displayarea or the root-split. This check is necessary
for dealing with visible windows that are behind a translucent
task.

Bug: 159138687
Test: Enter split with 2 apps, close the top app, return to home
      and verify that it receives touches in top half
Change-Id: Ie6fed2dd945952b83116721a98fc6d7c8396729f
2020-06-16 16:52:00 -07:00
Hunter Knepshield
87cd4b0761 Reevaluate some carrier-associated apps' status on SDK changes.
If a carrier-associated app is added to the system image after the
device is initially launched (e.g. Q -> R OTA), the logic to disable
apps without a corresponding SIM will not run, leaving the app in an
enabled state in more cases than there should be.

To safely account for this, we only reevaluate on SDK change for apps
whose addedInSdk value falls within the range since the last time we
evaluated carrier apps' statuses. Apps that set lower (or higher)
SDK versions are ignored. We choose *not* to use minimum or target SDK
version here because it's more likely to change with each OTA /
prebuilt, which could cause unintended disable operations (or lack
thereof).

Bug: 154872019
Test: manual, QA, atest FrameworksTelephonyTests:CarrierAppUtilsTest
Change-Id: I97ddfa03f34e7d00e66ce7cd508d6d2a5e83fbc2
2020-06-16 16:48:58 -07:00
Hunter Knepshield
1172ffa7c2 Add new "addedInSdk" attribute to carrier-associated apps.
Previously, the sysconfig wasn't capable of understanding
carrier-associated apps that were added after a device's initial launch
(i.e. via OTA) because the logic in CarrierAppUtils explicitly avoids
disabling such apps a second time.

Most of this change is just plumbing everything through. For now, it's
all @hide due to R API deadlines. It will be made public in S.

Bug: 154872019
Test: manual, QA, atest FrameworksTelephonyTests:CarrierAppUtilsTest
Change-Id: I530a4f73146b09879547ca2e0c26428957fef37a
2020-06-16 16:48:38 -07:00
TreeHugger Robot
f4d7d9bd0e [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-d1-dev am: 0400518f05 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6d221ef5b073e4af64bda42fac885d5569c864ba
2020-06-16 23:46:45 +00:00
TreeHugger Robot
1d6701099e [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-d1-dev am: 0400518f05 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I75b906a4094f55a9247d49a5cd0e7190a86c4ce1
2020-06-16 23:46:28 +00:00
Lucas Dupin
a73d43fcee fix issue where players would be wrongly dismissed
When resumption is disabled, we should only remove players when
timedOut is true.

Fixes: 158721393
Test: manual
Change-Id: I18b36c95ac72d5728ed203ac2b5d344b58676dc4
2020-06-16 16:44:53 -07:00
TreeHugger Robot
edce56bd21 Merge "Guard against NPE in ServiceConnector" into rvc-dev am: 892d269b65 am: c727d39f86
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885859

Change-Id: If9f33976fa985ee13fd9f219456a24204ba01793
2020-06-16 23:34:51 +00:00
TreeHugger Robot
a62362b295 Merge "Revert "Disable user animations on insets whose visible frame is empty"" into rvc-dev am: 11fcb1987a am: 37de161ec5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11883882

Change-Id: I87dcee6341c69226c000062e38b30a988b3064b7
2020-06-16 23:34:36 +00:00
TreeHugger Robot
0400518f05 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-06-16 23:33:13 +00:00
jorgegil@google.com
0c449ec2ef Inject PipAnimationController into PipTaskOrg
Allows easier mocking in unit tests.

Bug: 159165010
Test: atest SystemUITests
Change-Id: Ib3efe837c14c140890e3b1b10a17579c7ceb9449
2020-06-16 16:30:07 -07:00
TreeHugger Robot
e8f323c8ed [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 02f853ebe6 -s ours am: b9e95898fd -s ours am: bfd15ac6cd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I31e08723b40d3dd1d68e632bf3428f3d7d1b9e08
2020-06-16 23:19:12 +00:00
TreeHugger Robot
c727d39f86 Merge "Guard against NPE in ServiceConnector" into rvc-dev am: 892d269b65
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11885859

Change-Id: Idd48f43080ea27af04d0b6e27a308304d8d14104
2020-06-16 23:18:52 +00:00
TreeHugger Robot
2e912866fc [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 384982ef62 -s ours am: e47deb8157 -s ours am: e242d03f17 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I42c6ddb4fa10ae8e868c8b78828efded44d84f65
2020-06-16 23:18:41 +00:00
TreeHugger Robot
37de161ec5 Merge "Revert "Disable user animations on insets whose visible frame is empty"" into rvc-dev am: 11fcb1987a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11883882

Change-Id: I2b97b5a88908579d3ff142fa21b1b41f59188b03
2020-06-16 23:18:15 +00:00
TreeHugger Robot
892d269b65 Merge "Guard against NPE in ServiceConnector" into rvc-dev 2020-06-16 23:11:11 +00:00
Pinyao Ting
175a5b8fde decouple Bubble from NotificationEntry
1. decouple Bubble from NotificationEntry
2. save title from Bubble into BubbleEntity
3. copied boolean values from NotificationEntry into Bubble for UI
variants (e.g. isVisuallyInterruptive, isClearable,
shouldSuppressNotificationDot... e.t.c)

Bug: 151474524, 159061670
Change-Id: I606c6ff93b3dc3867b4d0a6129d7117d9999c170
Test: atest android.app.cts.NotificationManagerTest

This reverts commit 2e73117c0e.

Reason for revert: issue fixed, rolling forward again

Change-Id: I1180954a76bee9782df46de0f202c614f05d560f
2020-06-16 16:07:00 -07:00
Patrick Baumann
257b9e451f Null check on permission request check
This change adds a null check on PackageSetting.pkg before passing it on
to the method that checks for the QUERY_ALL_PACKAGES permission on the
package.

Test: atest AppEnumerationTests AppsFilterTest
Bug: 150405193
Change-Id: Ic92e29c685ff215f1c54dbb4aa8a0c6377a30fa7
2020-06-16 16:06:05 -07:00
Nikita Dubrovsky
d0433c7108 Dataset authentication for Augmented Autofill
Setting an authentication IntentSender on an Augmented Autofill
suggestion was being ignored. With this change, it will trigger
the auth flow as documented.

Fix: 157863999
Test: Manual
Test: atest android.autofillservice.cts.inline
Change-Id: Id21c8f074bd0f49992e01445d50b1503af4720b6
2020-06-16 16:03:36 -07:00
TreeHugger Robot
bfd15ac6cd [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 02f853ebe6 -s ours am: b9e95898fd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6cd5f01c31d88aa4fd4a2344d24c212beeff396c
2020-06-16 23:02:33 +00:00
TreeHugger Robot
e242d03f17 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 384982ef62 -s ours am: e47deb8157 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1a5500a4efffecf0a2253ca0ad44e532ae7e9a98
2020-06-16 23:01:40 +00:00
TreeHugger Robot
11fcb1987a Merge "Revert "Disable user animations on insets whose visible frame is empty"" into rvc-dev 2020-06-16 23:01:15 +00:00
TreeHugger Robot
b9e95898fd [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 02f853ebe6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Idc4dc1b0f398373dbd317dae60d7c80510ebed1c
2020-06-16 22:48:52 +00:00
TreeHugger Robot
e47deb8157 [automerger skipped] Merge "Import translations. DO NOT MERGE" into rvc-dev am: 384982ef62 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I06e24ee703787ff8367bbce84115a5915dc2d45c
2020-06-16 22:47:55 +00:00
Sudheer Shanka
7535154473 Include blob sizes in blob_store service dump.
+ Correctly synchronize a couple of methods
  (used for debugging) which were missing the locking.
+ Log entries deleted during idle maintenance window
  which happens at most once every 24 hrs.

Fixes: 158351456
Test: atest --test-mapping apex/blobstore
Change-Id: I5d1a1ffc28b009274d981d1ccdac30092d4c3732
2020-06-16 15:35:52 -07:00
TreeHugger Robot
02f853ebe6 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-16 22:35:48 +00:00
Feng Cao
a65d72c97d Merge "Fix input method switch handling in autofill" into rvc-dev am: e710511e85 am: 5570212564 am: 47031427e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11855410

Change-Id: I9e179ffbfaf201e4ab4c221d74d2911d6ae1a047
2020-06-16 22:28:44 +00:00
Shuo Qian
37bbc2480a [automerger skipped] Merge "Change the threshold for RSSNR from 10*db to db" am: 4455014028 am: 89dcc9e97b -s ours am: 1c32459a7e -s ours am: f380843f9f -s ours
am skip reason: Change-Id I9bc4b2f601d7d3f2a32ca34768ecb2a78d59d5bb with SHA-1 6775b77bd5 is in history

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

Change-Id: I680dd723867b7bfc4a4700e7eb87c0051576a8b9
2020-06-16 22:27:59 +00:00
TreeHugger Robot
384982ef62 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-16 22:18:36 +00:00
Feng Cao
91dae475de Fix a bug where we didn't call IME before calling augmented autofill
* For inline autofill, we always need to get an IME callback before
  calling the augmented autofill service. This is because although
  autofill keeps a list of undestroyed sessions, the IME side
  always discards the old callback for autofill when a new one
  is created. So in case of switching back to an existing autofill
  session, we need to make sure we ask the IME to return a new
  callback.
* we current have the check which missed a case where we are
  re-entering an existing autofill session, but the standard
  autofill was returning null the previous time,
  so it goes to trigger augmented autofill directly. In this case,
  we need to call IME onCreateInlineSuggestionsRequest to get a
  callback before calling the augmented autofill. We didn't, and
  this patch fixes it.

Test: atest android.autofillservice.cts.inline
Test: manual
Bug: 158877106
Change-Id: Ie15cf0763ae49a204ad09c2eaac798890388622e
2020-06-16 15:10:47 -07:00
Feng Cao
47031427e4 Merge "Fix input method switch handling in autofill" into rvc-dev am: e710511e85 am: 5570212564
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11855410

Change-Id: If415510a2b499ebb3b15fa6f7bf248b30df98c2f
2020-06-16 22:09:34 +00:00
Shuo Qian
f380843f9f [automerger skipped] Merge "Change the threshold for RSSNR from 10*db to db" am: 4455014028 am: 89dcc9e97b -s ours am: 1c32459a7e -s ours
am skip reason: Change-Id I9bc4b2f601d7d3f2a32ca34768ecb2a78d59d5bb with SHA-1 6775b77bd5 is in history

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

Change-Id: If7f18b09501c05bedd3a11d23fe476d7877f9b84
2020-06-16 22:09:12 +00:00
Gopinath Elanchezhian
3745571a06 Add collector library in multi user per test apk.
Enable permissions needed to write the trace file in the device.

Bug: b/155805394

Test: make MultiUserPerfTests
Change-Id: I650307133c5325aa92aa6e12f2a77566f314f174
2020-06-16 15:09:08 -07:00
Feng Cao
5570212564 Merge "Fix input method switch handling in autofill" into rvc-dev am: e710511e85
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11855410

Change-Id: Ib7ae5b2b2d7148fdf618fd7a82af1df611a407ca
2020-06-16 22:08:37 +00:00
Josh Tsuji
44318ebe36 Fix issue with dragging bubbles in fullscreen.
This ensures that we only animate the stack temporarily invisible if we're not dragging something or a flyout is still showing.

This also adds a 2s delay before hiding the stack if it was visible due to drag/flyout, since a) it looks better b) that way you can open the stack back up if you didn't mean to let go.

Fixes: 159064066
Test: open fullscreen youtube, show status bar, drag around until status bar goes away, then fling bubbles somewhere and observe
Test: get a flyout while in fullscreen, touch the flyout until the status bar goes away, then collapse flyout
Change-Id: I06bc148161a1d51ee047b3861c1d01e7685c2943
2020-06-16 22:01:16 +00:00
Hai Zhang
d8ba685748 Skip generating missing permission state for unknown permissions.
Fixes the NullPointerException. Unknown permissions was skipped in
restorePermissionState() when handling changing regarding platform
permissions, so it's safe to skip it when generating missing
(platform) permission state as well.

Test: Flash a recent build without this fix
Test: Install an app which uses an unknown permission
Test: Manually remove app entry in runtime-permissions.xml with root
Test: Reboot device and confirm system server crash and stacktrace
Test: Flash a build with this fix, without clearing data
Test: Confirm system boots, log shows missing permission state was
Test: generated for the app and unknown permission was skipped
Bug: 158860316
Change-Id: Idfc9b5bf6c69772d41ccf781b84a4d101ed1277d
2020-06-16 14:59:30 -07:00
Beth Thibodeau
50f484ba7c Merge "Make view intent immutable" into rvc-dev am: 80bf9c825a am: a0c29a2951 am: 2dd301d59e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11869229

Change-Id: Ic513409a4c936ea14daeb2889801865d1942be33
2020-06-16 21:57:37 +00:00
TreeHugger Robot
3f03ee3a76 Merge "Document ACTION_WEBVIEW_SETTINGS possible unavailability" into rvc-dev am: 3b915e51e1 am: 9a815ca899 am: cd2ff042ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11602072

Change-Id: I10aed0020167584e51dea999caf68b3d01f7a714
2020-06-16 21:56:30 +00:00
Shuo Qian
1c32459a7e [automerger skipped] Merge "Change the threshold for RSSNR from 10*db to db" am: 4455014028 am: 89dcc9e97b -s ours
am skip reason: Change-Id I9bc4b2f601d7d3f2a32ca34768ecb2a78d59d5bb with SHA-1 6775b77bd5 is in history

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

Change-Id: Icb66438ca59036de604794c507e01626beb996a2
2020-06-16 21:55:54 +00:00
alexmang
1b3881ec37 Manage education title and description are two lines and ellipsized
Bug: 159103287
Change-Id: I1e8fc07c1beda103577a819ce3a27c443c65adb2
2020-06-16 14:54:57 -07:00
Feng Cao
e710511e85 Merge "Fix input method switch handling in autofill" into rvc-dev 2020-06-16 21:54:13 +00:00
Shuo Qian
89dcc9e97b Merge "Change the threshold for RSSNR from 10*db to db" am: 4455014028
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1340120

Change-Id: Ie572e6ab11ea5d47d25e8d35c22f6b7258767333
2020-06-16 21:37:14 +00:00
Yohei Yukawa
f35971dfca Revert "Disable user animations on insets whose visible frame is empty"
This reverts commit 0b9450bab9.

Reason for revert:
Broke ImeInsetsControllerTest#testChangeSizeWhileControlling

Bug: 157777145
Fix: 159154994
Test: atest CtsInputMethodTestCases
Test: atest InsetsSourceConsumerTest
Change-Id: I6c47ec5f8498a3566c543d4d1d6ef62e325ccd8e
2020-06-16 21:32:01 +00:00
Hao Chen
8de2ca3e5c Move car companion device support app perms to framework
Test: build and flash the trout PDK, boot to the UI
Bug: 158483244
Change-Id: Ic8cd135cde2d616e5a8d36b71de56acba4dab261
2020-06-16 21:30:12 +00:00
Beth Thibodeau
2dd301d59e Merge "Make view intent immutable" into rvc-dev am: 80bf9c825a am: a0c29a2951
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11869229

Change-Id: Ib379d7841579611f5210eaeb3ce67e369d69b2ca
2020-06-16 21:29:21 +00:00
TreeHugger Robot
cd2ff042ff Merge "Document ACTION_WEBVIEW_SETTINGS possible unavailability" into rvc-dev am: 3b915e51e1 am: 9a815ca899
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11602072

Change-Id: I14ce076d0f5de441553951b22dfdb8b4c5ca114f
2020-06-16 21:28:49 +00:00
Shuo Qian
4455014028 Merge "Change the threshold for RSSNR from 10*db to db" 2020-06-16 21:26:10 +00:00