20205 Commits

Author SHA1 Message Date
Winson Chung
b59db97fc7 Merge "Updating freeform layout to be static at the top of recents." 2015-11-03 23:16:03 +00:00
Steve McKay
541b168c03 Merge "Show only selection count in ActionBar." 2015-11-03 22:52:09 +00:00
Steve McKay
dc127a0919 Merge "Don't show advanced menu in downloads ui." 2015-11-03 22:50:05 +00:00
Steve McKay
9c62fd8dd6 Don't show advanced menu in downloads ui.
Also, don't show search, and file size....and maybe others.

Bug: 25383741
Change-Id: I4bc867254b89011786fdf087b371974ee80d09da
2015-11-03 14:45:30 -08:00
Steve McKay
639938f3dc Merge "Handle SpacerItem on click correctly." 2015-11-03 22:42:20 +00:00
Winson
a5e6b36034 Updating freeform layout to be static at the top of recents.
Change-Id: I5118d03c115080e05447d325097419b9a1c6f8b4
2015-11-03 14:18:03 -08:00
Steve McKay
35820cfe96 Handle SpacerItem on click correctly.
Bug: 13319202
Change-Id: I22f556f512f55cc09eead462a4eb8cea99dc5e64
2015-11-03 14:01:34 -08:00
Steve McKay
fafb81b74c Merge "Use StubProvider for functional tests." 2015-11-03 21:34:14 +00:00
Steve McKay
0c3c695469 Use StubProvider for functional tests.
Add a "UiBot" class for driving the UI from tests.
Add a "DocumentsProviderHelper" class for convenient test doc setup.
Update FilesActivityUiTest to use "TargetContext" which is
    necessary in order to perform ContentProvider
    operations.
Fix a bug where CopyTest relied on implicit order of roots.
Don't include guava in tests...since it breaks functional tests (incompatible class def).
Add test coverage for:
- basic roots list.
- basic files list.
- Live updates to files list.
- basic delete operations.

Bug: 24988170
Change-Id: I2ec01a5e1a474314cb33efb6e92df0f61dfcc1da
NOTE: This is currently broken at the point I try to init files in the stub roots.
2015-11-03 13:18:00 -08:00
Ben Kwa
68dfdb6525 Merge "Fix focus issues on animated items." 2015-11-03 20:00:40 +00:00
Ben Kwa
e48e4ca564 Fix focus issues on animated items.
Implement a custom ItemAnimator to enable focus to persist across change
animations in the DirectoryFragment's RecyclerView.

Note that this is a temporary stop-gap - a better fix would be to have
the RecyclerView restore focus to the appropriate item after a change
animation.

BUG=24802917

Change-Id: I4e4e6f758a2ea87e6235533860863c822d71a27a
2015-11-03 11:59:24 -08:00
Felipe Leme
71b5d29971 Merge "Added serial number in the bugreport message body." 2015-11-03 18:02:48 +00:00
Felipe Leme
a89c6e421e Added serial number in the bugreport message body.
Also labeled information contained in the body (i.e., Build Info: and Serial Number:).

BUG: 21454488

Change-Id: I5f2a62147ca3e1989aebfbd465f3e42b96b655df
2015-11-03 09:21:39 -08:00
Winson Chung
e6e6c996bc Merge "Adding recents experiment override." 2015-11-03 16:45:07 +00:00
Selim Cinek
1412f8482d Fixed a bug where the panel could get stuck closing am: b0e4f9e97e am: 157e60f7a2 am: 341d544693
am: e4fd7227eb

* commit 'e4fd7227ebffb6f33c875c4d1bf48be75ae9f33a':
  Fixed a bug where the panel could get stuck closing
2015-11-03 03:03:12 +00:00
Selim Cinek
e4fd7227eb Fixed a bug where the panel could get stuck closing am: b0e4f9e97e am: 157e60f7a2
am: 341d544693

* commit '341d544693c47ba9c5a60108e0ed4eabb9e2e069':
  Fixed a bug where the panel could get stuck closing
2015-11-03 01:34:31 +00:00
Selim Cinek
341d544693 Fixed a bug where the panel could get stuck closing am: b0e4f9e97e
am: 157e60f7a2

* commit '157e60f7a2ec40bdbb3bde0ea41f1c92bef93a1e':
  Fixed a bug where the panel could get stuck closing
2015-11-03 01:29:27 +00:00
Selim Cinek
157e60f7a2 Fixed a bug where the panel could get stuck closing
am: b0e4f9e97e

* commit 'b0e4f9e97e272783f08b2245219239aaa667073d':
  Fixed a bug where the panel could get stuck closing
2015-11-03 01:21:43 +00:00
Jason Monk
3525141450 Merge "Always show tiles in the new QS" 2015-11-02 23:51:02 +00:00
Jason Monk
de05a18005 Always show tiles in the new QS
Change-Id: I536d19206fd03194b76b01a0f159f0a241d19c8b
2015-11-02 18:48:38 -05:00
Winson
4727ab9322 Adding recents experiment override.
Bug: 25374687
Change-Id: I1e28c5c51aff2787fbbed6e9f39ac1f05e3274d1
2015-11-02 22:36:35 +00:00
Selim Cinek
b0e4f9e97e Fixed a bug where the panel could get stuck closing
When mClosing was set even though the panel was not
expanding, the variable was never reset leading to
bad states like the notification shade not updating,
people missing calls and similar bad bugs.

Bug: 25338991
Change-Id: I4362fda257770c98c5f9ba75a5622b14f74dc5ae
2015-11-02 21:51:34 +00:00
Wale Ogunwale
02a5a6bb9b Merge "Added StackId object for checking what features a stack supports" 2015-11-02 20:38:39 +00:00
Wale Ogunwale
3797c22ea1 Added StackId object for checking what features a stack supports
Helps make the code easier to follow since we are no longer checking
multiple stack ids at various decision points.

Bug: 25282299
Change-Id: Ifa6864a1ef56ce2eca4c94f87a4e0b993de987cd
2015-11-02 11:32:42 -08:00
Winson Chung
723b5d90df Merge "Prevent and log invalid cache entries." 2015-11-02 18:36:27 +00:00
Winson
eb1b65a976 Prevent and log invalid cache entries.
Bug: 25413518
Change-Id: Id0a7384eccd25ba766feb0c568b4c16db2b6f6c8
2015-11-02 10:33:16 -08:00
Winson Chung
d1f2ebcdb3 Merge "Add ability to cancel task window transitions." 2015-11-02 18:17:12 +00:00
Winson
c28098f69b Add ability to cancel task window transitions.
Bug: 25392381

Change-Id: I45f48edc21c058df0e4c22ceaf7e9aef5899a29c
2015-11-02 10:16:23 -08:00
Winson
2dd7694681 Reporting task bounds in RecentTaskInfo.
Change-Id: I8e88d1aca5fa0ee316e93afe4fb63264e2d338f0
2015-11-02 18:04:38 +00:00
Tony Mantler
2858bd2e36 Merge "Move more Accessibility stuff to SettingsLib" 2015-11-02 16:46:57 +00:00
Daichi Hirono
6de8a0e51f Implement ID mapping for root documents.
MTP identifiers like object handle is unstable over MTP sessions.  The
CL introduce two methods to MtpDatabase that enables the provider to
remap exisitng document ID with new MTP identifiers when the provider
reopen the MTP session.

 * MtpDatabase#clearMtpIdentifier invalidates old MTP identifiers
 * MtpDatabase#resolveRootDocuments remaps invalidated documents with
   new MTP identifier.

BUG=25162822

Change-Id: Iadb668ae5932da81aba2b2731d0d185da5656f16
2015-11-02 11:30:47 +09:00
Selim Cinek
01a46f4e25 Merge changes from topic 'notification_children'
* changes:
  Follow up CL for notification children change
  Allow expanding notification groups by dragging down
  Changed the appearance of notification bundles
  Hiding subtext of children notifications now
  Hiding the children backgrounds now
  Introduced the notification header
  Slight refactoring of notification groups
  Fixed a bug where a notification could stay userlocked
2015-10-31 01:45:35 +00:00
Selim Cinek
a6c6bfb61b Follow up CL for notification children change
The CLs of the notification children change have been
quite overlapping, so a few comments are addressed in this
change.

Bug: 24866646
Change-Id: If3cd029f5a97302fc33f3e2b6b6b147938ddcd3e
2015-10-30 16:28:40 -07:00
Selim Cinek
388df6dd3d Allow expanding notification groups by dragging down
Bug: 24866646
Change-Id: Ie7c5ee6753c2f246df04189bb92e08baf0242797
2015-10-30 16:28:40 -07:00
Selim Cinek
83bc783384 Changed the appearance of notification bundles
Children now show up as one line notifications even
if the summary is not expanded. The childrenContainer
shows a summary if there are some which don't fit
in there currently.

Bug: 24866646
Change-Id: I0cfae9342722c9f8941f51704618190cfe4e76b4
2015-10-30 16:28:39 -07:00
Selim Cinek
8d6440dbab Hiding subtext of children notifications now
If the parent header already displays the email
we don’t want to display it again in the child.

Bug: 24866646
Change-Id: I3aee62e895fef68b059a61a825eef37f0f8ad875
2015-10-30 16:28:39 -07:00
Selim Cinek
34d93b0985 Hiding the children backgrounds now
To avoid overdraw we are now hiding
the background of the view if it has
the same color.

Bug: 24866646
Change-Id: Ie998c9d2e6055d8e88f33300583a4b86bf35362f
2015-10-30 16:28:38 -07:00
Selim Cinek
eef8428510 Introduced the notification header
In the new grouping model we don't have a dedicated expand button
anymore but only the notification header.

Bug: 24866646
Change-Id: I2e4bc82e502fde951a71b61cd81347c44b9637f6
2015-10-30 16:28:00 -07:00
Tony Mantler
5fb3a7f666 Move more Accessibility stuff to SettingsLib
Change-Id: I081bffea6ff4da455f9040fc3f45198d1de85d26
2015-10-30 16:20:25 -07:00
Winson Chung
15ca73ac51 Merge "Ensuring that tasks in the back are always visible." 2015-10-30 23:17:35 +00:00
Winson Chung
2a1d77ef16 Merge "Fixing crash when swiping away last task." 2015-10-30 23:17:29 +00:00
Winson
0711be5cef Ensuring that tasks in the back are always visible.
Change-Id: Ic64a1eac4b312c1efdb8c3ab005903a53b4a61d2
2015-10-30 16:06:08 -07:00
Winson
3e9964ffdb Fixing crash when swiping away last task.
Change-Id: I53e8e619b42ac2069aafce66f74281e72fcffa21
2015-10-30 15:32:06 -07:00
Filip Gruszczynski
57311f7617 Merge "Hide recents during freeform to recents animation." 2015-10-30 21:34:57 +00:00
Filip Gruszczynski
1a5203dfd5 Hide recents during freeform to recents animation.
Bug: 24913782
Change-Id: I6a5d3a638640571a902e095c4c0650b88eea0fb6
2015-10-30 14:33:48 -07:00
Geoff Mendal
fbe4ba4fc9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 25390707
Change-Id: Ief847dab50086dfc1c38d5a3fd50c5971efc7238
2015-10-30 14:30:15 -07:00
Selim Cinek
263398f017 Slight refactoring of notification groups
For the preparation of the bigger UI rewamp.

Bug: 24866646
Change-Id: Id5760ba6e5bae88c052bdd30ae47d9671a2a19c2
2015-10-30 13:10:48 -07:00
Selim Cinek
5243c12f49 Fixed a bug where a notification could stay userlocked
Moved the responsibility to remove the userlocked flag
into the DragdownHelper instead of the Callback.

Bug: 24866646
Change-Id: Ib0dbe310f9f7637f9bae466b1029728a6611f291
2015-10-30 13:10:47 -07:00
Winson Chung
ca8aeea7ed Merge "Initial layout/behaviour for freeform workspace." 2015-10-30 19:47:27 +00:00
Winson
36a5a2c700 Initial layout/behaviour for freeform workspace.
Change-Id: Idc878862747d0d726cbf10be9893c48736673d0e
2015-10-30 12:45:36 -07:00