<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_packages_apps_PackageInstaller, branch android10-s3-release</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/'/>
<entry>
<title>Merge cherrypicks of [9618341, 9618157, 9618395, 9618396, 9618397, 9618398, 9618399, 9618036, 9618159, 9618160, 9617854, 9617855, 9617999, 9618000, 9618405, 9618406, 9618161, 9618401, 9618342] into sparse-5908163-L04300000381828225</title>
<updated>2019-10-25T21:56:34+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2019-10-25T21:56:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=f8322672bd3da4c47a7f99a3d98d13fbc548e3ae'/>
<id>f8322672bd3da4c47a7f99a3d98d13fbc548e3ae</id>
<content type='text'>
Change-Id: If58df12e4f8319658b603a099a0d9199407fd1e2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If58df12e4f8319658b603a099a0d9199407fd1e2
</pre>
</div>
</content>
</entry>
<entry>
<title>[DO NOT MERGE] Grant all access_media_location permission</title>
<updated>2019-10-25T21:48:08+00:00</updated>
<author>
<name>Philip P. Moltmann</name>
<email>moltmann@google.com</email>
</author>
<published>2019-09-13T22:09:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=39f8fddaa1e4a24a199a04a3fe6559a74521a965'/>
<id>39f8fddaa1e4a24a199a04a3fe6559a74521a965</id>
<content type='text'>
Test: Manual testing:
         All combinations of
           - App targetSdk = 28 and 29 (and 22 for extra credit)
           - App having the &lt;uses-permission&gt; tag for
             ACCESS_MEDIA_LOCATION or not
           - Upgrade from P-&gt;Q-QPR and from vanilla Q-&gt;Q-QPR
         Further upgrade of targetSdk from 28-&gt;29 while on Q-QPR
         ==&gt; All permission behavior should make sense. Sometimes there
             are weird, but expected behaviors. Hence we need to
             collect the results and then look at the unexpected ones.
             See SplitPermissionTest for some tests I added for the
             location-background permission which was split from
             the fine/coarse-location permissions
Bug: 140961754
Change-Id: I11f0b77d86d0c07b9bcd41eee337f36bacf0dabd
(cherry picked from commit 0573d628b3ee3dc73f49920271a4d27f6c07e1d9)
(cherry picked from commit 1a633927dda31b2a14f2bf7b5d08842737d2e0ea)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: Manual testing:
         All combinations of
           - App targetSdk = 28 and 29 (and 22 for extra credit)
           - App having the &lt;uses-permission&gt; tag for
             ACCESS_MEDIA_LOCATION or not
           - Upgrade from P-&gt;Q-QPR and from vanilla Q-&gt;Q-QPR
         Further upgrade of targetSdk from 28-&gt;29 while on Q-QPR
         ==&gt; All permission behavior should make sense. Sometimes there
             are weird, but expected behaviors. Hence we need to
             collect the results and then look at the unexpected ones.
             See SplitPermissionTest for some tests I added for the
             location-background permission which was split from
             the fine/coarse-location permissions
Bug: 140961754
Change-Id: I11f0b77d86d0c07b9bcd41eee337f36bacf0dabd
(cherry picked from commit 0573d628b3ee3dc73f49920271a4d27f6c07e1d9)
(cherry picked from commit 1a633927dda31b2a14f2bf7b5d08842737d2e0ea)
</pre>
</div>
</content>
</entry>
<entry>
<title>Update PermissionChecker usages to avoid unnecessary attribution.</title>
<updated>2019-10-25T21:48:04+00:00</updated>
<author>
<name>Svet Ganov</name>
<email>svetoslavganov@google.com</email>
</author>
<published>2019-09-27T05:05:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=c14074639287472705084c54c2a4090494c1bce6'/>
<id>c14074639287472705084c54c2a4090494c1bce6</id>
<content type='text'>
We had accidental usages of the PermissionChecker for cases where no
private data was provided to the app but the checkPermission API on
the latter also did blame data access on the app. The PermissionChecker
was designed to handle IPC calls and not for generic API checks.

To avoid future accidental incorrect PermissionChecker usages this
change renames the existing APIs of the latter to clearly indicate
that they should be used for data delivery and also adds sibling
methods for doing the same permission checks for preflight purposes.
Also the documentation is improved to furhter assist developers.

In addition, this change fixes accidental permission checker usages
that blame when they should not by using the new preflight flavor
of the permission check APIs.

Test:
    atest com.android.settingslib.location.RecentLocationAppsTest
    atest CtsPermissionTestCases
    added: LocationAccessCheckTest#notificationOnlyForAccessesSinceFeatureWasEnabled
    added: LocationAccessCheckTest#noNotificationIfFeatureDisabled
    added: LocationAccessCheckTest#noNotificationIfBlamerNotSystemOrLocationProvider
    added: LocationAccessCheckTest#testOpeningLocationSettingsDoesNotTriggerAccess

bug:141028068
Merged-In: I902a0ab049783a222ac2acdfac93ecd49f34dece
Change-Id: I902a0ab049783a222ac2acdfac93ecd49f34dece
(cherry picked from commit 625b69e00869d041b3114346965cd72a5d5c3c6a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We had accidental usages of the PermissionChecker for cases where no
private data was provided to the app but the checkPermission API on
the latter also did blame data access on the app. The PermissionChecker
was designed to handle IPC calls and not for generic API checks.

To avoid future accidental incorrect PermissionChecker usages this
change renames the existing APIs of the latter to clearly indicate
that they should be used for data delivery and also adds sibling
methods for doing the same permission checks for preflight purposes.
Also the documentation is improved to furhter assist developers.

In addition, this change fixes accidental permission checker usages
that blame when they should not by using the new preflight flavor
of the permission check APIs.

Test:
    atest com.android.settingslib.location.RecentLocationAppsTest
    atest CtsPermissionTestCases
    added: LocationAccessCheckTest#notificationOnlyForAccessesSinceFeatureWasEnabled
    added: LocationAccessCheckTest#noNotificationIfFeatureDisabled
    added: LocationAccessCheckTest#noNotificationIfBlamerNotSystemOrLocationProvider
    added: LocationAccessCheckTest#testOpeningLocationSettingsDoesNotTriggerAccess

bug:141028068
Merged-In: I902a0ab049783a222ac2acdfac93ecd49f34dece
Change-Id: I902a0ab049783a222ac2acdfac93ecd49f34dece
(cherry picked from commit 625b69e00869d041b3114346965cd72a5d5c3c6a)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge cherrypicks of [8673593, 8673409, 8673796, 8673797, 8673798, 8673855, 8673151, 8673594, 8673499, 8673799, 8673895, 8673896] into qt-release</title>
<updated>2019-07-17T03:11:30+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2019-07-17T03:11:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=24705070d6210f5dc08bc5e73f8e181215221eb9'/>
<id>24705070d6210f5dc08bc5e73f8e181215221eb9</id>
<content type='text'>
Change-Id: Ifabd921ababb715958d57a2fd841c826fb962065
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ifabd921ababb715958d57a2fd841c826fb962065
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix assistant role availability on low ram devices.</title>
<updated>2019-07-17T03:10:39+00:00</updated>
<author>
<name>Hai Zhang</name>
<email>zhanghai@google.com</email>
</author>
<published>2019-07-15T19:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=00e0a7bed46b0be4a47e98ccc5280175923e7277'/>
<id>00e0a7bed46b0be4a47e98ccc5280175923e7277</id>
<content type='text'>
The assistant role should be available on low ram devices, just that
only assistant activities but not assistant services can be qualified.

Fixes: 137388024
Test: presubmit &amp; manual
Change-Id: Ie84fd163fb49c0514f51ba64ba89c225dceb2e5b
(cherry picked from commit 2300b89008de4476b2e692daeade9a1729cb3077)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The assistant role should be available on low ram devices, just that
only assistant activities but not assistant services can be qualified.

Fixes: 137388024
Test: presubmit &amp; manual
Change-Id: Ie84fd163fb49c0514f51ba64ba89c225dceb2e5b
(cherry picked from commit 2300b89008de4476b2e692daeade9a1729cb3077)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge cherrypicks of [8655472, 8655254, 8655915, 8655916, 8655554, 8655935, 8655917, 8655800, 8655789, 8655473, 8655918, 8655474, 8655408, 8655351] into qt-release</title>
<updated>2019-07-15T17:52:34+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2019-07-15T17:52:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=e6f518c065bb8c63cda50a3557684e1ca70c99af'/>
<id>e6f518c065bb8c63cda50a3557684e1ca70c99af</id>
<content type='text'>
Change-Id: If6c7ee763aedea27d9889675e55661ce59b6ee42
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If6c7ee763aedea27d9889675e55661ce59b6ee42
</pre>
</div>
</content>
</entry>
<entry>
<title>Use EXTRA_CALLING_PACKAGE for legacy change default dialer/SMS intents.</title>
<updated>2019-07-15T17:51:48+00:00</updated>
<author>
<name>Hai Zhang</name>
<email>zhanghai@google.com</email>
</author>
<published>2019-07-12T00:30:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=96a4a7439cabd634853852903fe71f4a61f5af21'/>
<id>96a4a7439cabd634853852903fe71f4a61f5af21</id>
<content type='text'>
So that RequestRoleActivity can always know the calling package. This
is required to keep supporting pre-Q apps calling with
startActivity().

Bug: 137054465
Test: manual
Change-Id: I10c758fcadde8157a2d360a192accea75550a1dd
(cherry picked from commit dc683d3001a13ac69f428960dd9ef052e33ae9f6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So that RequestRoleActivity can always know the calling package. This
is required to keep supporting pre-Q apps calling with
startActivity().

Bug: 137054465
Test: manual
Change-Id: I10c758fcadde8157a2d360a192accea75550a1dd
(cherry picked from commit dc683d3001a13ac69f428960dd9ef052e33ae9f6)
</pre>
</div>
</content>
</entry>
<entry>
<title>Snap for 5713174 from 7887f34d1e15c7528205f6d5c49a86c292ba59ab to qt-release</title>
<updated>2019-07-09T03:03:43+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2019-07-09T03:03:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=d6e8a46beb140b0cc05fb0ee970f6e5f0f531fef'/>
<id>d6e8a46beb140b0cc05fb0ee970f6e5f0f531fef</id>
<content type='text'>
Change-Id: If4999b72522e0cf17653457e6512c2dda5c43d7d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If4999b72522e0cf17653457e6512c2dda5c43d7d
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix RoleSearchIndexablesProvider.</title>
<updated>2019-07-03T21:09:15+00:00</updated>
<author>
<name>Hai Zhang</name>
<email>zhanghai@google.com</email>
</author>
<published>2019-07-03T21:03:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=7887f34d1e15c7528205f6d5c49a86c292ba59ab'/>
<id>7887f34d1e15c7528205f6d5c49a86c292ba59ab</id>
<content type='text'>
By clearing the calling identity before determining whether a role is
available, to avoid the SecurityException.

Bug: 135665821
Test: manual
Change-Id: Ibee46949c65a5cd068a5453ca053025108da2096
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By clearing the calling identity before determining whether a role is
available, to avoid the SecurityException.

Bug: 135665821
Test: manual
Change-Id: Ibee46949c65a5cd068a5453ca053025108da2096
</pre>
</div>
</content>
</entry>
<entry>
<title>Snap for 5704971 from 29ed7908265f3e947b7d790930288d6e0cb19e88 to qt-release</title>
<updated>2019-07-03T03:19:21+00:00</updated>
<author>
<name>android-build-team Robot</name>
<email>android-build-team-robot@google.com</email>
</author>
<published>2019-07-03T03:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=5c82b7568d2809a7744ecc35962a98c5aff41ae0'/>
<id>5c82b7568d2809a7744ecc35962a98c5aff41ae0</id>
<content type='text'>
Change-Id: I0133899971af16830d76060bbcdc88b26250e835
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0133899971af16830d76060bbcdc88b26250e835
</pre>
</div>
</content>
</entry>
</feed>
