Commit Graph

20810 Commits

Author SHA1 Message Date
Antonio Kantek
80beb8321f Merge "Deleting ActivityView" into sc-dev am: b1c5d7fabb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14430990

Change-Id: Ife135fd475e84d1096377eb7c25f5b2267cbf900
2021-05-21 01:20:33 +00:00
Antonio Kantek
b1c5d7fabb Merge "Deleting ActivityView" into sc-dev 2021-05-21 01:05:17 +00:00
TreeHugger Robot
e42698f7f7 Merge "Avoid a SecurityExcetion crash" into sc-dev am: d0bcac4e41
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14625639

Change-Id: I1b2e26f826f7947d210205cadecb6541df815516
2021-05-21 00:40:42 +00:00
TreeHugger Robot
d0bcac4e41 Merge "Avoid a SecurityExcetion crash" into sc-dev 2021-05-21 00:38:53 +00:00
TreeHugger Robot
e80de716c0 Merge "Add OPSTR_PHONE_CALL_* op strings to System API" into sc-dev am: c7e659afd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14664156

Change-Id: I43f956a903e9c148546ace8016e7b249350138c4
2021-05-21 00:33:43 +00:00
TreeHugger Robot
c7e659afd0 Merge "Add OPSTR_PHONE_CALL_* op strings to System API" into sc-dev 2021-05-21 00:11:49 +00:00
Tom Natan
d950cd0091 Merge "Rename addPackageOverrides to putPackageOverrides." am: 3e686651ad am: 23ea43b0f7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1710628

Change-Id: I53681e172d49ebadc93678a091d75fbf9e4db3dd
2021-05-20 23:38:39 +00:00
Tom Natan
3e686651ad Merge "Rename addPackageOverrides to putPackageOverrides." 2021-05-20 23:02:10 +00:00
Calin Juravle
e409733954 Merge "Update the use of registerAppInfo" am: 95590e1a62 am: d922359e81
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1704169

Change-Id: Iaf5781b354a3d3e93309f920341f7b7576fa1f44
2021-05-20 22:18:37 +00:00
Calin Juravle
95590e1a62 Merge "Update the use of registerAppInfo" 2021-05-20 21:46:00 +00:00
Jeff DeCew
27390f9c13 Merge changes I28adf676,I9b1a5583 into sc-dev am: 8e22cab81f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14647014

Change-Id: Id7ce241e68260e28d7c2c607c4e37fc4cc282389
2021-05-20 19:52:18 +00:00
Antonio Kantek
5456990f7e Deleting ActivityView
Test: atest CtsAccessibilityServiceTestCases
Bug: 179161778
Change-Id: Ic66f3740819634366edb20a34a7c8177af258c2f
2021-05-20 19:04:49 +00:00
Jeff DeCew
9b357d5480 Improve notification style comparisons
Bug: 178272497
Test: atest SystemUITests
Change-Id: I9b1a55834360e48e83c09dc1d61b9b35f1f6ec09
2021-05-20 15:02:00 -04:00
Jeff DeCew
e9cf56dfe0 Merge "Do not hide BigText from notification when showing progress." into sc-dev am: 98ce9ad59f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14663151

Change-Id: Ic1194b9c03a1108c90004430c678f1be0551e309
2021-05-20 18:50:36 +00:00
Jeff DeCew
98ce9ad59f Merge "Do not hide BigText from notification when showing progress." into sc-dev 2021-05-20 18:30:02 +00:00
Nate Myren
480e499ea4 Add OPSTR_PHONE_CALL_* op strings to System API
The PermissionController needs these ops to display phone calls in the
Privacy Dashboard

Test: build
Bug: 176902658
Change-Id: Ib2a862520a73f3e65eeefd0fcba3843ef9112354
2021-05-20 10:16:18 -07:00
Jeff DeCew
c9491b8199 Do not hide BigText from notification when showing progress.
Fixes: 188682444
Test: manual
Change-Id: Ifd384789f1358859d8ed51e91f2d2ae963baf4e0
2021-05-20 09:58:38 -04:00
tomnatan
79fe2b53f8 Rename addPackageOverrides to putPackageOverrides.
Bug: 187738991
Test: atest FrameworksServicesTests:CompatConfigTest
Test: atest FrameworksServicesTests:PlatformCompatTest
Change-Id: I52e5051810cf31cbcee9ba600c92c86d335187a0
2021-05-20 11:52:39 +00:00
Kholoud Mohamed
a9d186a926 Merge "Revert "Create non-bypassable op restrictions"" into sc-dev am: b04a005c3f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14660730

Change-Id: Iae7ea25bfd3bbe3b206de0de2998d4cef00a421a
2021-05-20 10:07:58 +00:00
Kholoud Mohamed
b04a005c3f Merge "Revert "Create non-bypassable op restrictions"" into sc-dev 2021-05-20 09:48:56 +00:00
Les Lee
8df7b875d4 Merge "Support to query TYPE_WIFI usage with subscriberId" into sc-dev 2021-05-20 08:55:59 +00:00
Ocean Chen
0d02112ea4 Revert "Create non-bypassable op restrictions"
This reverts commit a023924afd.

Reason for revert: Test Monitor triggers the test build

Bug: 188708756
Bug: 188733943
Change-Id: I2d17d4f77287020953fb559cf98ff8475f32ed1b
2021-05-20 07:47:51 +00:00
Guojing Yuan
b8488603d6 Avoid a SecurityExcetion crash
1. Instead of throwing SecurityException, log the error.
2. Set isAttributionTagNotFound to true when the attributionTag is not
null but not found in the package attributions.

Fix: 188549667

Test: N/A
Change-Id: I75a217893353ee5fe5d191e2b78ccf391847adb6
2021-05-20 00:14:29 +00:00
Evan Severson
47119a4e5a Merge "Create non-bypassable op restrictions" into sc-dev am: 05a30e41f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14543280

Change-Id: Idf413d6f9faca74900dd4ad3159f04309c457844
2021-05-19 19:39:41 +00:00
Evan Severson
05a30e41f3 Merge "Create non-bypassable op restrictions" into sc-dev 2021-05-19 19:24:22 +00:00
TreeHugger Robot
08e7de9d46 Merge "Deprecate Context#createApplicationContext" into sc-dev am: ee438f960a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14528644

Change-Id: Idb9578a41fe9b53f2dcce14b80ebe5a61471e52a
2021-05-19 15:40:21 +00:00
Rubin Xu
a02f71dded Merge "Send network & security logging callbacks in foreground" into sc-dev am: 68aa35b03d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14530944

Change-Id: I33387735d9c8ebc1efc59804a2ec1f1659826765
2021-05-19 15:40:00 +00:00
TreeHugger Robot
ee438f960a Merge "Deprecate Context#createApplicationContext" into sc-dev 2021-05-19 15:35:09 +00:00
Rubin Xu
68aa35b03d Merge "Send network & security logging callbacks in foreground" into sc-dev 2021-05-19 15:34:31 +00:00
Junyu Lai
b987babf5e Merge changes I3ba50cbd,I970ee365 into sc-dev
* changes:
  [FUI29] Migrate ConnectivityService to use getAllNetworkStateSnapshots
  [FUI27] Fix internal naming of notifyNetworkStatus
2021-05-19 12:36:03 +00:00
TreeHugger Robot
947745cd74 Merge "Changed behavior of DPMS.setLocationEnabled() for automotive." into sc-dev am: cf2f6ff89a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14525263

Change-Id: Ic96414f5fd5f7d8e61ea889fb620a57093ce5ccc
2021-05-19 12:29:24 +00:00
TreeHugger Robot
cf2f6ff89a Merge "Changed behavior of DPMS.setLocationEnabled() for automotive." into sc-dev 2021-05-19 12:15:04 +00:00
lesl
776fd52d84 Support to query TYPE_WIFI usage with subscriberId
Previous the API ignores subscriberId when network type is WIFI.
Allow caller to call querySummaryXXXX with TYPE: WIFI
+ subscriberId: IMSI to get carrier merged wifi usage which matches the wifi
network with the given IMSI.

Bug: 176396812
Test: atest -c NetworkStatsServiceTest
Change-Id: Ia033521a24e2bb56182d74a41bb2b39710571782
Merged-In: Ia033521a24e2bb56182d74a41bb2b39710571782
2021-05-19 02:53:16 +00:00
Evan Severson
a023924afd Create non-bypassable op restrictions
Even if the app is privileged or has the audio retriction bypass it
can't bypass these restrictions.

These will be used for the mic and camera toggles since under no
circumstances should sensitive information reach the application layer
while the toggles are muting.

Test: Verify privileged app couldn't access mic when toggle is blocking
Fixes: 188122748
Change-Id: Ib1bad074b3744fd565e8c8ff1c726be91c830d3e
2021-05-19 01:56:21 +00:00
Patrick Baumann
62bf50bbd8 Merge changes I04dfc5c2,Idc7e1f3c am: 1ef34e9022 am: 4c56bac295
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1705089

Change-Id: Ibea92e6623d660b0bcbc324c8f188642841160dd
2021-05-18 23:16:02 +00:00
Evan Rosky
c068c9a78b Merge "Defer pausing apps when bringing up recents" into sc-dev am: 13bd292dd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14444766

Change-Id: I7f2fd5d2fb50623993b1336a4af61774b1dfa993
2021-05-18 19:03:07 +00:00
Patrick Baumann
1ef34e9022 Merge changes I04dfc5c2,Idc7e1f3c
* changes:
  Updates OWNERS files
  Update OWNERS file.
2021-05-18 19:03:06 +00:00
Evan Rosky
13bd292dd5 Merge "Defer pausing apps when bringing up recents" into sc-dev 2021-05-18 18:55:30 +00:00
Ryan Mitchell
c54ebba25b Deprecate Context#createApplicationContext
If an application caches an ApplicationInfo and uses it to call
Context#createApplicationContext, the app will not get the most recent
version of the overlays for that application. To make things worse, the
LoadedApk stored in ActivityThread#mResourcePackages is updated using
the old ApplicationInfo causing further uses of the cached LoadedApk to
return outdated information.

Deprecate Context#createApplicationContext, convert all internal uses
to Context#createPackageContext(String packageName, ...) and log
whenever any one calls Context#createApplicationContext with an
outdated ApplicationInfo to detect debug issues in using old infos.

Bug: 188059515
Test: change wallpaper and observe widgets get reloaded with most
      recent overlays
Change-Id: I2aeefa8c0e66264859109975a54c4f73f76ad710
2021-05-18 09:07:58 -07:00
Les Lee
bad6f3aef6 Merge "Support to query TYPE_WIFI usage with subscriberId" am: ced78f535c am: 812956f97d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1608057

Change-Id: Ifeaab15fbf20b318bb7b35aa6b4604f21e2c98a1
2021-05-18 13:57:43 +00:00
Vadim Caen
d286a11746 Merge "Draw splashscreen edge to edge" into sc-dev am: eacda76449
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14253107

Change-Id: I2d837e43fe9c75b95abbe9faad580c3470c23e9e
2021-05-18 11:33:42 +00:00
Vadim Caen
eacda76449 Merge "Draw splashscreen edge to edge" into sc-dev 2021-05-18 11:22:54 +00:00
Soonil Nagarkar
b2ea76cc02 Merge "Add support for excluding tags from restrictions" into sc-dev am: fe40442304
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14503384

Change-Id: Iccc7f519dfcfe9429067249dce36ade6e4f2a0f5
2021-05-17 17:11:57 +00:00
Soonil Nagarkar
fe40442304 Merge "Add support for excluding tags from restrictions" into sc-dev 2021-05-17 16:46:55 +00:00
Neil Fuller
fd08e82abb Merge "Provide a new command line for host tests" into sc-dev am: 629d1f3ec2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14550422

Change-Id: I18559be1d90c97d4050213fb472d623e81598701
2021-05-17 16:36:33 +00:00
Neil Fuller
629d1f3ec2 Merge "Provide a new command line for host tests" into sc-dev 2021-05-17 16:16:40 +00:00
Rubin Xu
372ab606e7 Send network & security logging callbacks in foreground
Send ACTION_NETWORK_LOGS_AVAILABLE and ACTION_SECURITY_LOGS_AVAILABLE
as foreground broadcasts to reduce test time. Updated javadoc on
callbacks in DeviceAdminReceiver and DelegatedAdminReceiver.

Remove obsolete special handling of the two broadcasts above in
sendDeviceOwnerCommand(), now that they are only sent through
sendDeviceOwnerOrProfileOwnerCommand().

Bug: 183066771
Test: atest MixedManagedProfileOwnerTest#testNetworkLogging
Change-Id: I0758c0eb98be43b24cd08105a2449c349cfd4e6d
2021-05-17 15:13:39 +01:00
junyulai
0c7c578433 [FUI27] Fix internal naming of notifyNetworkStatus
Test: TH
Bug: 174123988
Merged-In: I970ee365ca221956ee85788005d331374b5fa71a
Change-Id: I970ee365ca221956ee85788005d331374b5fa71a
  (cherry-picked from aosp/1620539)
2021-05-17 14:07:00 +08:00
Jeff Sharkey
b1b4de9ed7 Merge changes from topic "may15" into sc-dev am: 63a1453832
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14515460

Change-Id: I1b6a4d66134d09219ef255984336766eba7b387e
2021-05-16 18:15:34 +00:00
Jeff Sharkey
2d0e8e3d5d Apply AttributionSource during Intent delivery. am: dd6dd3b1fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14470318

Change-Id: Iac85c2e538b7e7fd9bcbd4e286e5df04da0013d4
2021-05-16 18:15:32 +00:00