15437 Commits

Author SHA1 Message Date
Adrian Roos
a09c5eed32 Merge "Fix disappearing status bar icons with SHOW_WHEN_LOCKED" 2015-04-23 23:56:32 +00:00
Ben Kwa
ff0cf1a95e Merge "Move extension checking code into FileUtils." 2015-04-23 23:19:49 +00:00
Ben Kwa
62539a220c Move extension checking code into FileUtils.
Move code for checking file extensions and MIME types from
ExternalStorageProvider into android.os.FileUtils, so it can be used by
other clients (e.g. DownloadsProvider).

BUG=20157955

Change-Id: Ib16a16af723c21fb8d2912c8917dfd68653ea6fa
2015-04-23 16:14:20 -07:00
Tony Mantler
3e452a9b96 Merge "Move StorageMeasurement to SettingsLib" 2015-04-23 22:40:12 +00:00
Adrian Roos
d322f1af91 Fix disappearing status bar icons with SHOW_WHEN_LOCKED
Fixes a bug where launching a SHOW_WHEN_LOCKED window from the bouncer
wouldn't properly restore PhoneStatusBar's state leading to missing
status bar icons.

Bug: 20474073
Change-Id: Ib22dc0dc5a89214af8876ddaea52569e2e24a742
2015-04-23 22:22:36 +00:00
Tony Mantler
547e4caebe Move StorageMeasurement to SettingsLib
Change-Id: I90ea3b32971f02def418385ebac1f03f06390ba7
2015-04-23 14:16:44 -07:00
Svet Ganov
9bafd3b5e0 Merge "Revert some unnecessary changes in handling XML read" 2015-04-23 19:00:35 +00:00
Svet Ganov
e723e54650 Revert some unnecessary changes in handling XML read
Change-Id: I3bbbc3159930d80e2e1f28fa9c0035ae5029d4b8
2015-04-23 11:58:26 -07:00
Jorim Jaggi
a47f4d7c4d Merge "Position panel dynamically when expanding" 2015-04-23 18:53:18 +00:00
Jorim Jaggi
6d4a27fb7f Position panel dynamically when expanding
Bug: 17125022
Change-Id: Ia39aa40c27958a6ba4eb183522d22bfad958fe5e
2015-04-23 11:48:22 -07:00
Andrew Flynn
1326769666 Merge "Demo Mode instructions for Carrier Network Change icon" 2015-04-23 18:32:46 +00:00
Tomasz Mikolajewski
366459ee59 Merge "Update strings for the copy error dialog to match the latest specs." 2015-04-23 17:13:33 +00:00
Robert Greenwalt
cfa26c2a38 Merge "Don't show two identical carrier names." 2015-04-23 17:12:55 +00:00
Tomasz Mikolajewski
eafb267bd9 Update strings for the copy error dialog to match the latest specs.
Change-Id: I9adeff3e7e9435237b4b3337e4c687eec39b0335
2015-04-23 19:10:14 +02:00
Sanket Padawe
b8726b7002 Don't show two identical carrier names.
Multi-sim device would show 2 PLMN in status bar even if they are same.

Bug: 19710990
Change-Id: I07ba5cbf82d4cc99bb7be644cc1e95c525bcfb8b
2015-04-23 10:06:04 -07:00
Tomasz Mikolajewski
f8c3f322a2 Implement retrying copying in case of an error in DocumentsUI.
Change-Id: I9ed1eb624aa30fb7e65d4d424ebd988dfc06d030
2015-04-23 18:51:33 +02:00
Andrew Flynn
a47a6609d6 Demo Mode instructions for Carrier Network Change icon
Bug: 11392659
Change-Id: I8ca15a51d8079e83dc87bfe90d274a17cbe04c25
2015-04-23 09:16:18 -07:00
Andrew Flynn
4cec756e85 Merge "Add SystemUI demo mode README to tree." 2015-04-23 15:46:59 +00:00
Daichi Hirono
517577ea96 DocumentsUI: Stop to override fixed size of dialog in CreateDirectoryDialog.
Previously CreateDirectoryDialog overrides fixed size defined in the application
theme. As a result, the dialog is shown as vertically long.

The CL specifies explicitly specifies the default theme for dialog when creating
the dialog to stop override the application theme.

BUG=20239384
Change-Id: I7227bd91705c32f5196b666bbe94ff32b5cb4af8
2015-04-23 15:02:15 +09:00
Selim Cinek
f1a38a5998 Merge "Improved the usablility of the lockscreen affordances" 2015-04-23 03:31:25 +00:00
Selim Cinek
6746c28b81 Improved the usablility of the lockscreen affordances
Bug: 19563694
Change-Id: I47c24eae432ae168f6a3eaaed57fbcc59a411f8a
2015-04-22 20:28:11 -07:00
Steve McKay
2b973ea93b Merge "Update activities to clear search term when a root that doesn't support search is selected by the user." 2015-04-23 01:34:21 +00:00
Alan Viverette
7de07a60c2 Merge "Implement DayNight theme for DocumentsUI" 2015-04-23 00:13:02 +00:00
Selim Cinek
5f94c4da75 Merge "Fixed a regression with collapsed notification heights" 2015-04-22 23:53:59 +00:00
Alan Viverette
40a38f3062 Implement DayNight theme for DocumentsUI
Also fixes tint colors for icons to use themed colorControlNormal.

Bug: 20421157
Change-Id: I110a1d95f763332e7ca76cf8ab4125bd4d9a075e
2015-04-22 16:51:08 -07:00
Adam Powell
a1f6211e79 Merge "Cancel a screenshot notification after a share target is chosen." 2015-04-22 23:36:02 +00:00
Steve McKay
a78a3694b5 Update activities to clear search term when a root that doesn't support search is selected by the user.
BUG=20495230

Change-Id: Iee2e2bd80dea6d368cad0911117e3759bdfe37d9
2015-04-22 15:57:11 -07:00
Selim Cinek
06a24ebd77 Fixed a regression with collapsed notification heights
This could lead to collapsed notifications having and intrinsic
height smaller than the collapsed size and notifications
overlapping.

Change-Id: Iabba19033f8069f1f75218280b97d3a1a45a5efb
2015-04-22 14:22:05 -07:00
Svet Ganov
db30ac84b6 Merge "Make read/write from/to XML persistent state more robust." 2015-04-22 20:44:20 +00:00
Svet Ganov
ba0821ed3b Make read/write from/to XML persistent state more robust.
When writing critical state to XML an excpetion can lead to creating
a malformed XML that is later parsed and may put the device in a bad
state. Hence, on any error while writing we should bail out and drop
the partially write state on the floor.

Corollary, any error on parsing can lead to having a partially read
state that is not consistent which may lead to writing this bad state
back to disk. Hence, on any error while parsing we should bail as
our current state may be unrecoverable.

Change-Id: Ia050c16198cb583f8a51263ad2035dbb948052b8
2015-04-22 13:42:54 -07:00
Steve McKay
a56104d74d Merge "Reduce code duplication between DocumentsActivity and StandaloneActivity." 2015-04-22 18:13:21 +00:00
Ben Kwa
4b1ebb4f4f Merge "Disable copying from Recents." 2015-04-22 17:46:19 +00:00
Ben Kwa
c5979d98cf Disable copying from Recents.
Recents view contains a whole bunch of content aggregated from
potentially many different sources.  Dealing with all these in a single
copy operation can be complex, so for simplicity, copying from recents
view is disabled.

BUG=20487641

Change-Id: I6052e62ee0446da7741f13abfed97044e147dd7d
2015-04-22 10:33:53 -07:00
Steve McKay
ef3e2cf35f Reduce code duplication between DocumentsActivity and StandaloneActivity.
Ensure StandaloneActivity has toolbar management consistent w/ DocumentsActivity.
Introduce a separate SearchManager class since there seemed to be a sufficient body of logic and state to warrant the separation.

Change-Id: I87d9da40095c6de575b124005ca34a8c0b0b4b35
2015-04-22 09:44:30 -07:00
Geoff Mendal
9487a28a78 Merge "Import translations. DO NOT MERGE" 2015-04-22 13:06:51 +00:00
Geoff Mendal
37b4c7989d Import translations. DO NOT MERGE
Change-Id: I72c5378c90345a929c525db99e47abd0c67fdb2f
Auto-generated-cl: translation import
2015-04-22 06:05:01 -07:00
Geoff Mendal
79be57ca3d Merge "Import translations. DO NOT MERGE" 2015-04-22 13:03:50 +00:00
Geoff Mendal
0c886bbb9b Import translations. DO NOT MERGE
Change-Id: I971de964d782fbfd1b54a1fcb5d1366c7416f0e8
Auto-generated-cl: translation import
2015-04-22 06:01:35 -07:00
Geoff Mendal
2782432b4e Merge "Import translations. DO NOT MERGE" 2015-04-22 12:48:54 +00:00
Geoff Mendal
7a80d99ac4 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:47:09 +00:00
Geoff Mendal
2ce10f0f85 Import translations. DO NOT MERGE
Change-Id: Icab122bac2891ca4580116d2c357b7ac64d6baad
Auto-generated-cl: translation import
2015-04-22 05:45:49 -07:00
Geoff Mendal
9e672e0d18 Import translations. DO NOT MERGE
Change-Id: I67f51468d775874da33c28786b86c69e7f1459b1
Auto-generated-cl: translation import
2015-04-22 05:42:32 -07:00
Geoff Mendal
0cdb63213e Merge "Import translations. DO NOT MERGE" 2015-04-22 12:40:00 +00:00
Geoff Mendal
fb13b1a25d Import translations. DO NOT MERGE
Change-Id: Ic171492db55349ae11e8c83cee37f53c1bf1f349
Auto-generated-cl: translation import
2015-04-22 05:39:05 -07:00
Geoff Mendal
1edd3aa997 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:32:13 +00:00
Geoff Mendal
b83bf8330f Import translations. DO NOT MERGE
Change-Id: Ifd3267e13368e7c6deccb173e90b65c5c7a526f6
Auto-generated-cl: translation import
2015-04-22 05:30:32 -07:00
Geoff Mendal
af11fc17b7 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:28:57 +00:00
Geoff Mendal
6fa9148e5e Import translations. DO NOT MERGE
Change-Id: If4919373256f7d4e74072e4c34fcfbc36bad6825
Auto-generated-cl: translation import
2015-04-22 05:27:09 -07:00
Geoff Mendal
910c5426fa Merge "Import translations. DO NOT MERGE" 2015-04-22 12:26:45 +00:00
Geoff Mendal
409d7b2449 Merge "Import translations. DO NOT MERGE" 2015-04-22 12:25:30 +00:00