diff options
author | Michael Wright <michaelwr@google.com> | 2014-09-08 13:26:34 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2014-09-11 19:37:30 +0000 |
commit | cde5bb45cc86d181d96ee69da1832e6132162871 (patch) | |
tree | 6f82df423a389191f5930a710c57cf8040c7e7dd /api | |
parent | 969e543b3256044987e4f837cf7a1702dcff82be (diff) | |
download | frameworks_base-cde5bb45cc86d181d96ee69da1832e6132162871.zip frameworks_base-cde5bb45cc86d181d96ee69da1832e6132162871.tar.gz frameworks_base-cde5bb45cc86d181d96ee69da1832e6132162871.tar.bz2 |
Change callback methods from add to register.
Also changes intent returning method from get to create. Both changes
are in response to API council feedback.
Bug: 17389882
Change-Id: I3b57e3fc202148e3bbb24ac61229f04e8b4ac41e
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt index 0315d6b..47204ad 100644 --- a/api/current.txt +++ b/api/current.txt @@ -16345,10 +16345,10 @@ package android.media.effect { package android.media.projection { public final class MediaProjection { - method public void addCallback(android.media.projection.MediaProjection.Callback, android.os.Handler); method public android.hardware.display.VirtualDisplay createVirtualDisplay(java.lang.String, int, int, int, int, android.view.Surface, android.hardware.display.VirtualDisplay.Callback, android.os.Handler); - method public void removeCallback(android.media.projection.MediaProjection.Callback); + method public void registerCallback(android.media.projection.MediaProjection.Callback, android.os.Handler); method public void stop(); + method public void unregisterCallback(android.media.projection.MediaProjection.Callback); } public static abstract class MediaProjection.Callback { @@ -16357,8 +16357,8 @@ package android.media.projection { } public final class MediaProjectionManager { + method public android.content.Intent createScreenCaptureIntent(); method public android.media.projection.MediaProjection getMediaProjection(int, android.content.Intent); - method public android.content.Intent getScreenCaptureIntent(); } } |