summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-09-07 14:45:03 -0700
committerJeff Sharkey <jsharkey@android.com>2013-09-09 09:16:09 -0700
commitd182bb641f228b2d28527a6aa86075f6358ab838 (patch)
tree94eafb66067b4139a014a1f03320c4a9a5f32171 /api/current.txt
parent0c58bd97384498be14aa9795be9188ca93110e00 (diff)
downloadframeworks_base-d182bb641f228b2d28527a6aa86075f6358ab838.zip
frameworks_base-d182bb641f228b2d28527a6aa86075f6358ab838.tar.gz
frameworks_base-d182bb641f228b2d28527a6aa86075f6358ab838.tar.bz2
Remember mode and sort on per-directory basis.
Persist the last user-selected list/grid mode and sort order for each directory. Remembered user choice always overrides provider hinting. Filter out recent documents that don't match requested MIME type, and show recents in grid mode when picking images. Hide mode and sort order in recents. Add hinting flag for backend to indicate a directory would like to be sorted by last modified. Include explicit root in DocumentStack and clearly mark derived fields. Bug: 10392047, 10608506 Change-Id: I2dd3a0e4112852ebf87e7dbb08b3781c86587dcf
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index c7b3ed9..5ec1771 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -20796,6 +20796,7 @@ package android.provider {
field public static final java.lang.String COLUMN_SIZE = "_size";
field public static final java.lang.String COLUMN_SUMMARY = "summary";
field public static final int FLAG_DIR_PREFERS_GRID = 32; // 0x20
+ field public static final int FLAG_DIR_PREFERS_LAST_MODIFIED = 64; // 0x40
field public static final int FLAG_DIR_SUPPORTS_CREATE = 8; // 0x8
field public static final int FLAG_DIR_SUPPORTS_SEARCH = 16; // 0x10
field public static final int FLAG_SUPPORTS_DELETE = 4; // 0x4