Commit Graph

640958 Commits

Author SHA1 Message Date
Nathalie Le Clair
1d5d3ca3cf Add lcnathalie to OWNERS
Bug: N/A
Test: N/A
Change-Id: I369963eb006affb24cba0ab9ef97ec797396fc53
2021-05-12 13:47:10 +02:00
Nathalie Le Clair
9172401c76 Merge changes I9374cadd,Ie8a1707b into sc-dev
* changes:
  Reinitialize PowerManager in unit tests
  Set config values explicitely in unit tests
2021-05-12 11:29:41 +00:00
Joanne Chung
137a248c1f Merge "Add dispatchRequestTranslation() in WebViewProvider." into sc-dev 2021-05-12 11:25:24 +00:00
Treehugger Robot
42da036847 Merge "DSUService: Log verbose installation progress" am: 4463102095 am: b24386b51f am: f33515f618
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1662401

Change-Id: If040e47adf0805021253c74e3f564cd9b699fb24
2021-05-12 10:33:56 +00:00
TreeHugger Robot
8eb397fb04 Merge "Make ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD public" into sc-dev 2021-05-12 10:26:12 +00:00
Treehugger Robot
f33515f618 Merge "DSUService: Log verbose installation progress" am: 4463102095 am: b24386b51f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1662401

Change-Id: I622547967e10ae8b9363a560e6b1895612a5ea7b
2021-05-12 10:25:14 +00:00
TreeHugger Robot
9fcdd6344f Merge "Remove "cp $(out) ." from genrule" into sc-dev 2021-05-12 10:23:28 +00:00
Siim Sammul
f0dd09be75 [automerger skipped] Merge "Store the collected binder latency samples in buckets to form a histogram. Add the ability to generate histograms with varying bucket counts and sizes." am: e3873010be am: 65c37c7b1c am: c0c44e6f03 -s ours
am skip reason: Merged-In I58d3cbdd9ae43c8da121ec41d994b077e29bb371 with SHA-1 00f18654d3 is already in history

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

Change-Id: Ic61829394856135830b5e2665359db8abda343b5
2021-05-12 10:21:51 +00:00
Jordan Demeulenaere
c970b02ee0 Enable app reveal animation after splash screen.
Bug: 184830058
Test: Open an app
Change-Id: I91746ebb8fd86d4db8c94a42712da094009d49be
2021-05-12 10:21:32 +00:00
Yo Chiang
00056f978e Merge "DSUService: Deduplicate InstallUserdata() and InstallScratch()" am: c2c3a3c7d4 am: 5f2f17fc4a am: 4730b8f002
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1662402

Change-Id: Id1623079f1dbf0fe8bb27d67720542fc57c872a1
2021-05-12 10:21:25 +00:00
Chiachang Wang
3ac32077e3 [automerger skipped] Merge "Remove sendNetworkConditionsBroadcast" am: 6a6fa67d58 am: fc1928cedb am: a450fc8a3f -s ours
am skip reason: Merged-In I7b43940dc32826c70fa82f471b35bc5cb8394aad with SHA-1 64c30c6107 is already in history

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

Change-Id: Ic88418e136ccd5bfb691f5ea02c7c01e3a8bd4a5
2021-05-12 10:20:58 +00:00
Lorenzo Colitti
4da73c1bbc Merge "Rename unwanted capabilities to forbidden capabilities." am: 5a31cd4f84 am: 0bcf2d1408 am: 597471e40d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1687485

Change-Id: I9fcfd474b0cebdbadaad9466f5fb15b0069b55e6
2021-05-12 10:20:22 +00:00
Paul Hu
47d38bc76c Merge "Add MATCH_ANY_USER flag to PackageInfo queries" am: 68301eb7cb am: 2b0351ce1e am: 168172c2c0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689207

Change-Id: Ie3dd72aa4b8166198884f348f59c77befc229dc0
2021-05-12 10:19:57 +00:00
David Su
36d549e74d Merge "services.net-module-wifi: Add TEST_MAPPING" am: 0885cc3db9 am: 9794833d6d am: 8409f414a4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688406

Change-Id: I0b940205e746efb2f6ce924d222d04f173a11c15
2021-05-12 10:19:19 +00:00
wilsonshih
bd3409b0ff Fix ActivityRecord leak if starting window was transferred.
Some windows would stuck in animating status because we didn't get the
correct top activity which contains the starting window, after apply
animation on this main window it would stuck in animating.

Test: atest AmStartOptionsTests#testDashW_FinishingTop, then check
there is no WindowState leak after test finish.
Bug: 184830058

Change-Id: I8f838427168c157732a50fadfccfc9500a3faccc
2021-05-12 18:18:19 +08:00
TreeHugger Robot
9c63f5cb8c Merge "[Provider Model] Show "!" icon when Wi-Fi is not validated" into sc-dev 2021-05-12 10:14:28 +00:00
Siim Sammul
c0c44e6f03 Merge "Store the collected binder latency samples in buckets to form a histogram. Add the ability to generate histograms with varying bucket counts and sizes." am: e3873010be am: 65c37c7b1c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1703090

Change-Id: I927dc49ffeebf19bb355816f5f5f47ecd150fdb8
2021-05-12 10:13:16 +00:00
Yo Chiang
4730b8f002 Merge "DSUService: Deduplicate InstallUserdata() and InstallScratch()" am: c2c3a3c7d4 am: 5f2f17fc4a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1662402

Change-Id: I08e9707a2a6ecf8b82c12595335aa22adc4ec165
2021-05-12 10:12:34 +00:00
Treehugger Robot
b24386b51f Merge "DSUService: Log verbose installation progress" am: 4463102095
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1662401

Change-Id: I948e7c49d857083d6e3aacfd38d992da557d998c
2021-05-12 10:10:37 +00:00
Gavin Corkery
b854b5eae4 Merge "Add package information to RescueParty uiderrors" into sc-dev 2021-05-12 10:07:28 +00:00
Siim Sammul
65c37c7b1c Merge "Store the collected binder latency samples in buckets to form a histogram. Add the ability to generate histograms with varying bucket counts and sizes." am: e3873010be
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1703090

Change-Id: I2dea63d0e1de50e211ace34def0ca770b1c0a3ad
2021-05-12 10:07:05 +00:00
Chiachang Wang
a450fc8a3f Merge "Remove sendNetworkConditionsBroadcast" am: 6a6fa67d58 am: fc1928cedb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702485

Change-Id: Ib6299c1022f196453aa6f072bcc9ba7227bfe8f4
2021-05-12 10:04:29 +00:00
Yo Chiang
5f2f17fc4a Merge "DSUService: Deduplicate InstallUserdata() and InstallScratch()" am: c2c3a3c7d4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1662402

Change-Id: Ifd3f768bd8fbda78a8909f0eca01da4fbf609cbf
2021-05-12 10:02:17 +00:00
Chiachang Wang
fc1928cedb Merge "Remove sendNetworkConditionsBroadcast" am: 6a6fa67d58
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702485

Change-Id: I858f2364a40d409981b88946887f9619f11cdce4
2021-05-12 09:57:07 +00:00
Lorenzo Colitti
597471e40d Merge "Rename unwanted capabilities to forbidden capabilities." am: 5a31cd4f84 am: 0bcf2d1408
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1687485

Change-Id: I9b8a61b4c4a0059af294c2575e5339e7e3b9f3ed
2021-05-12 09:56:38 +00:00
Paul Hu
168172c2c0 Merge "Add MATCH_ANY_USER flag to PackageInfo queries" am: 68301eb7cb am: 2b0351ce1e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689207

Change-Id: I44318046f675749fe056fa253da3d48c88129441
2021-05-12 09:56:19 +00:00
David Su
8409f414a4 Merge "services.net-module-wifi: Add TEST_MAPPING" am: 0885cc3db9 am: 9794833d6d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688406

Change-Id: I5d391f5c2783961858b4e9eb7a8eecdcac75748f
2021-05-12 09:55:48 +00:00
Treehugger Robot
4463102095 Merge "DSUService: Log verbose installation progress" 2021-05-12 09:52:05 +00:00
Siim Sammul
e3873010be Merge "Store the collected binder latency samples in buckets to form a histogram. Add the ability to generate histograms with varying bucket counts and sizes." 2021-05-12 09:40:18 +00:00
Yo Chiang
c2c3a3c7d4 Merge "DSUService: Deduplicate InstallUserdata() and InstallScratch()" 2021-05-12 09:39:04 +00:00
lpeter
f79009a5d7 API review : use a range of numbers for OEM errors
By API review feedback, it would be better to use a range
of numbers for OEM errors instead of just defining
CUSTOM_ERROR_1 / CUSTOM_ERROR_2 in HotwordDetectionService.

Bug: 184962614
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: Id1e3a29e37ef566a1d8e30c703b7f2c4ae138f82
2021-05-12 17:39:00 +08:00
Ken Chen
bf8bf735d6 Add testVpnTypesEqual to verify consistency
VPN types are defined in both VpnManager.java and NativeVpnType.aidl.
The definitions on both sides should match (except TYPE_VPN_NONE).

VpnManager.java:
TYPE_VPN_NONE = -1
TYPE_VPN_SERVICE = 1
TYPE_VPN_PLATFORM = 2
TYPE_VPN_LEGACY = 3
TYPE_VPN_OEM = 4

NativeVpnType.aidl:
SERVICE = 1
PLATFORM = 2
LEGACY = 3
OEM = 4

Bug: N/A
Test: atest android.net.VpnManagerTest#testVpnTypesEqual
Change-Id: Ie618e227d861100c5318da696140e486af1093a0
2021-05-12 17:34:34 +08:00
Chiachang Wang
6a6fa67d58 Merge "Remove sendNetworkConditionsBroadcast" 2021-05-12 09:24:02 +00:00
Lorenzo Colitti
0bcf2d1408 Merge "Rename unwanted capabilities to forbidden capabilities." am: 5a31cd4f84
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1687485

Change-Id: Iaf8da730305ed7294cc624d4d41b0a11f2872863
2021-05-12 09:15:30 +00:00
tomnatan
92084dc6ae Add CONSTRAIN_DISPLAY_APIS namespace.
Bug: 187408243
Test: manual
Change-Id: I62fc909eafec83a9da84b9f6b4897610ceaa07f5
2021-05-12 09:10:15 +00:00
Lorenzo Colitti
5a31cd4f84 Merge "Rename unwanted capabilities to forbidden capabilities." 2021-05-12 09:00:17 +00:00
Jordan Demeulenaere
6c9b7ed144 Merge "Enable {ANTI_ALIAS,DITHER}_FLAG by default (1/2)" into sc-dev 2021-05-12 08:58:08 +00:00
Jackal Guo
6f9142e0d9 Add CtsPackageManagerBootTestCases to TEST_MAPPING
Fix: 187383694
Test: atest
Change-Id: I88c3b7c5005550d1e043027637f7d0d6b90edab1
2021-05-12 08:55:49 +00:00
Weng Su
861a0c1e0f [Provider Model] Show "!" icon when Wi-Fi is not validated
- Screenshot:
  https://screenshot.googleplex.com/7oohKgqumdtB8eC

Bug: 185454486
Bug: 185637977
Bug: 186543071
Test: manual test
make RunSettingsLibRoboTests ROBOTEST_FILTER=WifiEntryPreferenceTest

Change-Id: I842fe1bf28337124f7cf9d8df79fab9f2f3b783b
2021-05-12 16:34:48 +08:00
Wei Sheng Shih
d2ca79d4d4 Merge "Provide a quick workaround for WM flaky tests" into sc-dev 2021-05-12 08:29:39 +00:00
Silin Huang
e8ed11ddea Bug fix for wallet screen and lockscreen icon.
1. Make the header icon imageview a fixed size.
2. Fix an NPE for when the card doesn't have a label text.
3. The lockscreen should request 1 maxCards instead of 2 (align with the Wallet Tile)

Test: manual
Bug: 187860480
Change-Id: Ic9b015c40260a44382a97ae02aa30cb0ee15a29d
2021-05-12 01:06:38 -07:00
Joanne Chung
b8e3112908 Add dispatchRequestTranslation() in WebViewProvider.
This change doesn't introduce a new API, the change is just pushing
down an existing API from View that we are missing to add for the
webview. We should also provide this method to allow webview provider
to provide their implementation if needed.

Bug: 186617107
Test: manual
CTS-Coverage-Bug: 177960696

Change-Id: If75285b3aafdb1f2a3d7c307a90bb783edf029b5
2021-05-12 15:50:46 +08:00
Paul Hu
2b0351ce1e Merge "Add MATCH_ANY_USER flag to PackageInfo queries" am: 68301eb7cb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689207

Change-Id: Ie4878f35faf62b15c95dc93951b9fa8f868642c4
2021-05-12 07:41:00 +00:00
David Su
9794833d6d Merge "services.net-module-wifi: Add TEST_MAPPING" am: 0885cc3db9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1688406

Change-Id: I16f353fc9eaa686f1983b9a99df8055f0c265621
2021-05-12 07:35:14 +00:00
Paul Hu
68301eb7cb Merge "Add MATCH_ANY_USER flag to PackageInfo queries" 2021-05-12 07:13:17 +00:00
Yi-Yo Chiang
677dfeae2d DSUService: Deduplicate InstallUserdata() and InstallScratch()
Factor out common code and some minor polishing.

Bug: 165471299
Test: Fire a DSU installation and observe logcat
Change-Id: Ia13db74c038e49d888e69e43b59ab0ad5b078464
2021-05-12 06:58:06 +00:00
Yi-Yo Chiang
a3f91296ce DSUService: Log verbose installation progress
Log the installation progress in logcat if feasible.

Bug: 181043054
Bug: 165471299
Test: Fire a DSU installation and observe logcat
Change-Id: Ib82783f2dfe310335725f39053eaa940d96e7198
2021-05-12 14:32:18 +08:00
joehsu
1681aa2eeb Check FontFamily null before adding it.
Missing ttf files under /product/fonts will cause NullPointerException.
This CL fixes it.

Bug: 187901462
Test: Flash Sabrina to Android S. Boot to check if there's still an error.
Change-Id: I9d39c2a6e4730563f35f43176f630ac0439767b3
2021-05-12 14:18:58 +08:00
Sudheer Shanka
0a35d1d6b4 Merge "Send targeted broadcasts to prevent other apps from receiving them." into sc-dev 2021-05-12 06:04:49 +00:00
Chris Li
6e2b80c046 Merge "Fix non-visual Context in ImageWallpaper" into sc-dev 2021-05-12 06:00:13 +00:00