OSDN Git Service

Deprecate EXTRA_STREAM.
authorJeff Sharkey <jsharkey@android.com>
Wed, 22 Mar 2017 02:23:36 +0000 (20:23 -0600)
committerJeff Sharkey <jsharkey@android.com>
Wed, 22 Mar 2017 02:23:40 +0000 (20:23 -0600)
commita0ba51c2ab75c8e0406bbd43742597552b6dae98
treecb91db6ecba584f576291700ffef90e661c135b0
parent5dd59219e3c04fe871b2eca318222a860c5e564e
Deprecate EXTRA_STREAM.

ClipData is much more flexible, and it should be used instead of
EXTRA_STREAM moving forward.  To ensure that legacy apps continue
working, the OS will offer to promote/demote the ClipData value
from/to EXTRA_STREAM.  (We already had the promotion logic, but we
were missing the demotion logic.)

Test: builds, boots
Bug: 35293781
Change-Id: I82cd0b95cf021292282649290ab046cc310fe160
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/content/Intent.java