<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_packages_apps_StorageManager/src, branch android12-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_StorageManager/'/>
<entry>
<title>NotificationController PendingIntends should have FLAG_IMMUTABLE</title>
<updated>2021-02-19T12:28:15+00:00</updated>
<author>
<name>Henrik Baard</name>
<email>henrik.baard@sony.com</email>
</author>
<published>2021-02-19T11:13:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=2a48600d42459e811576d44d5e3f42ce45564fcc'/>
<id>2a48600d42459e811576d44d5e3f42ce45564fcc</id>
<content type='text'>
The Android S documentation states:

If your app targets Android 12, you must specify the mutability of each
PendingIntent object that your app creates. This additional requirement
improves your app's security ...

a PendingIntent object without setting either mutability flag, the
system throws an IllegalArgumentException

Adding FLAG_IMMUTABLE to PendingIntents in NotificationController.

Bug: 180639277
Test: Export NotificationController and send:
      adb shell am broadcast --receiver-include-background -a
      com.android.storagemanager.automatic.DEBUG_SHOW_NOTIFICATION
Change-Id: Ic03431b17c8d03b552449de6ea34ea48ce04af7b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Android S documentation states:

If your app targets Android 12, you must specify the mutability of each
PendingIntent object that your app creates. This additional requirement
improves your app's security ...

a PendingIntent object without setting either mutability flag, the
system throws an IllegalArgumentException

Adding FLAG_IMMUTABLE to PendingIntents in NotificationController.

Bug: 180639277
Test: Export NotificationController and send:
      adb shell am broadcast --receiver-include-background -a
      com.android.storagemanager.automatic.DEBUG_SHOW_NOTIFICATION
Change-Id: Ic03431b17c8d03b552449de6ea34ea48ce04af7b
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce a config to disable low storage notification. (1/2)</title>
<updated>2020-07-01T21:19:41+00:00</updated>
<author>
<name>Zemiao Zhu</name>
<email>zemiao@google.com</email>
</author>
<published>2020-06-30T20:38:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=55377a608edd45284c6521c94653b52b05cccb88'/>
<id>55377a608edd45284c6521c94653b52b05cccb88</id>
<content type='text'>
Bug: 159687647
Test: manual
Change-Id: I843dad66874e34c909afecb40a44e3dc79fb08b6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 159687647
Test: manual
Change-Id: I843dad66874e34c909afecb40a44e3dc79fb08b6
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly set RESULT_OK for Deletion Helper.</title>
<updated>2019-03-27T23:04:25+00:00</updated>
<author>
<name>Daniel Nishi</name>
<email>dhnishi@google.com</email>
</author>
<published>2019-03-27T01:04:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=a7c286ef4a043dc8695d531a8a70cceb927a1144'/>
<id>a7c286ef4a043dc8695d531a8a70cceb927a1144</id>
<content type='text'>
If an app asks for a certain amount of storage, it can launch the
Deletion Helper using StorageManager.EXTRA_REQUESTED_BYTES as an intent
extra, providing a number of bytes to clear. If Deletion Helper clears
out that much storage, it should return RESULT_OK. We were not checking
this condition before.

This patch adds a condition check to see if we clear out enough storage.
If we do, we set RESULT_OK. RESULT_CANCELED is the default.

Bug: 121029845
Test: StorageManager robotests
Change-Id: I57bad0d2edea406277694625576f5a59f9398a52
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an app asks for a certain amount of storage, it can launch the
Deletion Helper using StorageManager.EXTRA_REQUESTED_BYTES as an intent
extra, providing a number of bytes to clear. If Deletion Helper clears
out that much storage, it should return RESULT_OK. We were not checking
this condition before.

This patch adds a condition check to see if we clear out enough storage.
If we do, we set RESULT_OK. RESULT_CANCELED is the default.

Bug: 121029845
Test: StorageManager robotests
Change-Id: I57bad0d2edea406277694625576f5a59f9398a52
</pre>
</div>
</content>
</entry>
<entry>
<title>Flesh out CR.getTypeDrawable() with more details.</title>
<updated>2019-02-20T05:28:59+00:00</updated>
<author>
<name>Jeff Sharkey</name>
<email>jsharkey@android.com</email>
</author>
<published>2019-02-20T05:28:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=75555c10c0f1ab795747adb246f58178f2283046'/>
<id>75555c10c0f1ab795747adb246f58178f2283046</id>
<content type='text'>
Providing icons for MIME types is generally useful, but we also
need to provide a label and content description.  This interface
can be extended internally to surface details about special MIME
types, such as "image/vnd.google.panorama360+jpg".

Bug: 122887179, 120791890
Test: atest android.content.cts.ContentResolverTest
Change-Id: I187b16379908354c72445d31ffc564965116b1d7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Providing icons for MIME types is generally useful, but we also
need to provide a label and content description.  This interface
can be extended internally to surface details about special MIME
types, such as "image/vnd.google.panorama360+jpg".

Bug: 122887179, 120791890
Test: atest android.content.cts.ContentResolverTest
Change-Id: I187b16379908354c72445d31ffc564965116b1d7
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix bug in warning activity intent." into pi-dev am: 8bcbcb230a</title>
<updated>2019-02-01T22:05:40+00:00</updated>
<author>
<name>Daniel Nishi</name>
<email>dhnishi@google.com</email>
</author>
<published>2019-02-01T22:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=e34f355a22afceddd84c016e634e0449f0ff4f28'/>
<id>e34f355a22afceddd84c016e634e0449f0ff4f28</id>
<content type='text'>
am: 14e7e28c18

Change-Id: Ib2573f09669ce547e953c1d4672428890c72927c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: 14e7e28c18

Change-Id: Ib2573f09669ce547e953c1d4672428890c72927c
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix bug in warning activity intent." into pi-dev</title>
<updated>2019-02-01T21:19:32+00:00</updated>
<author>
<name>Daniel Nishi</name>
<email>dhnishi@google.com</email>
</author>
<published>2019-02-01T21:19:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=14e7e28c1887e540e176f8cff61772a02056afc5'/>
<id>14e7e28c1887e540e176f8cff61772a02056afc5</id>
<content type='text'>
am: 8bcbcb230a

Change-Id: I150695265e539d15e25e4e027b0300be9e9436ea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: 8bcbcb230a

Change-Id: I150695265e539d15e25e4e027b0300be9e9436ea
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug in warning activity intent.</title>
<updated>2019-01-10T22:16:29+00:00</updated>
<author>
<name>Daniel Nishi</name>
<email>dhnishi@google.com</email>
</author>
<published>2019-01-10T22:15:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=a567233bca77f70b45a50f3972f00d1f0c6ce2c7'/>
<id>a567233bca77f70b45a50f3972f00d1f0c6ce2c7</id>
<content type='text'>
Intents are no longer allowed to trigger without the NEW_TASK flag. This
old code path rotted and was never retrofitted to reflect this change.

By adding the flag in, this code path works again.

Bug: 122461924
Test: Manual
Change-Id: Idc825ebfedb795c02aefd61a202aefbea5bcd190
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Intents are no longer allowed to trigger without the NEW_TASK flag. This
old code path rotted and was never retrofitted to reflect this change.

By adding the flag in, this code path works again.

Bug: 122461924
Test: Manual
Change-Id: Idc825ebfedb795c02aefd61a202aefbea5bcd190
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate StorageManager to androidx.</title>
<updated>2018-08-28T22:27:18+00:00</updated>
<author>
<name>Daniel Nishi</name>
<email>dhnishi@google.com</email>
</author>
<published>2018-07-11T23:44:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=c8243c18d0c4a5c8185c240ed3c8c2b55101f4da'/>
<id>c8243c18d0c4a5c8185c240ed3c8c2b55101f4da</id>
<content type='text'>
This fixes a casting issue that caused a crash on application start.

Change-Id: I914698b13ad467a5e0a90cb4150be6222491a01b
Merged-In: I914698b13ad467a5e0a90cb4150be6222491a01b
Fixes: 111102047
Test: Manual, ran and it worked.
(cherry picked from commit 31c2b58ece087a8de748eeb34858095a8945c6ff)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a casting issue that caused a crash on application start.

Change-Id: I914698b13ad467a5e0a90cb4150be6222491a01b
Merged-In: I914698b13ad467a5e0a90cb4150be6222491a01b
Fixes: 111102047
Test: Manual, ran and it worked.
(cherry picked from commit 31c2b58ece087a8de748eeb34858095a8945c6ff)
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate StorageManager to androidx.</title>
<updated>2018-07-12T00:08:01+00:00</updated>
<author>
<name>Daniel Nishi</name>
<email>dhnishi@google.com</email>
</author>
<published>2018-07-11T23:44:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=31c2b58ece087a8de748eeb34858095a8945c6ff'/>
<id>31c2b58ece087a8de748eeb34858095a8945c6ff</id>
<content type='text'>
This fixes a casting issue that caused a crash on application start.

Change-Id: I914698b13ad467a5e0a90cb4150be6222491a01b
Fixes: 111102047
Test: Manual, ran and it worked.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a casting issue that caused a crash on application start.

Change-Id: I914698b13ad467a5e0a90cb4150be6222491a01b
Fixes: 111102047
Test: Manual, ran and it worked.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor the storage management jobs. am: cde03daf01</title>
<updated>2018-05-25T09:11:48+00:00</updated>
<author>
<name>Daniel Nishi</name>
<email>dhnishi@google.com</email>
</author>
<published>2018-05-25T09:11:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_packages_apps_StorageManager/commit/?id=19baed7fe1e0e346ada90d516f604e5b1ee8366c'/>
<id>19baed7fe1e0e346ada90d516f604e5b1ee8366c</id>
<content type='text'>
am: 83ca8d650f

Change-Id: Ibf6929ff7a68bbbe78c3fbcdced7bfbcdb63585b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
am: 83ca8d650f

Change-Id: Ibf6929ff7a68bbbe78c3fbcdced7bfbcdb63585b
</pre>
</div>
</content>
</entry>
</feed>
