Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abd3d778 authored by Chet Haase's avatar Chet Haase
Browse files

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
parent cdd82540
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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);
+6 −0
Original line number Diff line number Diff line
@@ -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 {
        /**