Commit Graph

482279 Commits

Author SHA1 Message Date
TreeHugger Robot
0f05db89c3 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-05-16 04:35:11 +00:00
TreeHugger Robot
65e9e82b3e Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-05-16 04:34:51 +00:00
TreeHugger Robot
24bb35c160 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: b1b49973c5 -s ours
am skip reason: subject contains skip directive

Change-Id: Iba53084c7cc5ba8d0034d69e7af622fbf3a0aa0d
2020-05-16 04:16:02 +00:00
TreeHugger Robot
bd30d0521d [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 4349d7e867 -s ours
am skip reason: subject contains skip directive

Change-Id: I82cff33a45aec0e7bf76a5aed700dc19190250da
2020-05-16 04:15:23 +00:00
Eric Laurent
bf01a79a83 Merge "AudioService AudioDeviceBroker: fix speakerphone control" into rvc-dev 2020-05-16 03:58:21 +00:00
TreeHugger Robot
b1b49973c5 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-05-16 03:46:34 +00:00
TreeHugger Robot
4349d7e867 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2020-05-16 03:46:20 +00:00
TreeHugger Robot
9676b9067e Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-05-16 03:45:50 +00:00
TreeHugger Robot
69a74bc73d Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-05-16 03:45:37 +00:00
TreeHugger Robot
c31fb50fd8 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-05-16 03:45:23 +00:00
TreeHugger Robot
c20fcfeeff Merge "Don't create StateTrackers for whitelisted atoms" into rvc-dev 2020-05-16 03:39:38 +00:00
Beth Thibodeau
65c9da3e22 Fix notification ids for share/delete actions
Fixes: 156644938
Fixes: 156668516
Test: manual
Change-Id: I9a254d9dcc02fc37cd4e40b25c11098df58238b1
2020-05-15 23:34:51 -04:00
Tiger Huang
cac4132055 Merge "Make IME source frame not smaller than nav bar frame" into rvc-dev 2020-05-16 03:03:23 +00:00
Winson Chung
3de7d3309e Merge "Disable debugging sysui flags" into rvc-dev 2020-05-16 02:35:03 +00:00
Winson Chung
c4ea03559a Merge "Fix regression in adding recents input consumer leading to ANR" into rvc-dev 2020-05-16 02:34:32 +00:00
Muhammad Qureshi
b1eee0beab Don't create StateTrackers for whitelisted atoms
Whitelisted atoms can be logged from any app so integrity of StateTrackers
for those atoms cannot be guaranteed.

Fixes: 155522551
Test: statsd_test
Change-Id: Ifc64e9168ee5f1f8977b99534319bc65946630f0
2020-05-15 19:13:56 -07:00
TreeHugger Robot
4cb4f934be Merge "Add check for null actions" into rvc-dev 2020-05-16 01:52:10 +00:00
TreeHugger Robot
059531924e Merge "When entering PIP with multi-activity, re-use mLastNonFullscreenBounds." into rvc-dev 2020-05-16 01:48:30 +00:00
TreeHugger Robot
7588f0d7a0 Merge "Fix for goat detection code" into rvc-dev 2020-05-16 01:41:30 +00:00
TreeHugger Robot
e061bdbfe1 Merge "Add keylayout for Steam controller (USB)" into rvc-dev 2020-05-16 01:13:57 +00:00
Winson Chiu
605ec6e272 Merge "Remove PlatformCompat dependency from getPackageArchiveInfo" into rvc-dev 2020-05-16 01:12:23 +00:00
TreeHugger Robot
9933478ea0 Merge "Avoid launching activity-based feature to force stop exist actiivty and recreate it." into rvc-dev 2020-05-16 01:09:05 +00:00
Diego Vela
5d84efb16a Revert "Revert "Fix resize info activity not showing in some cases""
This reverts commit 25cbe9d7c7.

Fix resize info activity not showing in some cases

Show all visible activities in split screen primary window.
Add test to verify showing all activities.

Reason for revert: Adding back chagnes to fix original bug.
Seems that the changes in the original CL uncovered a different bug.

Bug: 156314330
Bug: 135520403
Test: atest CtsWindowManagerDeviceTestCases:PinnedStackTests
      atest WmTests:ActivityStarterTests

Change-Id: I547e546708b669e055b9b9d9957c53bea50e52a6
2020-05-15 17:43:45 -07:00
TreeHugger Robot
d61819746b Merge "Have IMMS report IME UID to AudioService" into rvc-dev 2020-05-16 00:41:43 +00:00
Quang Luong
2f22caca40 Deprecate WifiTracker/AccessPoint
Mark WifiTracker/AccessPoint as deprecated and include links to the
successor classes in WifiTrackerLib.

Bug: 153653213
Test: build
Change-Id: I91a40a984b6de32b711dc963186ac5358e053542
2020-05-15 17:32:09 -07:00
Beth Thibodeau
4580c83559 Add check for null actions
Fixes: 156779454
Test: manual
Change-Id: I4b41f0ff78373ae59e29b1fc5bede52f75848ede
2020-05-15 20:19:30 -04:00
Ben Lin
ae5daa2179 Deprecate PipBoundsHandler#mLastDestinationBounds.
It's only used in one place, and just for setShelfHeight. We will just
use PipTaskOrganizer's bounds instead.

Bug: 147155783
Test: atest PinnedStackTests
Change-Id: I3a200a5df65e4e602286e9397b3b4586f9c2952f
2020-05-15 17:19:03 -07:00
Heemin Seog
eab08c2c0f Merge "Modify aspects of the phone sysui which is not relevant to car sysui" into rvc-dev 2020-05-15 23:48:57 +00:00
Evan Rosky
0b3820f0a6 Merge "Update home bounds when entering split on rotation" into rvc-dev am: 0a0df88b47
Change-Id: Iec71fc514d23c179805122e0055a4db1859b14a1
2020-05-15 23:47:55 +00:00
Evan Rosky
0a0df88b47 Merge "Update home bounds when entering split on rotation" into rvc-dev 2020-05-15 23:44:07 +00:00
TreeHugger Robot
5848402f98 Merge "Handle apps that upgrade to full conversations" into rvc-dev am: 01ae9d5c22
Change-Id: I5a72480ebece7480617c27a86174e95aad9c861b
2020-05-15 23:38:24 +00:00
TreeHugger Robot
01ae9d5c22 Merge "Handle apps that upgrade to full conversations" into rvc-dev 2020-05-15 23:35:06 +00:00
TreeHugger Robot
1f551e8ddd Merge "WifiManager: Add a note for NETWORK_SETTINGS_RESET behavior" into rvc-dev am: 558351e00a
Change-Id: I8a73ce0abd4e0e661fd735b0696db9997260b2c6
2020-05-15 23:27:16 +00:00
TreeHugger Robot
884a9ab028 Merge "Persists bubbles to disk (part 5)" into rvc-dev am: 7e8d487ea4
Change-Id: I5dbdbb2a0f5235600ec2ffac9cc222ce486a67d3
2020-05-15 23:27:05 +00:00
Jian-Yang Liu
bcabdfeafc Merge "Set status bar to provide top gesture insets and navigation bar to provide bottom gesture insets." into rvc-dev am: f720550d1c
Change-Id: Ic07db96ec8be8b74b184b6acc2de5d9c7f8c9730
2020-05-15 23:26:45 +00:00
TreeHugger Robot
37334ce7d4 Merge "De-duplicate with callerTargets(added by using Intent.EXTRA_INITIAL_INTENTS) when adding DisplayResolveInfo." into rvc-dev am: e79c1056b2
Change-Id: I65562306c089dfedc3d06ae147f4f619fdd69ab5
2020-05-15 23:26:16 +00:00
Patrick Baumann
5bbb8fe00a Doc update re use of MATCH_UNINSTALLED flag
This change updates the docs for the MATCH_UNINSTALLED flag to note that
without the QUERY_ALL_PACKAGES permission, uninstalled packages will not
be returned.

Bug: 149846504
Test: builds
Change-Id: Id0c5b7f29172bd334dc1b2a32ce1f4eb7b1f0bd3
2020-05-15 16:24:12 -07:00
TreeHugger Robot
558351e00a Merge "WifiManager: Add a note for NETWORK_SETTINGS_RESET behavior" into rvc-dev 2020-05-15 23:21:38 +00:00
TreeHugger Robot
7e8d487ea4 Merge "Persists bubbles to disk (part 5)" into rvc-dev 2020-05-15 23:19:03 +00:00
Jian-Yang Liu
f720550d1c Merge "Set status bar to provide top gesture insets and navigation bar to provide bottom gesture insets." into rvc-dev 2020-05-15 23:18:22 +00:00
Eric Laurent
3aad0adc9f AudioService AudioDeviceBroker: fix speakerphone control
Add a list of clients for speakerphone mode requests similar
to Bluetooth SCO clients. This allows to keep track of requests
by different apps in case of overlap or concurrency and to apply
the most relevant mode according to current audio mode owner.

Also:
- Restore requested speakerphone mode when SCO audio is disconnected
instead of returning to earpiece.

- Remove special check on permission while in call in
AudioService.setSpeakerphoneOn because the priority is now
managed by AudioDeviceBroker based on audio mode owner (the owner
for MODE_IN_CALL must have the modify phone state permission).

- Fix condition in AudioService.setMode() preventing from changing
mode while in call. Now allows releasing mode to NORMAL or
reapplying the same mode and just change mode owner.

- Add more information in dumpsys for AudioDeviceBroker and BtHelper.

Bug: 154464603
Test: test transitions between cell call and VoIP calls
Test: Test regressions with calls in speakerphone mode and Bluetooth
Test: AudioManagerTest#testRouting, NoAudioPermissionTest#testRouting

Change-Id: I0d288acf2373c96d52eb91a6ab7142cc3535c719
2020-05-15 16:15:23 -07:00
TreeHugger Robot
e79c1056b2 Merge "De-duplicate with callerTargets(added by using Intent.EXTRA_INITIAL_INTENTS) when adding DisplayResolveInfo." into rvc-dev 2020-05-15 23:10:41 +00:00
Miranda Kephart
fe433a7d83 Merge "Update RTL/dark theme/orientation dynamically" into rvc-dev am: 3a9ceed26b
Change-Id: Icf417d597641d41d8922bfbb3b9986a3056e01ae
2020-05-15 23:04:05 +00:00
Miranda Kephart
3a9ceed26b Merge "Update RTL/dark theme/orientation dynamically" into rvc-dev 2020-05-15 22:55:52 +00:00
Ben Lin
5400de3599 Update bound as user moves PIP, and reuse it for snapAlgorithm reentry.
Update PipTaskOrganizer's last reported bounds as user moves the PIP
around. We then use this bound to calculate the snap fraction, and then
restore it on display rotation.

Bug: 147155783
Test: Start PIP, move PIP to different corner, rotate - same corner.
Change-Id: Ieb7054d9b66557aae63260767689d6523d87cdca
2020-05-15 15:55:27 -07:00
TreeHugger Robot
64387d2da2 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-05-15 22:55:27 +00:00
Winson Chung
4af2067650 Fix regression in adding recents input consumer leading to ANR
- Because cantReceiveTouchInput() accounts for whether an activity is
  being controlled by recents (it shouldn't receive touches), we happen
  to skip adding the recents input consumer below.  However, because the
  activity input window is skipped and the input consumer is not added,
  we end up with no focused window, which then means that the next touch
  on a nav button will try to inject a keyevent to no focused windows,
  which triggers an ANR.

  Ensure that we fall through to the logic below to add the recents
  input consumer specifically in the case where an app window shouldn't
  receive touches, but should have the recents input consumer applied.

Bug: 156394972
Test: Take surface trace while swiping up and ensure the input consumer
      is relz to the app window being controlled

Change-Id: I9606dbef4565508514f4ff2f9ef464e9737bd7cc
Signed-off-by: Winson Chung <winsonc@google.com>
2020-05-15 22:52:47 +00:00
Winson
7029b75f67 Remove PlatformCompat dependency from getPackageArchiveInfo
It requires a permission which we can't force apps to take to
maintain backwards compatibility. We also arguably cannot because
it leaks visibility, although only for debuggable apps/non-release
builds.

Instead, there's a new static method for getting the raw targetSdk
to gate against and the check is done manually, ignoring
enabled/disabled state. This will cause a mismatch between certain
apps and some system services like AppIntegrityManager, but the
effects should be minimal if we assume that most people ship
valid APKs. At worse the integrity check will pass an APK that
PM will fail, which doesn't break the feature.

Bug: 156356591
Bug: 156778241

Test: manual device boots

Change-Id: I877a5061476b86b9d63c34e75f16b38be8c3e1c2
2020-05-15 15:52:05 -07:00
Neil Fuller
b28e0568a0 Revert "Persists bubbles to disk (part 4)"
This reverts commit 293b83d81e.

Reason for revert: May have caused http://b/156697897
Bug: 156697897
Change-Id: I9ce37a54abd25cc6a6dde2c7728d2da1076654c5
2020-05-15 22:45:46 +00:00
Youngjun Kwak
c0c8f479aa Merge "Post KeyguardGone request to main Handler so multidisplay keyguards are dismissed properly." into rvc-dev am: 7c02fa2358
Change-Id: Ib96980a65acd1d8ed90df859039438c429c4cd00
2020-05-15 22:43:52 +00:00