History log of /packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/AppDeletionPreferenceTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
888d716205bf1dad9caa2950b7eccb5286bb947d 27-Apr-2017 Salvador Martinez <dehboxturtle@google.com> Make preference say "today" and "yesterday"

The app preference would say 0 days ago and 1 day ago when
appropriate and we decided that was a little weird. This
changes the behavior to make it say "today" and "yesterday"
in those cases when appropriate since they sound nicer.

Test: Robotests
Bug: 36900272
Change-Id: I0766bbb52fc5d1dba24edf204ee7d66ee10a3888
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/AppDeletionPreferenceTest.java
dd4f3f0854b75a6ee20587d0d000829f38433617 03-Mar-2017 Daniel Nishi <dhnishi@google.com> Don't make 0B freeable.

The apps deletion provider was incorrectly saying it had clearable
bytes when it did not in its callback. As a result, toggling it on
and off to force a callback would make the view believe it had bytes
to clear.

The Free button itself, though, got the correct 0B number using a
different calculation.

This patches the invalid clearable bytes calculation for app deletion.

Change-Id: Ia3033806e4fc12b7a51d181fcc5e935cf0f7f580
Fixes: 35946083
Test: StorageManager Robotest
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/AppDeletionPreferenceTest.java
19927f56b15a4cb8820f6bf9189b17799e08a3f4 27-Jan-2017 Salvador Martinez <dehboxturtle@google.com> UI update for Deletion Helper

Updating the UI for deletion helper to be closer to the current version of
the mocks. Selected items will now switch to activated state which changes
text color to make them more visible. The time since last use text has
been split from the app size and moved under the app title. Modified
some tests to fit the new layout.

Test: make RunStorageManagerRoboTests
Bug: 34395589
Change-Id: Idb001ec14d67f981941e1f21e68d50afd92d005c
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/AppDeletionPreferenceTest.java
dee882c960b4db9bae9f2c9144b84c6ba001a051 02-Feb-2017 Salvador Martinez <dehboxturtle@google.com> Switched DeletionHelper backend to use loader

Application state is slow because it does so many
things so the backend for DeletionHelper has been
switched to use a loader specific to this screen.

Test: make RunStorageManagerRoboTests
Bug: 34768442
Change-Id: I1123f64e57d04a08cee90e98f3f05216acf35c7e
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/AppDeletionPreferenceTest.java
be5c3057c1e193b6b0d10a46ecc723ef790a4ebd 25-Jan-2017 Daniel Nishi <dhnishi@google.com> Reduce the timeframe which Deletion Helper queries for usage stats.

By querying only 1 year back instead of infinity, we can improve
get results slightly faster and avoid some issues w.r.t. querying
for all time (i.e. start time 0).

As a side-note, this should also fix the problem where apps which
should be ineligible were showing up as eligible. We will need
to monitor that situation in the dogfood population.

Bug: 33430363
Test: Robotests
Change-Id: I5cd3202ad25db5716150c857c7da2422c0fa741e
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/AppDeletionPreferenceTest.java
2e95e842919a07037094742b9b8c70fbd8be2d2e 19-Sep-2016 Matthew Fritze <mfritze@google.com> Update Robolectric tests to use google truth

Bug: 31545801
Test: make RunStorageManagerRoboTests
Change-Id: Id4669bea6d17cc2463e11dfff594e5c57c380c08
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/AppDeletionPreferenceTest.java
fff597ce52cbc1693f1a3d781991e19c103e08f2 01-Sep-2016 Daniel Nishi <dhnishi@google.com> Add tests for the PhotosDeletionPreference.

Bug: 30900642
Test: m -j32 RunStorageManagerRoboTests
Change-Id: Id230cf5c2fefefc686b2ce1ac8df9820e61b23b7
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/AppDeletionPreferenceTest.java
9df16b0531a5d16aee3731628af7a6580966e70b 18-Aug-2016 Daniel Nishi <dhnishi@google.com> AppDeletionPreference used app name instead of package name.

Using the label name can cause conflicts if multiple apps have the
same label. Package names must be unique.

Prior to this change, AppDeletionPreference used the app label as its
key. Because the key was not unique, this caused a bad interactions with
the other Deletion Helper parts. It causes duplicated entries in the
Deletion Helper and invalid behavior when selecting which packages to
delete.

Bug: 31089224
Test: m -j32 RunStorageManagerRoboTests
Change-Id: I6dd9627818d5a154d04d17ae2324bb65865148a7
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/AppDeletionPreferenceTest.java