534 Commits

Author SHA1 Message Date
Jeff Sharkey
67ba36163a am b61e53f5: am e6130b6c: am 6d842f63: Merge "Fix DocumentsUI animation regression." into mnc-dev
* commit 'b61e53f5f1bcbf3c9059a3ff58867990f5dde9a7':
  Fix DocumentsUI animation regression.
2015-07-06 19:01:33 +00:00
Makoto Onuki
0e301ffa0f am 650a193e: am 164d229a: am dfd6301f: Merge "If user ejects a storage from details, take user to... ... the storage list view" into mnc-dev
* commit '650a193e8b1610938954851e6d855338b44e239d':
  If user ejects a storage from details, take user to... ... the storage list view
2015-07-06 19:00:38 +00:00
Jeff Sharkey
e6130b6c50 am 6d842f63: Merge "Fix DocumentsUI animation regression." into mnc-dev
* commit '6d842f63a00e34edb583f9fdd6f233c20dcd00f2':
  Fix DocumentsUI animation regression.
2015-07-06 18:12:41 +00:00
Makoto Onuki
164d229a1c am dfd6301f: Merge "If user ejects a storage from details, take user to... ... the storage list view" into mnc-dev
* commit 'dfd6301fa2570ae5b012dd964847531bdfdb3f4b':
  If user ejects a storage from details, take user to... ... the storage list view
2015-07-06 18:05:04 +00:00
Jeff Sharkey
6d842f63a0 Merge "Fix DocumentsUI animation regression." into mnc-dev 2015-07-06 17:58:10 +00:00
Makoto Onuki
dfd6301fa2 Merge "If user ejects a storage from details, take user to... ... the storage list view" into mnc-dev 2015-07-06 17:13:29 +00:00
Geoff Mendal
88b4a0ac56 Import translations. DO NOT MERGE
Change-Id: Icd52bfb7b30de7dbc2c7c7e7f073a4fddb5fa5e3
Auto-generated-cl: translation import
2015-07-06 08:43:33 -05:00
Jeff Sharkey
1f6c9a1214 Fix DocumentsUI animation regression.
Various fragments need backgrounds to protect their contents during
animation transitions.

Bug: 22232368
Change-Id: I4ce4c57650f9b64b3c6101d829dd484417585410
2015-07-05 14:44:51 -07:00
Makoto Onuki
14a6df7d76 If user ejects a storage from details, take user to...
... the storage list view

1. Change to ExternalStorageProvider
When available volumes have changed, it now notifies on
"content://com.android.externalstorage.documents" rather than on
"content://com.android.externalstorage.documents/root/", because it'll also
affect "content://com.android.externalstorage.documents/document/*/children".

2. Change to DocumentUI
- DirectoryLoader now won't crash when a provider returns null.
- DirectoryFragment now closes itself (i.e. emulate a back press) when a load
failed.
- It now correctly reloads contents when a volume is ejected thanks to 1.

Bug 21472170

Change-Id: Icf4bbc2ebb9067313dbbb67083cd4115b0a75c58
2015-07-01 15:11:46 -07:00
Geoff Mendal
c9b6c1767f Import translations. DO NOT MERGE
Change-Id: Id27150d5e6b378f1fe9e79eb0ea8b88392b2cd09
Auto-generated-cl: translation import
2015-07-01 08:38:57 -05:00
Geoff Mendal
d38d3e2b1f Import translations. DO NOT MERGE
Change-Id: Ia1829162e64c53a9c9df9211f41bf29d4e67fd20
Auto-generated-cl: translation import
2015-06-29 08:40:48 -05:00
Makoto Onuki
423c824b50 am d1e62d9d: Merge "Remove default activity title to prevent talkback from..." into mnc-dev
* commit 'd1e62d9dfd0c995084046188fbde7dac40401162':
  Remove default activity title to prevent talkback from...
2015-06-24 00:12:22 +00:00
Makoto Onuki
9feac1425c Remove default activity title to prevent talkback from...
reading the wrong title.

We get a title from DocumentProvider with an async task, and by the time we
get it, it's *usually* too late and talkback end up reading the default title.

Bug 20041072

Change-Id: I7686fe4ae4c157ebfc07bd8b895c4cfdf99c057a
2015-06-23 16:51:45 -07:00
Alan Viverette
afc21d72d8 am f1da9a14: Merge "DO NOT MERGE: Remove DayNight theme" into mnc-dev
* commit 'f1da9a1401fe1304bee8a550a0141c79ecc3c0b3':
  DO NOT MERGE: Remove DayNight theme
2015-06-18 22:31:41 +00:00
Alan Viverette
15d48a16f6 DO NOT MERGE: Remove DayNight theme
Do not go gentle into that good night,
Old age should burn and rave at close of day;
Rage, rage against the dying of the light.

Though wise men at their end know dark is right,
Because their words had forked no lightning they
Do not go gentle into that good night.

Bug: 21854466
Change-Id: I0b7cd116c23f7df88e94f31b3aee7dd22a102804
2015-06-18 15:15:16 -07:00
Tomasz Mikolajewski
327dbb57c3 am 41ce0039: Merge "Remove the action bar icon when there is no drawer enabled." into mnc-dev
* commit '41ce003934c228f68e82645062665e0d2c443781':
  Remove the action bar icon when there is no drawer enabled.
2015-06-18 00:23:57 +00:00
Tomasz Mikolajewski
41ce003934 Merge "Remove the action bar icon when there is no drawer enabled." into mnc-dev 2015-06-18 00:15:52 +00:00
Tomasz Mikolajewski
456778ffaf am 9ce9ffec: Merge "Allow to customize title of the dialog." into mnc-dev
* commit '9ce9ffec9e307e29c3d575854d4e357ecf06d2d8':
  Allow to customize title of the dialog.
2015-06-18 00:02:57 +00:00
Tomasz Mikolajewski
0e591f95bd Allow to customize title of the dialog.
TEST=adb shell am start -a android.intent.action.OPEN_DOCUMENT -e
     android.intent.extra.TITLE 'Upload!' -t "text/plain"
BUG=19150996

Change-Id: Ibded6cfaa2de3698c5eada154efbee2b323464d4
2015-06-17 16:12:14 -07:00
Geoff Mendal
a946fe87e4 Import translations. DO NOT MERGE
Change-Id: Ie78d85789becd82c6fd468d50a47516711e5715a
Auto-generated-cl: translation import
2015-06-17 08:45:37 -05:00
Jeff Sharkey
d3e5453f2e am 3d00f7a1: Merge "Finish when browsed root goes away." into mnc-dev
* commit '3d00f7a1be6ff858a89e2220f33231ecb3570ef3':
  Finish when browsed root goes away.
2015-06-17 04:08:17 +00:00
Jeff Sharkey
8bb1245a48 Finish when browsed root goes away.
If we're browsing a specific root, and that root went away, typically
due to formatting.

Bug: 21831184
Change-Id: Ie07607a81e32a7d82c88ad382658a471d47b905d
2015-06-16 20:54:14 -07:00
Geoff Mendal
ee4a297766 Import translations. DO NOT MERGE
Change-Id: I7bb1d35595971e4d2ff83ba40c01524ed243d26d
Auto-generated-cl: translation import
2015-06-15 08:39:05 -05:00
Tomasz Mikolajewski
536ac48aa9 Remove the action bar icon when there is no drawer enabled.
Keep the hamburger menu though if the drawer is visible and unlocked.

TEST=Tested manually on both tablet and phone form factors.
BUG=18685509

Change-Id: Ie6f8d7064da99d2dc34315ccb92ab4db6ee321b6
2015-06-12 15:33:45 -07:00
Jeff Sharkey
415cc61096 am 8a265146: Merge "Selected count string needs plurals." into mnc-dev
* commit '8a26514687ccf651eb73d5acdd3ae7c62d247d97':
  Selected count string needs plurals.
2015-06-11 18:27:55 +00:00
Jeff Sharkey
8a26514687 Merge "Selected count string needs plurals." into mnc-dev 2015-06-11 18:21:08 +00:00
Jeff Sharkey
f491c72e4a Selected count string needs plurals.
Bug: 21717427
Change-Id: Ie0db8ac30244b022ca5838969fb085230bfc4499
2015-06-11 09:19:37 -07:00
Daichi Hirono
0d53e4d1c0 am 4ba81a08: Merge "Update visibility of the stack dropdown list after the search view is collapsed." into mnc-dev
* commit '4ba81a0878d058734e9eb2c298d7fc4df7e597ed':
  Update visibility of the stack dropdown list after the search view is collapsed.
2015-06-11 05:39:19 +00:00
Daichi Hirono
186efa3836 Update visibility of the stack dropdown list after the search view is collapsed.
Previously we hid the stack dropdown list just before the action bar is
collapsed. Then the dropdown list gets back to be visible when the action bar is
collapsed.

The CL updates visibility of the stack dropdown list just after the action bar
is collapsed.

BUG=20945584
Change-Id: Iaf5055bce101f8134accd311829e50f441ddc98b
2015-06-11 14:29:28 +09:00
Jeff Sharkey
e1844c8302 am 5fc24733: New strings!
* commit '5fc247338dfc1a817f708163201cdf395cff3303':
  New strings!
2015-06-11 01:33:25 +00:00
Jeff Sharkey
5fc247338d New strings!
Bug: 21737573, 21666225, 21756698, 21737666, 21471429
Change-Id: If1c5882d48f798d311f6d2b86277d3c13f06824e
2015-06-10 16:49:11 -07:00
Ben Kwa
e04b20dd76 am c783a5e7: Merge "Enable apps to exclude their own roots from the DocumentsUI roots list." into mnc-dev
* commit 'c783a5e762b0c4925756b8ca273eb26aab5e7985':
  Enable apps to exclude their own roots from the DocumentsUI roots list.
2015-06-10 18:44:57 +00:00
Ben Kwa
c783a5e762 Merge "Enable apps to exclude their own roots from the DocumentsUI roots list." into mnc-dev 2015-06-10 18:30:31 +00:00
Ben Kwa
77797400ec Enable apps to exclude their own roots from the DocumentsUI roots list.
- Add DocumentsContract.EXTRA_EXCLUDE_SELF (boolean extra)
- Add code to DocumentsActivity to cache the providers of the calling
  app if EXTRA_EXCLUDE_SELF is set on incoming Intents.
- Add code to RootsCache to exclude roots from the calling app.
- Add code to allow only system apps to use EXTRA_PACKAGE_NAME.

Change-Id: Ia7cc2a1a297676c7b26f6e583042a4607d8c9a4e
2015-06-10 11:24:55 -07:00
Geoff Mendal
09e34e989c Import translations. DO NOT MERGE
Change-Id: I8f8557a777e3b2ed58593aa20d1a2b0f2a5aa33b
Auto-generated-cl: translation import
2015-06-10 08:55:37 -05:00
Ben Kwa
8f0514769e am 907c695d: Merge "Add a divider between the roots selector and files list." into mnc-dev
* commit '907c695d40a95fc4d06969adeceea1756390d3c3':
  Add a divider between the roots selector and files list.
2015-06-09 17:53:22 +00:00
Ben Kwa
907c695d40 Merge "Add a divider between the roots selector and files list." into mnc-dev 2015-06-09 17:48:31 +00:00
Ben Kwa
30fefe40c6 am 7c04308f: Merge "Clean up icons in DocumentsUI." into mnc-dev
* commit '7c04308f51486644d474326eb19159af00ffaa17':
  Clean up icons in DocumentsUI.
2015-06-09 17:46:02 +00:00
Ben Kwa
a6a50d037b Add a divider between the roots selector and files list.
BUG=21643911

Change-Id: Ie7c4d1a014b9fbdccb91d80907c89e2309c9891f
2015-06-09 10:43:59 -07:00
Ben Kwa
7c04308f51 Merge "Clean up icons in DocumentsUI." into mnc-dev 2015-06-09 17:35:20 +00:00
Ben Kwa
11be5de36c Clean up icons in DocumentsUI.
- Remove unused icons.
- Replace improperly sized icons with properly sized (24dp) ones.

BUG=21643433

Change-Id: I67595b6bfbbf94f11abe6c1feabe633488decc84
2015-06-08 14:11:33 -07:00
Geoff Mendal
124103fa52 Import translations. DO NOT MERGE
Change-Id: I8592894958f93b88c36e60e0484f5a1ff6a1bc3a
Auto-generated-cl: translation import
2015-06-08 08:45:04 -05:00
Ben Kwa
7eb2d726e8 am 8dbb4328: Merge "Fix drawer selection to match Material spec." into mnc-dev
* commit '8dbb43289ccc6bf85399eb3737be0dd5f01de923':
  Fix drawer selection to match Material spec.
2015-06-05 01:04:52 +00:00
Ben Kwa
8dbb43289c Merge "Fix drawer selection to match Material spec." into mnc-dev 2015-06-05 00:51:54 +00:00
Ben Kwa
50698068c1 Fix drawer selection to match Material spec.
- highlighted text changed to match the application primary color
- change highlighted background to light gray
- remove highlight icon tinting (provides insufficient contrast against
  the new light gray background)

BUG=18685226

Change-Id: I4040fa951fd2822cea324e0bd1924d10024b6a11
2015-06-04 16:28:16 -07:00
Geoff Mendal
f806744fce Import translations. DO NOT MERGE
Change-Id: I7855e24fc4715b1bf7cf978dd40b3bd66f242427
Auto-generated-cl: translation import
2015-06-03 11:51:22 -05:00
Steve McKay
db770eb43c am 92dce157: Update hamburger share, and delete icons to use the 24x MD icons.
* commit '92dce1578747f501c48b2542146956744675b784':
  Update hamburger share, and delete icons to use the 24x MD icons.
2015-06-02 23:21:18 +00:00
Steve McKay
92dce15787 Update hamburger share, and delete icons to use the 24x MD icons.
BUG=18685222,17699796
Change-Id: I4b14b83eca7fe30e250e1252cb384bc94e05e0a4
(cherry picked from commit e07525536b7edf584ffc96ba69951794d6096b57)
2015-06-02 23:07:40 +00:00
Geoff Mendal
14a4c5d418 Import translations. DO NOT MERGE
Change-Id: I04d01f1c65927634e8b27c3780e5e392fcdba28b
Auto-generated-cl: translation import
2015-06-01 07:51:58 -07:00
Geoff Mendal
db52f0a5db Import translations. DO NOT MERGE
Change-Id: I40a24917618ab5fb0c5ef063b6ccc6b845bf0ec9
Auto-generated-cl: translation import
2015-05-30 19:36:14 -07:00