<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_packages_apps_PackageInstaller/src, branch oreo-m5-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>Not using app op code constant directly from PackageInstaller</title>
<updated>2017-09-21T20:52:43+00:00</updated>
<author>
<name>Suprabh Shukla</name>
<email>suprabh@google.com</email>
</author>
<published>2017-09-20T23:51:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=691692d48669ef6d13193d449ea59e2e244c847f'/>
<id>691692d48669ef6d13193d449ea59e2e244c847f</id>
<content type='text'>
Since AppOpsManager op codes are hidden apis, they can be modified by
OEMs. Referencing the codes directly prohibits partners from freely
using the integer ids to assign to their own op codes. Using a string
identifier to indirectly infer the integer code is more flexible.

Test: Builds, boots, existing tests pass

Bug: 65534401
Change-Id: I5a69690871b5b55f2f8d45d0cf53b5f25ff5abff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since AppOpsManager op codes are hidden apis, they can be modified by
OEMs. Referencing the codes directly prohibits partners from freely
using the integer ids to assign to their own op codes. Using a string
identifier to indirectly infer the integer code is more flexible.

Test: Builds, boots, existing tests pass

Bug: 65534401
Change-Id: I5a69690871b5b55f2f8d45d0cf53b5f25ff5abff
</pre>
</div>
</content>
</entry>
<entry>
<title>Use bigger buffers when installing app</title>
<updated>2017-09-15T23:56:59+00:00</updated>
<author>
<name>Philip P. Moltmann</name>
<email>moltmann@google.com</email>
</author>
<published>2017-09-15T23:54:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=e4f0522753c2ebc78e9319c97094081faf41b996'/>
<id>e4f0522753c2ebc78e9319c97094081faf41b996</id>
<content type='text'>
... progress bar is still smooth and install time is 4 times lower.

Change-Id: I80d13b349865acb8b223b0f94eeb451564491f08
Fixes: 65607474
Test: Installed apps and measured speed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... progress bar is still smooth and install time is 4 times lower.

Change-Id: I80d13b349865acb8b223b0f94eeb451564491f08
Fixes: 65607474
Test: Installed apps and measured speed
</pre>
</div>
</content>
</entry>
<entry>
<title>Receive pkg install/uninstall finish in foregound</title>
<updated>2017-08-31T15:46:37+00:00</updated>
<author>
<name>Philip P. Moltmann</name>
<email>moltmann@google.com</email>
</author>
<published>2017-08-21T18:16:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=6e9a27c9f1e8eb9ba4958727f9c73cb6e5eed69b'/>
<id>6e9a27c9f1e8eb9ba4958727f9c73cb6e5eed69b</id>
<content type='text'>
The processing of these events only shows a dialog or writes a file to
disk or updates/removes a notification. No expensive processing is done.

On the other hand the user waits for (un)installations to happen.

Bug: 65078751
Test: Installed and uinstalled apps.
Change-Id: I15f59f8ed6b024a193335e68adac84853d8c5ec8
(cherry picked from commit 2983a82297ce5a08b09ac1cc98ef46ed69d8fc42)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The processing of these events only shows a dialog or writes a file to
disk or updates/removes a notification. No expensive processing is done.

On the other hand the user waits for (un)installations to happen.

Bug: 65078751
Test: Installed and uinstalled apps.
Change-Id: I15f59f8ed6b024a193335e68adac84853d8c5ec8
(cherry picked from commit 2983a82297ce5a08b09ac1cc98ef46ed69d8fc42)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Show app name on installation." into oc-mr1-dev</title>
<updated>2017-08-15T01:38:43+00:00</updated>
<author>
<name>TreeHugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2017-08-15T01:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=8c8dce35d765f9b94410e58bb1715f3dd26b63dd'/>
<id>8c8dce35d765f9b94410e58bb1715f3dd26b63dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change protection level from ephemeral to instant</title>
<updated>2017-08-11T22:06:16+00:00</updated>
<author>
<name>Todd Kennedy</name>
<email>toddke@google.com</email>
</author>
<published>2017-06-05T17:09:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=25feec7eb7056baba98f67ee3528f1b37102eaba'/>
<id>25feec7eb7056baba98f67ee3528f1b37102eaba</id>
<content type='text'>
Bug: 62264194
Test: Manual. install an instant app and see that it still works
Change-Id: I411d8775b3a434da8e44fc4ee5b7e088f2f86bd5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 62264194
Test: Manual. install an instant app and see that it still works
Change-Id: I411d8775b3a434da8e44fc4ee5b7e088f2f86bd5
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Finish activity if uninstall is done" into oc-mr1-dev</title>
<updated>2017-08-09T17:26:40+00:00</updated>
<author>
<name>TreeHugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2017-08-09T17:26:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=81eb318d6416a5babd876922847ef7b8c9d52fcf'/>
<id>81eb318d6416a5babd876922847ef7b8c9d52fcf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Finish activity if uninstall is done</title>
<updated>2017-08-08T23:32:02+00:00</updated>
<author>
<name>Philip P. Moltmann</name>
<email>moltmann@google.com</email>
</author>
<published>2017-08-08T21:42:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=3276b6a4509b3527e67e9cb7f6570064b31c5ea3'/>
<id>3276b6a4509b3527e67e9cb7f6570064b31c5ea3</id>
<content type='text'>
There are various ways how the Uninstaller activity signals back that
the uninstall is done. If the uninstall was started via
PackageInstaller.uninstall the signal comes back via the callback binder.
Once the binder is called, no furter UI is needed, hence we should call
finish().

Change-Id: Ib2f0b5e3e17634bae39db952542a33d7f7b17e5e
Bug: 64468607
Test: Used PackageInstall.uninstall API to uninstall and saw UI go away.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are various ways how the Uninstaller activity signals back that
the uninstall is done. If the uninstall was started via
PackageInstaller.uninstall the signal comes back via the callback binder.
Once the binder is called, no furter UI is needed, hence we should call
finish().

Change-Id: Ib2f0b5e3e17634bae39db952542a33d7f7b17e5e
Bug: 64468607
Test: Used PackageInstall.uninstall API to uninstall and saw UI go away.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed NPE in</title>
<updated>2017-08-08T20:56:11+00:00</updated>
<author>
<name>Keith Craigie</name>
<email>kcraigie@google.com</email>
</author>
<published>2017-08-08T00:03:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=883b96d5dddf7032b9735b42c623bdb2042a5afe'/>
<id>883b96d5dddf7032b9735b42c623bdb2042a5afe</id>
<content type='text'>
com.android.packageinstaller.InstallStart#declaresAppOpPermission

Failing CTS tests in
android.packageinstaller.externalsources.cts.ExternalSourcesTest
reveal a NPE in InstallStart#declaresAppOpPermission. Turns out
android.content.pm.IPackageManager#getAppOpPermissionPackages can validly
return null, yet this code does not check for null before iterating.

Bug: 62272351

Test: Re-ran CTS test: run cts -m CtsExternalSourcesTestCases
-t android.packageinstaller.externalsources.cts.ExternalSourcesTest -l
DEBUG -s 01f2301c0f6ac226 -a armeabi-v7a
(cherry picked from commit 67f7aaef9646b5fcc6d1efcd10e623e9add33e7c)

Change-Id: I2637b4fd12f0d8487211f411bee850571d8bad9a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
com.android.packageinstaller.InstallStart#declaresAppOpPermission

Failing CTS tests in
android.packageinstaller.externalsources.cts.ExternalSourcesTest
reveal a NPE in InstallStart#declaresAppOpPermission. Turns out
android.content.pm.IPackageManager#getAppOpPermissionPackages can validly
return null, yet this code does not check for null before iterating.

Bug: 62272351

Test: Re-ran CTS test: run cts -m CtsExternalSourcesTestCases
-t android.packageinstaller.externalsources.cts.ExternalSourcesTest -l
DEBUG -s 01f2301c0f6ac226 -a armeabi-v7a
(cherry picked from commit 67f7aaef9646b5fcc6d1efcd10e623e9add33e7c)

Change-Id: I2637b4fd12f0d8487211f411bee850571d8bad9a
</pre>
</div>
</content>
</entry>
<entry>
<title>Show app name on installation.</title>
<updated>2017-08-08T20:29:24+00:00</updated>
<author>
<name>Andrew Zeng</name>
<email>zenga@google.com</email>
</author>
<published>2017-08-04T20:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=d9513828d6fced9b43533e111a4f2310aa6c3a85'/>
<id>d9513828d6fced9b43533e111a4f2310aa6c3a85</id>
<content type='text'>
Bug: 64322053
Test: manually installed app w/ embedded apk from Playstore.

Change-Id: I9cdf455f842e056f774f90e17f92d2d4b5bc00e9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 64322053
Test: manually installed app w/ embedded apk from Playstore.

Change-Id: I9cdf455f842e056f774f90e17f92d2d4b5bc00e9
</pre>
</div>
</content>
</entry>
<entry>
<title>revokeRuntimePermission works on permissions</title>
<updated>2017-08-07T18:32:17+00:00</updated>
<author>
<name>Philip P. Moltmann</name>
<email>moltmann@google.com</email>
</author>
<published>2017-08-02T23:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_PackageInstaller/commit/?id=d97f9e45a30cb7daed0552c3306f5a55e8e6a136'/>
<id>d97f9e45a30cb7daed0552c3306f5a55e8e6a136</id>
<content type='text'>
... not on groups. Hence revoke the whole group the permission belongs
to.

Change-Id: I54c74c5653bb0b3fa452a0c7fe21381f407a3061
Fixes: 64301150
Test: Manually tested
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... not on groups. Hence revoke the whole group the permission belongs
to.

Change-Id: I54c74c5653bb0b3fa452a0c7fe21381f407a3061
Fixes: 64301150
Test: Manually tested
</pre>
</div>
</content>
</entry>
</feed>
