• Home
  • History
  • Annotate
  • only in /frameworks/support/v4/api21/android/support/v4/
History log of /frameworks/support/v4/api21/android/support/v4/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e49860b0f76d8336c1d41831ed370b0ff94278ef 04-Dec-2014 RoboErik <epastern@google.com> Make MediaSessionCompat/MediaControllerCompat work pre 21

This adds support for cross-process communication between MediaSessionCompat
and MediaControllerCompat. This is to support apps that split their playback
service and ui into different processes and to work with the MediaRouter
support lib.

bug:18186638
Change-Id: Ib554108fd4db5a9855d482cf3d61ce3d8d9c8850
edia/session/MediaSessionCompatApi21.java
99946b93e554c4a074bcc08d0ebac48fb0b49130 03-Dec-2014 Alan Viverette <alanv@google.com> Merge "Compat method for two-arg Resources.getDrawableForDensity()" into lmp-mr1-dev
443cb471a7e4f6822e31ac0fc9a003756aca9382 03-Dec-2014 Maxim Bogatov <maximbogatov@google.com> Merge "adding isImportantForAccessibility() to ViewCompat" into lmp-mr1-dev
b5538e1e9fdc71d53e353ef42d4a76ddf813c318 03-Dec-2014 Alan Viverette <alanv@google.com> Compat method for two-arg Resources.getDrawableForDensity()

BUG: 18579576
Change-Id: Ib4eb69e462284c793ff06c38909c3769e29a698a
ontent/res/ResourcesCompatApi21.java
aeb95a772d4365008145407ed52dfbaa61d3c4ac 25-Nov-2014 RoboErik <epastern@google.com> Finish stubbing out MediaControllerCompat APIs

This makes sure MediaControllerCompat has all the methods MediaController
has and passes calls through to the framework component on 21+. This does
not do backwards compatibility yet.

Change-Id: I96cf0bb0e33c09c74edf79e276feb5d6829b7a1f
edia/session/MediaControllerCompatApi21.java
2e8572c7a0f35ca607038064d47d7f683ebed4ef 25-Nov-2014 Maxim Bogatov <maximbogatov@google.com> adding isImportantForAccessibility() to ViewCompat

bug: 18255648 - ViewCompat should have isImportantForAccessibility
Change-Id: Ieb3effd3488cb4821be9fc51d84ca6d99225093f
iew/ViewCompatApi21.java
ceb8bf5e5cce7a37736981e626c4be416378767b 21-Nov-2014 RoboErik <epastern@google.com> Finish stubbing out MediaSessionCompat

This adds all the methods in MediaSession to MediaSessionCompat and
the code to pass it through to the framework version when available.

This does not add support for pre-L.

bug:18186638
Change-Id: Icfc80df088db87b6eff629edbc08b4107fbe2821
edia/session/MediaSessionCompatApi21.java
70c9e0254b582c099be6356c700da01f997ec43c 17-Nov-2014 RoboErik <epastern@google.com> Merge "Add a way to create a compat Token from a fw Token" into lmp-mr1-dev
ae70d8d953ef632acb9f176609a1f75bd948d101 13-Nov-2014 RoboErik <epastern@google.com> Add a way to create a compat Token from a fw Token

Adds a method to MediaSessionCompat.Token for creating a Token from a
framework token.

Change-Id: Ic0412e24256536666162781e3241e5e43e25204f
edia/session/MediaSessionCompatApi21.java
73342e6c85cc814b7117fb3a642c230021d6b7e9 11-Nov-2014 Zhen Yu Song <zhensong@google.com> + Moved CarExtender to NotificationCompat
Bug: 18316420

Change-Id: I06471ad6e71eb7c87415aa263a0a8ad9563761bc
pp/NotificationCompatApi21.java
8c1ad6929044cda94be9a295f7a5d281aae325da 06-Nov-2014 RoboErik <epastern@google.com> Merge "Add MediaDescriptionCompat to the support lib" into lmp-mr1-dev
c766ad5a6e0c115f08b933ede22375c7070a3391 31-Oct-2014 George Mount <mount@google.com> Only modify add Transition targets when they aren't targeted.

Bug 18191727

Transitions were targeting specific views, but they do this by
adding targets. If there was already a view targeted, now that
transition also targeted a different view. This prevents that
by only targeting views when no target was given.

Change-Id: I003d531c6d249e5fdec5a544d37220350838bb3a
pp/FragmentTransitionCompat21.java
cf9daf1b11f55ecb9f4008cd1c7af2c8dac990af 30-Oct-2014 RoboErik <epastern@google.com> Add MediaDescriptionCompat to the support lib

This is needed to support changes to MediaRouter.

bug:17879842
Change-Id: Iffd12398ee4d44df21204d23a378c954fee3aa88
edia/MediaDescriptionCompatApi21.java
8ee2c1b90b94789d1d47e0143545f1081b108935 30-Oct-2014 RoboErik <epastern@google.com> Merge "Add setSessionActivity to MediaSessionCompat" into lmp-mr1-dev
85d539daa11f9f7bd61ecb8ebb4d43536c02a736 30-Oct-2014 RoboErik <epastern@google.com> Add setSessionActivity to MediaSessionCompat

This method is useful for TV apps that want to use the compat version
to make switching later easier.

bug:18186638
Change-Id: I48b81c668d73761d355518324075f37a86a9029d
edia/session/MediaSessionCompatApi21.java
84ef4490e42b960ea375630f9cc37246af9c571b 29-Oct-2014 Svetoslav <svetoslavganov@google.com> Add support APIs to add custom actions.

Some apps need to expose custom accessibility actions in a
backwards compatible way. This change exposes the needed APIs.

Change-Id: Ifb2bd523c3b15313a1998a44166668eb85cc53cf
iew/accessibility/AccessibilityNodeInfoCompatApi21.java
84cdd567de45ea632670d51da5fb4545248d073b 20-Oct-2014 Chris Banes <chrisbanes@google.com> Make DrawerLayout's status bar default to colorPrimaryDark on L

BUG: 18040561
Change-Id: Ie5f3f3f4e52bfd9cd774923e4eb708c31a0f93d2
idget/DrawerLayoutCompatApi21.java
ea4f700ac38424954c56df5138ff794def50b019 23-Sep-2014 Chris Banes <chrisbanes@google.com> Properly handle window inset changes on L

Added ViewCompat APIs for OnApplyWindowInsetsListener
since it was needed for the fix.

BUG: 17608376

Change-Id: I59411d6b364f2da22a1b187b206b8f47e25bf38b
iew/ViewCompatApi21.java
iew/WindowInsetsCompatApi21.java
287f7575a420e46363bac5990104a90c22b9ab85 23-Sep-2014 Jeff Sharkey <jsharkey@android.com> Merge "Utility to represent document trees." into lmp-dev
5fdfbc2e02f46509474057e4366585f6a6062cb9 17-Sep-2014 Jeff Sharkey <jsharkey@android.com> Utility to represent document trees.

API 21 adds the powerful new ACTION_OPEN_DOCUMENT_TREE, but it can
be tedious to use correctly, and developers can be overwhelmed when
suddenly forced to use it because of SD card security changes.

To ease the transition process, this change introduces a new
DocumentFile object that looks and feels like a traditional
java.util.File object. However, it has nontrivial overhead because
it creates new objects for every file traversed, and because it
doesn't cache any metadata.

Since developers probably have code heavily using java.util.File,
offer fromFile() to simplify their code paths; they can adopt
DocumentFile and have their core logic work on both API 21 and older
versions.

Bug: 17490054
Change-Id: I034a0d6b800bcba489e5a6231b4fe62b5076456d
rovider/DocumentsContractApi21.java
62260534040eba52462875a435df2c1f50ab846e 19-Sep-2014 George Mount <mount@google.com> Target only shared elements with shared element Transition

Bug 17549213
Bug 17553253

Change-Id: I82b9f52fdd8b386abd5839e1471fab82f890b327
pp/FragmentTransitionCompat21.java
f9c35128decbd812ff2497852ccacbd1ffbbd811 18-Sep-2014 Adam Powell <adamp@google.com> DrawerLayout insets support for drawing under the status bar

When DrawerLayout is set to android:fitSystemWindows="true", it can
now intelligently apply insets to child views as well as draw
background protection for the status bar.

If a child view does not itself specify fitsSystemWindows=true, it
will have its margins altered to inset for the system window insets.
If the child does, it will have insets dispatched to it accordingly.

Bug 17547635

Change-Id: Ifa8e2a681ad4915421715870cb8be27df76e1132
idget/DrawerLayoutCompatApi21.java
idget/DrawerLayoutImpl.java
5a8f14de0bb4304f9a3aebdcb35ee0dd607f27f7 15-Sep-2014 George Mount <mount@google.com> Fixed enter/exit transitions working against shared elements.

Bug 17499971

The enter and exit transitions were targeting the shared element.
This means you'd get double transitions on the shared element.

Fixed bug where the wrong views were targeted when there was
only one enter/exit/shared element transition.

Change-Id: Ieb3a4cfcd35479a82adc3ee269c5b0015ab5d5af
pp/FragmentTransitionCompat21.java
03230ff759c8b14885d626037bda64c21353dc6f 11-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Add a11y support for RecyclerView" into lmp-dev
6739bc7f97ba5486b6f6114fb3812b098822cc3c 10-Sep-2014 George Mount <mount@google.com> Merge "Move capturing entering views until just before transition." into lmp-dev
0f5ae57910484f1d873fdad90966b6244a633bd4 08-Sep-2014 George Mount <mount@google.com> Move capturing entering views until just before transition.

Bug 17407387
Bug 17420256

Recycler view doesn't instantiate its views until after
the onCreateView call. This delays the capturing of
final views until just before the entering state is
captured for the Transition.

Change-Id: Ifd6ecaa21cefb4f6f8f720b319993bf0b9e2d8f7
pp/FragmentTransitionCompat21.java
a910619e83d0052e1d81aa5fe532821a2f99d76c 09-Sep-2014 Yigit Boyar <yboyar@google.com> Add a11y support for RecyclerView

Bug: 17411052
Change-Id: I9ef93f0bb072e190d6017ee991e6d2c0ab119a62
iew/accessibility/AccessibilityNodeInfoCompatApi21.java
2c173d4e6a5a5f9650cd7ba416cdaba4f99d3784 10-Sep-2014 RoboErik <epastern@google.com> Merge "Add MediaSession support to MediaRouter support lib" into lmp-dev
469286122bcbbecbdd0bef74fb50f9d8920e77b9 02-Sep-2014 Chris Banes <chrisbanes@google.com> Add dynamic Drawable tinting to appcompat

Brings the res folder down to 297kB from 435kB,
saving > 30% of disk space (compressed).

Change-Id: Ia64ceacb5afed7f17203ff17ce5eaa990d58be7c
raphics/drawable/DrawableCompatL.java
bbcdf78e350d58ecd6baa75e282d4908d3129fe2 09-Sep-2014 RoboErik <epastern@google.com> Add MediaSession support to MediaRouter support lib

Adds a method for setting a MediaSession on MediaRouter that can be
used for volume controls.

bug:17427963
Change-Id: Idc4856373ab9b44500c6fa223236393d166ecbf0
edia/session/MediaSessionCompatApi21.java
755b0af73cb09498b0fd728071d195f1f81c241c 09-Sep-2014 Griff Hazen <griff@google.com> Merge "Add a few missing notification features to compat." into lmp-dev
48d8878e34b0d9983166418378125b63faac9aab 20-Aug-2014 Griff Hazen <griff@google.com> Add a few missing notification features to compat.

1. EXTRA_BIG_TEXT from 21
2. showWhen from 17.

Bug: 17425365

Change-Id: I638fd7213fd2bec83a62922d0c12578ce1089217
pp/NotificationCompatApi21.java
621e486b7f73657ca0571763cc059024d134d2fb 05-Sep-2014 RoboErik <epastern@google.com> Merge "Update add/removeCallback methods to register/unregisterCallback" into lmp-dev
9306f07b1d66f4974a81f781d29739b30124fff0 29-Aug-2014 George Mount <mount@google.com> API Review: change SharedElementListener to SharedElementCallback

Bug 17289526

Change-Id: I49f8d838207524fbf0ec099021bcf7312c28bd82
pp/ActivityCompat21.java
9f4a046cbeb22a24d322a644323b41022ad9d15a 02-Sep-2014 George Mount <mount@google.com> Change Fragment Transitions to match Activity Transitions API.

Bug 17188255

Change-Id: I99897ba3c78f3f140000a719afbcfac951e43290
pp/FragmentTransitionCompat21.java
16ac83bebda2a19930b9d692789f3b507c49951b 05-Sep-2014 RoboErik <epastern@google.com> Update add/removeCallback methods to register/unregisterCallback

bug:17390821
Change-Id: Ie1248060bf23d9962f4db06fe7d533860c6caa71
edia/session/MediaControllerCompatApi21.java
e0c3fd8d5c24c7e8bcc54234f30c01e78137b67e 04-Sep-2014 RoboErik <epastern@google.com> Update VolumeProvider support to match fw

bug:17258168
Change-Id: I3f4477c51f408c48f3ed0e7cfb4a1f9a9f4420c1
edia/VolumeProviderCompatApi21.java
ac00a989afc2f1c559fc33174f481a0a0ef5b3d8 01-Sep-2014 Chris Banes <chrisbanes@google.com> Backport Toolbar framework updates to appcompat

BUG: 17253638
BUG: 17305707
BUG: 17298370

Change-Id: Ic4f876565f7da93b166c52d4a206f86ae78d5ca7
raphics/drawable/DrawableCompatL.java
312f13dea7b4a9229dff784c6e94b0ec0c722b74 19-Aug-2014 RoboErik <epastern@google.com> Updates for API feedback round 2

bug:17114404
Change-Id: I25231187a39d898c2e9ff4ef28105d188e32b84d
edia/session/MediaControllerCompatApi21.java
edia/session/PlaybackStateCompatApi21.java
21b38649fa58ad76f993e8767fd6f519c7013a26 16-Aug-2014 RoboErik <epastern@google.com> Updates to APIs for council feedback

see I3a0b4371700ad6657972c312a5ab89ddfac6df5b for more details.

bug:17059552
Change-Id: I6218b7f542da923686e99106687478fe1b795eb9
edia/session/MediaControllerCompatApi21.java
23138c4b9be07abdab0cfdde2c62186359c9e7fa 14-Aug-2014 RoboErik <epastern@google.com> Add onSessionDestroyed to MediaController.Callback

Adds the onSessionDestroyed callback to the support version of
MediaController.Callback.

bug:17009030
Change-Id: Iff81143137ba564dc4b52fe90c63ae06a9459994
edia/session/MediaControllerCompatApi21.java
9038afb70d70650d87659bb252181ca8645670b8 06-Aug-2014 Chris Craik <ccraik@google.com> add getOutline support to RoundedBitmapDrawable

bug:15933290

Change-Id: I8427ac646091e33eaa2ed567fb656b1a4ea267a7
raphics/drawable/RoundedBitmapDrawable21.java
8af0092e2d7409e79779af396d63ca4146f1fb21 07-Aug-2014 RoboErik <epastern@google.com> Combine MediaSession TransportControlsCallback and Callback

Change-Id: Ia9096882e3abef877e557a5a11bbee4540e3d3da
edia/session/MediaSessionCompatApi21.java
515adbf30b9a0c7c1b71450086fa022b1061487a 05-Aug-2014 Erik Pasternak <roboerik@android.com> Revert "Revert "Add metadata display fields and switch to CharSequence""

This reverts commit 7cbd56839326c636a9bc6a3edec8da643238dca0.

Change-Id: I33b8c71c29d9879dddcf875dbfd52301f3333ab7
edia/MediaMetadataCompatApi21.java
7cbd56839326c636a9bc6a3edec8da643238dca0 01-Aug-2014 Erik Pasternak <roboerik@android.com> Revert "Add metadata display fields and switch to CharSequence"

accompanying fw change needs a manual rebase.

This reverts commit 33cd4ae9d391f85b812fa666b942dc8ed3ebbd31.

Change-Id: I94403855329bd3dbe0d763577ebb972985b38276
edia/MediaMetadataCompatApi21.java
33cd4ae9d391f85b812fa666b942dc8ed3ebbd31 29-Jul-2014 RoboErik <epastern@google.com> Add metadata display fields and switch to CharSequence

bug:11708293
Change-Id: If5149e167f2c2c1daea4f9393b0edda5e5362aa8
edia/MediaMetadataCompatApi21.java
5c41750574ba65da432b69f89cd32dc356281005 26-Jul-2014 RoboErik <epastern@google.com> Add context to MediaController constructors

Part of an api change to MediaController.

bug:16561220
Change-Id: I94de9422f4ab5a30d53e0f00227f0d195ad97490
edia/session/MediaControllerCompatApi21.java
49c78900da0d43140fb602431fb93212bd7f6c70 15-Jul-2014 Chris Banes <chrisbanes@google.com> Update internal Action Bar implementation to L

This CL brings all of the internal widgets and helpers
for the Action Bar up to date with L. We now only use the
unbundled ActionBar/ToolBar implementation. This is to ease
integration and make styling simpler.

Change-Id: I267c9ee90b5707d997910c57242e26130f2dbcf8
raphics/drawable/DrawableCompatL.java
iew/ViewCompatApi21.java
43c5718722bab1f836b7c94f2ec0bc19e653037c 24-Jul-2014 Griff Hazen <griff@google.com> Fix API 20 notification compat: strip out unavailable apis

And modify the API 21 stage to use the new apis.

Bug: 16484492
Change-Id: I63885077985ded1548abe411a171b40773d34c55
pp/NotificationCompatApi21.java
b530c89bba371d2d575f10480b2e90914b0d3f3f 21-Jul-2014 Gabriel Peal <gpeal@google.com> Update support lib for changed MediaSession and MediaController APIs

Change-Id: Ib44c8ac3780bbaccdb68ec54d8225677edc0936b
edia/session/MediaControllerCompatApi21.java
edia/session/MediaSessionCompatApi21.java
1435afe32073dee10e721dfb6122ce6a194a6412 22-Jul-2014 RoboErik <epastern@google.com> Update to support AudioAttributes in sessions

This does the minimal work to build with AudioAttributes in the
sessions apis. More work will need to be done to fully support them
here.

Change-Id: I5ecda170927025b8e21a365bd58260863a1305c0
edia/session/MediaControllerCompatApi21.java
edia/session/MediaSessionCompatApi21.java
1f94e518424cbf818607f63e353f2a597ed1dd37 18-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Add category constants to NotificationCompat

Change-Id: Id975cf19a0025391694bee7dc8f76d0ce43e04a0
pp/NotificationCompatApi21.java
75e2071f16bae2b22d1618026d10337daad862cf 17-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Add NotificationCompat support for getting category

It'll only ever be non null on api 21 devices for the moment,
but we may make it writable on earlier versions later.

Change-Id: If10f66b03cc045b9c6ad6745cc508094a66b839e
pp/NotificationCompatApi21.java
ead061ff8567599fa905a1ee1de2532b7050d7fa 16-Jul-2014 RoboErik <epastern@google.com> change adjustVolumeBy to adjustVolume

Change-Id: I92ff31106eade5d085b0fa8b8a1b3e2de10ea970
edia/VolumeProviderCompatApi21.java
f87e8513ce55303168acd9c698acd5bbd33b9bad 16-Jul-2014 RoboErik <epastern@google.com> Update MediaSession/Controller constructors

part of API change

Change-Id: Ia1f4222e256b398c35390827fc7c7c5b60ab88b1
edia/session/MediaControllerCompatApi21.java
edia/session/MediaSessionCompatApi21.java
c40d36383f21a8ad199f440b1f233c923910e82a 16-Jul-2014 Jeff Sharkey <jsharkey@android.com> Add code cache directory for apps.

This provides a directory where apps can cache compiled or optimized
code generated at runtime. The platform will delete all files in
this location on both app and platform upgrade.

Bug: 16187224
Change-Id: I0f6a342d8dc2241aa475938ea18c9def311e46bc
ontent/ContextCompatApi21.java
5525d0e30d8d9d068790e9420a433f63dd1f0e00 15-Jul-2014 Christopher Tate <ctate@google.com> Add Context.getNoBackupFilesDir() to compat lib v4

Bug 16240573

Change-Id: Iec1aed0e05fd2eec980826450354feaa18ca6760
ontent/ContextCompatApi21.java
84b0350796e4ae8a113ce1abba54f07a2605cc5c 14-Jul-2014 RoboErik <epastern@google.com> Update PlaybackState for api changes

bug:15862252
Change-Id: I70771f7f4a1e4b83212661ee8e3e884e9ffb0b39
edia/session/PlaybackStateCompatApi21.java
0bf2af5f2d3034e7c8e4aadb076d258122906e1d 11-Jul-2014 Dake Gu <dake@google.com> add transtiionName, transitionGroup to ViewCompat/ViewGroupCompat

Change-Id: I520a7d8a37b51c6f0421386b8766a36d52dcac9b
iew/ViewCompatApi21.java
iew/ViewGroupCompatApi21.java
8b8a369d50ff43ad2a8836e66283c2bca9c2711e 09-Jul-2014 George Mount <mount@google.com> Expose delayed Activity Transitions.

Bug 16182950

Change-Id: I8c911e103cdc418d311f5489f23e56e8230672ee
pp/ActivityCompat21.java
d2eec9eeb9bacd4b62d4fc1c66760ec1f7f8a73b 11-Jul-2014 Erik Pasternak <roboerik@android.com> Revert "Update PlaybackState for api changes"

Will resubmit tomorrow for Build Breakage Friday as this change needs new SDK prebuilts for unbundled app branches.

This reverts commit 6a8dd5697fe59c7cf017fbbfcf4e24264e0a0156.

Change-Id: I45ed32dcf74c2cb0db4e68e8851995c778c35fa3
edia/session/PlaybackStateCompatApi21.java
6a8dd5697fe59c7cf017fbbfcf4e24264e0a0156 10-Jul-2014 RoboErik <epastern@google.com> Update PlaybackState for api changes

bug:15862252
Change-Id: I05ba921021a3b2818519324654a52953cd0059ca
edia/session/PlaybackStateCompatApi21.java
8ea3b7e9bae080d5ab65a150e952c87db70cc3a3 25-Jun-2014 Jeff Brown <jeffbrown@google.com> Make MediaSessionToken an inner class of MediaSession.

Change-Id: I3556c3d856ab6d1a9e6e0959f8e50be148da1187
edia/session/MediaControllerCompatApi21.java
24fa6c0dd42df057729e1a258388183f94da7f82 24-Jun-2014 Jeff Brown <jeffbrown@google.com> Add media session wrappers to support library.

This is an initial check-in which just wraps the API 21+ media session
features for use in the support library. It does not provide any
backwards compatibility.

Change-Id: Ife5f8ddeefa8c6920517fc6704cc19e22767b7d6
edia/MediaMetadataCompatApi21.java
edia/RatingCompatApi21.java
edia/VolumeProviderCompatApi21.java
edia/session/MediaControllerCompatApi21.java
edia/session/MediaSessionCompatApi21.java
edia/session/PlaybackStateCompatApi21.java
4500be62dea3895a98336122a2944cc4ab024bc5 27-Jun-2014 George Mount <mount@google.com> Add support for shared elements in fragment transitions.

Bug 15891071

Custom transitions in the Fragment Transaction have a
higher priority than animations, transition style, or
transition resource. If the API < 20, custom transitions
will not be active and the other animation types will
take effect.

Change-Id: I7f18f9b9a75f73d58a16184a301458bdcd331098
pp/FragmentTransitionCompat21.java
559b5e8554651ffc9f9cc639f8e363b9494fc98a 26-Jun-2014 George Mount <mount@google.com> Add support for ActivityTransitions.

Bug 15828815

Change-Id: Ic393edf347b15dcb0563d21c5bb7d9e702a3b71b
pp/ActivityCompat21.java
pp/ActivityOptionsCompat21.java
389a2e54dda92632fc0004c17323ae4e5a249277 03-Jun-2014 Kristian Monsen <kristianm@google.com> Adding getActionList to the support library

Change-Id: Ic317d437986375f4d75f54cefaf9e0ed75c4a5f6
iew/accessibility/AccessibilityNodeInfoCompatApi21.java
0f0408b6514f8e9c105d255de3c62dc91744f7a8 03-Jun-2014 Alan Viverette <alanv@google.com> Add support library utils for Resources.getDrawable()

Change-Id: I688959e68469d57b3bd675cbd7b87b5abb8971fc
ontent/res/ResourcesCompatApi21.java
479dd28f2936062d37166a949419d332053af44c 20-May-2014 Alan Viverette <alanv@google.com> Add support lib for API 21

BUG: 15025369
Change-Id: I4d385819100befbda3be71e4bd04f649183c2c79
ontent/ContextCompatApi21.java