summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2014-09-08 13:26:34 -0700
committerMichael Wright <michaelwr@google.com>2014-09-11 19:37:30 +0000
commitcde5bb45cc86d181d96ee69da1832e6132162871 (patch)
tree6f82df423a389191f5930a710c57cf8040c7e7dd /api
parent969e543b3256044987e4f837cf7a1702dcff82be (diff)
downloadframeworks_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.txt6
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();
}
}