21879 Commits

Author SHA1 Message Date
Selim Cinek
7fce1206fa Merge "Fixed a crash when transforming" 2016-02-04 18:28:27 +00:00
Selim Cinek
9c916fbe76 Merge "Fixed that group children expand buttons were sometimes colored" 2016-02-04 18:28:03 +00:00
Selim Cinek
3c30c06331 Merge "Fixed a bug where the notification big text wasn't transforming" 2016-02-04 18:27:39 +00:00
Selim Cinek
e13b5c8788 Merge "Adapted the background behavior on the lockscreen" 2016-02-04 18:27:13 +00:00
Selim Cinek
c3e3652126 Merge "Adapted the style of notification groups" 2016-02-04 18:26:56 +00:00
Selim Cinek
09159fcf55 Merge "Adapted the no notifications view according to spec" 2016-02-04 18:25:53 +00:00
Selim Cinek
fee27b2d6b Merge "Updated the clear all button to spec" 2016-02-04 18:25:36 +00:00
Jason Monk
1af0ad71ef Merge "Fix battery off center" 2016-02-04 18:17:33 +00:00
Steve McKay
0df25f0d2a Merge "Honor javadocs, call super first in DocumentsProvider.call handling." 2016-02-04 18:06:45 +00:00
Steve McKay
f8d898590b Honor javadocs, call super first in DocumentsProvider.call handling.
Change-Id: Ic7d8d629c4c7df39ce3e2524670169752bab899b
2016-02-04 10:05:52 -08:00
Jason Monk
eae7c31886 Fix battery off center
Bug: 26811313
Change-Id: I1637ebcbc06665252a34ad9929bd772d04abe33f
2016-02-04 13:00:48 -05:00
Jason Monk
62d59cc4a6 Merge "Adjust QS Header in landscape" 2016-02-04 17:38:58 +00:00
Jason Monk
fece2ab2f7 Adjust QS Header in landscape
Give some padding on the expand arrow.

Change-Id: Ia2f88beb453634bfc82a17033f2e7a76d12e2620
2016-02-04 11:41:18 -05:00
Jason Monk
47148a7987 Merge "Rewrite QS customizer" 2016-02-04 16:22:24 +00:00
Jason Monk
62b63a02d7 Rewrite QS customizer
Instead of custom draginess, use RecyclerView with a GridLayoutManager.

Still needs a bit of work, but the overall feel is significantly better
than before.

Change-Id: I3b3927472f69721e265ef7591de2f3052862f392
2016-02-04 10:16:35 -05:00
Jason Monk
bef6de8b3f Update QS + Notification landscape width
Make it bigger, also make QS + Notification width update on config
change, so the new width can take effect.

Change-Id: Id069d21358d7bb716a1dfadc21fa11d1e5d69575
2016-02-04 10:04:58 -05:00
Daichi Hirono
95aaf5d5b0 Merge "Drop device name from storage document name." 2016-02-04 08:29:46 +00:00
Daichi Hirono
f83ccbd7ed Drop device name from storage document name.
When device has multiple storages, storage are shown as directory under
the device root. In this case, we would not like to add device name to
storage.

Note that we still use "device name + storage name" for root name if the
device has a single storage because we skip storage directory in this
case and shows storage's contents directly under the device.

BUG=26625708

Change-Id: Ie13b044e71ae9b5131c4a01ee9d605023d05f168
2016-02-04 17:27:52 +09:00
Jaewan Kim
2a3d3f8072 Support KEYCODE_APP_SWITCH key for TV
Change-Id: I3212dd4045f7f334179c19b8648f0f9f804b21c5
2016-02-04 16:19:10 +09:00
Tomasz Mikolajewski
e21d23515f Merge "Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2." 2016-02-04 06:07:43 +00:00
Tomasz Mikolajewski
24586893ba Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2.
Change-Id: I24f2846c551e0123ad87b3db8a1f5c7dbf628c0c
2016-02-04 15:06:35 +09:00
Daichi Hirono
7c1cb59fab Merge "Fix Identifier.equals method." 2016-02-04 06:06:18 +00:00
Daichi Hirono
19aa93249e Fix Identifier.equals method.
Previously the string was compared by ==.

BUG=26970351

Change-Id: If88b74392955388c9bf59002f2d2a186c2dff71a
2016-02-04 14:19:52 +09:00
Tomasz Mikolajewski
30f0fc7f38 Merge "Fix flaky testLoadsHomebyDefault." 2016-02-04 04:38:29 +00:00
Selim Cinek
9184f9c4cd Collapse all groups now when the shade is collapsed
This could lead to huuge HUNs

Bug: 26884670
Change-Id: Ia99029ccc56b0fb9338bff32c300eaf27ea10c51
2016-02-03 20:30:20 -08:00
Selim Cinek
b66685b0d0 Fixed a crash when transforming
When transforming directly from a hybrid view into a bigtext,
the transformation could crash. This is now fixed.

Change-Id: Ie45c1feaf916c9aa584f1797b7fa0831fe757b9b
2016-02-03 20:30:19 -08:00
Selim Cinek
e3efd83930 Fixed that group children expand buttons were sometimes colored
Because of a race the visibility wasn't set correctly yet

Change-Id: I94366a57049f39c5d12f9aed7af95e2f97bc15ea
2016-02-03 20:30:19 -08:00
Selim Cinek
d634d069dd Fixed a bug where the notification big text wasn't transforming
Because it has a different id the big text wasn't transforming correctly

Change-Id: I2fdb423d3ef4a8fbe651c0bbd32e04c63b193ba5
2016-02-03 20:30:18 -08:00
Selim Cinek
7db4298cb9 Adapted the background behavior on the lockscreen
The background is now at most at the topPadding

Bug: 26869443
Change-Id: I752977300084200ac77f5c0887e4439c3acc2b56
2016-02-03 20:30:18 -08:00
Selim Cinek
a3d3b91a6e Adapted the style of notification groups
The title is now not using the spanned styling anymore
and the overflow is divided differently. Also fixed the
layout for RTL languagues and BIDI.

Change-Id: I5963e1990fe0efefd0355fcaae249546cbb75181
2016-02-03 20:29:36 -08:00
Steve McKay
c67aacc76f Merge "Normalize toolbar management." 2016-02-04 04:20:55 +00:00
Daichi Hirono
cf2b0ab205 Merge "Open MTP device on demand." 2016-02-04 04:15:50 +00:00
Daichi Hirono
fda7474c5f Open MTP device on demand.
Previously MtpDocumentsProvider opens a device just after device is
connected to Android. But MtpDocumentsProvider should open MTP device on
demand so that other applications can open device if user starts to use
the application before using MtpDocumentsProvider.

BUG=26625708

Change-Id: I6083b8c7cef49ee6e9fb0d15ca4adc129734f3eb
2016-02-04 12:45:58 +09:00
Tomasz Mikolajewski
1c0b2326b8 Fix flaky testLoadsHomebyDefault.
The test was resuming a previously opened activity, so naturally the
redirect to Home didn't happen.

This CL fixes the issue by closing the activity in TearDown().

Change-Id: I43e78a83c2b53c52745bc7eef515a8f759559e46
2016-02-04 11:50:45 +09:00
Steve McKay
1f264a8a1a Normalize toolbar management.
Since it was almost all redundant (especially the stack stuff).
Ensure "Files" title present on drawer title in Files app.
DocumentsToolBar > DocumentsToolbar to match toolkit naming.

Bug: 26193264
Change-Id: I92c82c66d936aae3ce0f792581daa12898dfadee
2016-02-03 17:59:06 -08:00
Sudheer Shanka
569258689a Made changes to fix some policy transparency options.
Add isInputMethodPermittedByAdmin and
isAccessibilityServicePermittedByAdmin APIs in DevicePolicyManager.
And update utility methods in RestrictedLockUtils to use the correct
userId when checking if disabled by admin.

Bug: 26897250
Bug: 26767564
Bug: 26966213
Change-Id: I0b74b3e57904a82f8ce72d856769d35b5e8403e5
2016-02-04 01:12:44 +00:00
Aga Wronska
d8c25f8908 Merge "Stop current root reloading when it is clicked again" 2016-02-03 22:55:14 +00:00
Jason Monk
bacab47918 Merge "QS Visuals work" 2016-02-03 22:25:02 +00:00
Jason Monk
db204e9ada Merge "String updates - touch to tap" 2016-02-03 20:44:28 +00:00
Jason Monk
50b4b1eb39 String updates - touch to tap
Bug: 26749895
Change-Id: I5a6d44269e48aa89076199a825b65329c735437c
2016-02-03 15:43:01 -05:00
Jason Monk
db50de8073 QS Visuals work
Mostly just resizing and placement of things.

Change-Id: I28dbe22b0b0633bbe2bd484879e29349510dde29
2016-02-03 15:34:54 -05:00
Philip P. Moltmann
92c293609f Merge "Cancel print job if PrintActivity was finished before spooler could be connected." 2016-02-03 19:51:21 +00:00
Svetoslav Ganov
d7595b3151 Merge "Add a couple of shared libraries - services, shared" 2016-02-03 19:25:52 +00:00
Aga Wronska
45f75e2a81 Stop current root reloading when it is clicked again
Bug: 25079217
Change-Id: I5d32be06d9eda4e5aced965030cce863e8a1965d
2016-02-03 10:09:35 -08:00
Ben Kwa
501fde65b5 Merge "Lint fixes and config tweaks." 2016-02-03 17:12:53 +00:00
Ben Kwa
e3aee18dc9 Lint fixes and config tweaks.
- Add recommended ignore properties to lint.xml.
- Make Fragment subclasses public.
- Truncate log tags at 23 chars.
- Fix one instance of passing a color ID instead of a color.
- Misc xml property fixes.

Change-Id: Ie8d6a8932cda72b7a239f6dfab56bd854f909820
2016-02-03 09:09:40 -08:00
Sudheer Shanka
5e8a6e5661 Merge "Add an utility method to get device owner." 2016-02-03 15:31:55 +00:00
Geoff Mendal
1f7b7aecbd Import translations. DO NOT MERGE
Change-Id: I423629c9356693e4aa2fa8dfc9d32ff662e1d414
Auto-generated-cl: translation import
2016-02-03 06:53:26 -08:00
Geoff Mendal
adf19a8402 Merge "Import translations. DO NOT MERGE" 2016-02-03 14:16:20 +00:00
Geoff Mendal
18e74d09d5 Import translations. DO NOT MERGE
Change-Id: I6b612ab71f970dc349b0178e3c9f4008dbfbe1fa
Auto-generated-cl: translation import
2016-02-03 06:13:05 -08:00