OSDN Git Service

Hide translucent activity conversion API
authorChet Haase <chet@google.com>
Wed, 11 Sep 2013 21:33:05 +0000 (14:33 -0700)
committerChet Haase <chet@google.com>
Wed, 11 Sep 2013 21:33:05 +0000 (14:33 -0700)
This API and functionality is not yet completely baked. It's worth
thinking more about this mechanism before exposing it as public API.

Issue #10461415 KLP API Review: Activity convert to translucent

Change-Id: I94d986b62443b3bfa7a9a19807ecebe36bf57e07

api/current.txt
core/java/android/app/Activity.java

index 3c4555f..86b2351 100644 (file)
@@ -2725,8 +2725,6 @@ package android.app {
     method public void addContentView(android.view.View, android.view.ViewGroup.LayoutParams);
     method public void closeContextMenu();
     method public void closeOptionsMenu();
-    method public void convertFromTranslucent();
-    method public void convertToTranslucent(android.app.Activity.TranslucentConversionListener);
     method public android.app.PendingIntent createPendingResult(int, android.content.Intent, int);
     method public final deprecated void dismissDialog(int);
     method public boolean dispatchGenericMotionEvent(android.view.MotionEvent);
@@ -2912,10 +2910,6 @@ package android.app {
     field public static final int RESULT_OK = -1; // 0xffffffff
   }
 
-  public static abstract interface Activity.TranslucentConversionListener {
-    method public abstract void onTranslucentConversionComplete(boolean);
-  }
-
   public deprecated class ActivityGroup extends android.app.Activity {
     ctor public ActivityGroup();
     ctor public ActivityGroup(boolean);
index 57686a4..a38fbbf 100644 (file)
@@ -4907,6 +4907,8 @@ public class Activity extends ContextThemeWrapper
      *
      * @see #convertToTranslucent(TranslucentConversionListener)
      * @see TranslucentConversionListener
+     *
+     * @hide
      */
     public void convertFromTranslucent() {
         try {
@@ -4937,6 +4939,8 @@ public class Activity extends ContextThemeWrapper
      *
      * @see #convertFromTranslucent()
      * @see TranslucentConversionListener
+     *
+     * @hide
      */
     public void convertToTranslucent(TranslucentConversionListener callback) {
         try {
@@ -5441,6 +5445,8 @@ public class Activity extends ContextThemeWrapper
      * opaque using {@link Activity#convertFromTranslucent()} and before it has been drawn
      * translucent again following a call to {@link
      * Activity#convertToTranslucent(TranslucentConversionListener)}.
+     *
+     * @hide
      */
     public interface TranslucentConversionListener {
         /**