b/20728113
In case the requested size for memory allocation overflows, or memory
allocation fails.
Change-Id: I8dac132dd4d0210938660ffbb82cbe44000d2a90
(cherry picked from commit 4e90b9b57cc96964a9d5c1845172a72cb51feafb)
Previously all shared element names were delivered when
returning from an Activity, even if no shared elements
existed in the exiting Activity. That prevented the calling
Activity from showing a shared element that it delivered,
but will not be receiving back again until shared elements
are transfered. That leaves a weird hole in the UI.
Now only the shared elements mapped in the returning view
hierarchy are delivered to the calling Activity.
Change-Id: I481a8bc7a771d7e819871f424d22313314c9ee8b
This was accidentally removed during the changes to abstract a Fragment host.
Also ensure Fragment#onInflate(Activity) gets invoked
Bug: 20825263
Change-Id: I981266ae1e8817db5c82ec4609bbcf4a5e676fee
Uses a themed color state list so that even though the animations will
end showing the same drawable that they started from, and therefore the
same tint, the correct color will be displayed based on the state. Also
renames the checkbox assets so it's easier to figure out which one is
going in which direction.
Bug: 20733852
Change-Id: I1e8331d9f035595953db6df3b28b766db3617e1c
Send copy errors to the destination provider.
Big overhaul of tests to make them simpler.
Test that errors during copying are detected and partial copies are
cleaned up.
Test that copying empty directories works properly.
Change-Id: I3fe0e73bdc92c2b6f522857ca5631f6d03d5a666
(cherry picked from commit dae8c378d6c680ae9efa8e1202d9bc92fb0dfb11)
The docs are now really explicit about the layer's ID and how to set
or update the mask layer from code.
Bug: 20493831
Change-Id: I801f10cd08fd1b4bb226c63a1bdf3271229928ea
Sometimes an animator will be interrupted before it starts
during a transition and the onAnimatorEnd will not be called.
In this case, we must set the final state in the onTransitionEnd.
Bug 20416564
Change-Id: I388895215ba2b1c500de3a5afcae8db1fea288f7
- Wire up basic implementation for the system provider that
handles event-based DND subscriptions.
- Backed by the standard system calendar content provider.
- Move shared time utils to base class, clean up logging.
Bug: 20064962
Change-Id: I070b6baa580c592c2ab4101c6b44a254787f9dd7
We now correctly throw an IllegalAccessException for non-public accesses,
but we were relying on the old incorrect behavior during inflation. This
CL forces constructors to be accessible so that we emulate the old
behavior and don't crash.
Where we were already doing this, the CL moves the setAccessible() call
immediately after the getConstructor() call, since there's no point in
calling it multiple times.
Bug: 20810495
Change-Id: I63dfcb857e445f688080eea05e86ef22760ed49f
- Includes unit tests for verifying mobile data indicators.
- Found one bug where dark mode icon wasn't showing properly when
different from light mode icon.
- Comment out failing test
NetworkControllerSignalTest#testSetCurrentSubscriptions
Bug: 20288155
Change-Id: Ib3c9ba224c4187cab35d6bfa68f6bd4c489cf98e