Commit Graph

476803 Commits

Author SHA1 Message Date
Bill Yi
f561833e30 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ibe70e89bdbbb848c3a9a95c70f77febb52c38aad
2020-05-09 15:45:32 -07:00
Varun Shah
b1d32ee75a Merge "Persist Locus Id Event to UsageStatsProto." into rvc-dev 2020-05-09 08:58:13 +00:00
TreeHugger Robot
e9bd677f9f Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-09 05:55:23 +00:00
Wonsik Kim
4b7a07c46e Merge "MediaCodec: check init status before operations" into rvc-dev 2020-05-09 04:59:55 +00:00
Jing Ji
04dc962d1d Merge "Check the isInUse with the lock held in MessageQueue" into rvc-dev 2020-05-09 04:18:39 +00:00
Bill Yi
091a3f94c4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I9e53345c6ae201fdf09ee38f473cee987921011f
2020-05-09 03:33:09 +00:00
Wonsik Kim
24e538070f MediaCodec: check init status before operations
Fixes: 155666456
Test: atest CtsMediaV2TestCases:android.mediav2.cts.CodecUnitTest$TestApi
Change-Id: I78eab797f747af7ea83a297f0ea9d9bcf8022a39
2020-05-08 20:04:26 -07:00
Felipe Leme
5d92729cbc Merge "Minor fix on UserSystemPackageInstaller.checkWhitelistedSystemPackages()." into rvc-dev 2020-05-09 01:01:04 +00:00
David Su
5d1cb4fe1e Merge "Revert "frameworks/base/wifi/tests: Run mts-wifi on AOSP builds"" into rvc-dev 2020-05-09 00:21:18 +00:00
TreeHugger Robot
97d2cb33f2 Merge "UserTypeDetails.dump restrictions for SYSTEM" into rvc-dev 2020-05-08 23:56:55 +00:00
Alec Mouri
00f681a582 Merge "Dispatch refresh rate callbacks from DMS" into rvc-dev 2020-05-08 23:54:17 +00:00
Robert Snoeberger
0d85a392af Merge "Revert "Don't show global actions if already handled"" into rvc-dev 2020-05-08 22:33:02 +00:00
Robert Snoeberger
5e8801cc8b Revert "Don't show global actions if already handled"
This reverts commit 62b08743c6.

Reason for revert: The tests are failing consistently now, not just flaking. The problem is that `adb shell input keyevent --longpress 26` doesn't open global actions dialog after a reboot. After the dialog has been opened the first time, it will start working.

Change-Id: I32faba89d19b24bc4141cc9bb56abffb70aeb52f
Bug: 156037650
2020-05-08 22:32:42 +00:00
Tyler Gunn
dcbb86a7bd Merge "Improve connection manager logging." into rvc-dev 2020-05-08 22:12:19 +00:00
Adam Bookatz
576e8863fa Merge "EventLog for UserController broadcasts" into rvc-dev 2020-05-08 22:00:02 +00:00
Alex Buynytskyy
9bd14c445e Merge "Addressing CL comments." into rvc-dev 2020-05-08 21:25:19 +00:00
Jing Ji
baf2d6448e Check the isInUse with the lock held in MessageQueue
Fix a potential race condtion when the same message object
is being enqueued by two threads.

Bug: 150263007
Bug: 154867444
Test: atest android.os.cts.MessageQueueTest
Change-Id: Id79448ba8719479cbdb054f2cdd172fdcbe86d47
(cherry picked from commit 96a6fec4d6)
2020-05-08 21:14:23 +00:00
Winson Chung
331ac296f7 Merge "Account for DPM state when checking FLAG_SECURE" into rvc-dev 2020-05-08 20:58:20 +00:00
Hai Zhang
16f0eb1ef9 Merge "Don't enforce declaration of app op permissions without public API." into rvc-dev 2020-05-08 20:55:14 +00:00
David Su
6cb518de87 Revert "frameworks/base/wifi/tests: Run mts-wifi on AOSP builds"
Revert "opt/net/wifi/tests: Run mts-wifi on AOSP builds"

Revert submission 10814415-mts-wifi-com-androi-wifi

Reason for revert: Workaround no longer necessary: b/152559881#comment2
Reverted Changes:
I11baae67e:frameworks/base/wifi/tests: Run mts-wifi on AOSP b...
I66febcbb2:opt/net/wifi/tests: Run mts-wifi on AOSP builds

Bug: 152559881
Test: in continuous runs
Change-Id: I1d5f4d312f4e15ae5e2e56965b3fc76fdefcdcea
2020-05-08 20:43:10 +00:00
Hongwei Wang
e63217a7b9 Merge "Do not show PipMenuActivity during expansion" into rvc-dev 2020-05-08 20:33:54 +00:00
Adam Bookatz
3271b59186 UserTypeDetails.dump restrictions for SYSTEM
The SYSTEM user does not get its default restrictions
from UserTypeDetails.mDefaultRestrictions; rather it gets
it from config_defaultFirstUserRestrictions. Therefore, we
now dump those restrictions from the latter (instead of
the former) for the SYSTEM user.

Fixes: 146793707
Test: manual check of: adb shell dumpsys user
Change-Id: I5cf04d20fe9edd748803634ec80336b267695ce6
Merged-In: I5cf04d20fe9edd748803634ec80336b267695ce6
2020-05-08 20:03:02 +00:00
Adam Bookatz
ca7f1f405f EventLog for UserController broadcasts
Bug: 149604218
Test: adb shell logcat -b events | grep uc_
Change-Id: I70d19e06723efd565c18b065be57b25f2c3b968c
2020-05-08 19:46:31 +00:00
Eugene Susla
511c3aa955 Merge "Fix auto revoke installer whitelist APIs" into rvc-dev 2020-05-08 19:34:38 +00:00
Hall Liu
ee1249911a Merge "Convert Telephony broadcasts to be non-sticky" into rvc-dev 2020-05-08 19:27:56 +00:00
Jonathan Nguyen
098e95bb9b Merge "Add App Usage atom to atoms.proto" into rvc-dev 2020-05-08 19:23:38 +00:00
Hai Zhang
17ae954834 Don't enforce declaration of app op permissions without public API.
Fixes: 155936071
Test: atest IpSecManagerTunnelTest
Change-Id: If817b995b1d15c98b3923292df382b8c71891f63
2020-05-08 12:05:59 -07:00
Ming-Shin Lu
ec956ce538 Merge "Fix focus cleared and password keyboard shown during IME switching" into rvc-dev 2020-05-08 18:45:34 +00:00
John Reck
acf8443e9a Merge "Avoid excessive KGSL maps" into rvc-dev 2020-05-08 18:44:55 +00:00
Dave Mankoff
6727245a59 Merge "Prevent NPE in PulseExpansionHandler" into rvc-dev 2020-05-08 18:44:47 +00:00
Winson Chung
0026f65e2a Account for DPM state when checking FLAG_SECURE
- If the profile has disable screen capture enabled on their work
  profile, then DPM service will directly set the secure state on
  the surfaces, but the window flags aren't updated. Callers need
  to check the cache state to also ensure that they report the
  right secure state when taking a snapshot and when rotating.

Bug: 156104186
Test: Open a work profile app with screen capture disabled and
      ensure the task snapshot dump state reflects the secure
      state
Change-Id: I7cc6d525c818346846d27bdfad1961b464dfb46d
2020-05-08 18:39:41 +00:00
Jiabin Huang
acc2acafe7 Merge "Support query encapsulation information." into rvc-dev 2020-05-08 18:26:31 +00:00
Haibo Huang
d5f905df8f Merge "Fix the use of pdfium" into rvc-dev 2020-05-08 18:13:47 +00:00
Jay Aliomer
1d555b86cb Merge "Revert "Allow SUW to change dark theme"" into rvc-dev 2020-05-08 17:44:38 +00:00
Jonathan Nguyen
8d8ff53c41 Add App Usage atom to atoms.proto
Test: m -j
Bug: 156041159
Change-Id: Ie0fd99df5b1d8776b6e3c29f7fb2da4759bb465d
Merged-In: Ie0fd99df5b1d8776b6e3c29f7fb2da4759bb465d
(cherry picked from commit ee7dd8f2b2)
2020-05-08 10:44:20 -07:00
Ryan Mitchell
5c8dd641ba Merge "Do not rename R.java package" into rvc-dev 2020-05-08 17:37:46 +00:00
Alex Buynytskyy
d0855a3ad8 Addressing CL comments.
Bug: 153874006
Test: test PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Change-Id: Ie8b86cdc382955840cc3718d79a45991cf89b879
2020-05-08 10:35:58 -07:00
Alex Stetson
abaab46da7 Merge "Update top bar with new settings intent" into rvc-dev 2020-05-08 17:31:14 +00:00
Mehdi Alizadeh
49afa94de7 Merge "Enable the System Navigation settings page in AOSP" into rvc-dev 2020-05-08 17:29:48 +00:00
John Li
7da465dcfe Merge "Provide BatteryControllerImpl" into rvc-dev 2020-05-08 17:24:12 +00:00
Nikita Ioffe
a23a9dc83b Merge "PackageParser2: collect certificates if requested" into rvc-dev 2020-05-08 17:10:47 +00:00
Ming-Shin Lu
a4cb6f3a45 Fix focus cleared and password keyboard shown during IME switching
When IME switches, InputMethodService will be rebound and re-initialize
input view, since it needs take time to update the layout, if the insets
calculation happens during the layout, the givenContentInsets are not ready
yet during this phases, then the insets size will abnormal
and may cause the IME target layout will be resized to zero height after
applied insets change.

If the view layout is focused, system will clear such 0-sized view
focus, since user can't easily aware and it's not safe to focus on invisible view
(refer CL[1]), then after IME switches, input connection will break because
the view focus lost.

Make sure to set the valid IME insets sources frame when the server side visible
set as true in InsetSourceProvider.

[1]: 5db64eb1da

Fix: 153612876
Test: atest InsetsSourceProviderTest#testUpdateSourceFrameForIme
Test: atest InsetsSourceTest InsetsStateTest InsetsSourceProviderTest \
            InsetsControllerTest InsetsStateControllerTest \
            InsetsSourceConsumerTest
Test: atest ImeInsetsControllerTest

Change-Id: Id2c482e112c1d73cf7d5b3ba5e1a2d5775f47298
2020-05-09 00:36:27 +08:00
Chavi Weingarten
1edeeee316 Merge "Notify Accessibilty about rotation in applyRotation" into rvc-dev 2020-05-08 16:00:10 +00:00
Ruchir Rastogi
0bb978de88 Merge "Use proper platform version checks (apigen)" into rvc-dev 2020-05-08 15:58:56 +00:00
Jorim Jaggi
5e980bfd8b Merge "Revert "Fix pip enter/expand from split-screen secondary."" into rvc-dev 2020-05-08 15:46:39 +00:00
felipeal
c0f12866f0 Minor fix on UserSystemPackageInstaller.checkWhitelistedSystemPackages().
Test: adb shell cmd user report-system-user-package-whitelist-problems --mode 1 -v

Bug: 154112291

Change-Id: I6be1462293b9b6f739dabcef55d008764ab54265
2020-05-08 08:26:23 -07:00
Kweku Adams
86a71e6e93 Merge "Add master switch to enable/disable RESTRICTED bucket." into rvc-dev 2020-05-08 15:01:03 +00:00
TreeHugger Robot
2a338b2fe4 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-08 14:37:31 +00:00
Tiger Huang
d8bb9b4dd8 Merge "Prevent unnecessary updateRequestedState" into rvc-dev 2020-05-08 13:37:42 +00:00
Beverly Tai
c7810730ba Merge "Remove uninflated notifs from allNotifs list" into rvc-dev 2020-05-08 13:17:43 +00:00