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.
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
Also labeled information contained in the body (i.e., Build Info: and Serial Number:).
BUG: 21454488
Change-Id: I5f2a62147ca3e1989aebfbd465f3e42b96b655df
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
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
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
* 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
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
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
If the parent header already displays the email
we don’t want to display it again in the child.
Bug: 24866646
Change-Id: I3aee62e895fef68b059a61a825eef37f0f8ad875
To avoid overdraw we are now hiding
the background of the view if it has
the same color.
Bug: 24866646
Change-Id: Ie998c9d2e6055d8e88f33300583a4b86bf35362f
In the new grouping model we don't have a dedicated expand button
anymore but only the notification header.
Bug: 24866646
Change-Id: I2e4bc82e502fde951a71b61cd81347c44b9637f6
Moved the responsibility to remove the userlocked flag
into the DragdownHelper instead of the Callback.
Bug: 24866646
Change-Id: Ib0dbe310f9f7637f9bae466b1029728a6611f291