Hide translucent activity conversion API

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
This commit is contained in:
Chet Haase
2013-09-11 14:33:05 -07:00
parent cdd82540f2
commit abd3d778e5
2 changed files with 6 additions and 6 deletions

View 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);

View 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 {
/**