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

Commit 4f3867e3 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Time to remove some old APIs!

Change-Id: I73ca23b0d5c7971a00dfa05357f9b630d9b6ebc8
parent 6866d691
Loading
Loading
Loading
Loading
+0 −26
Original line number Diff line number Diff line
@@ -17275,19 +17275,6 @@
<parameter name="newIntent" type="android.content.Intent">
</parameter>
</method>
<method name="setPersistent"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="deprecated"
 visibility="public"
>
<parameter name="isPersistent" type="boolean">
</parameter>
</method>
<method name="setProgress"
 return="void"
 abstract="false"
@@ -26050,19 +26037,6 @@
<parameter name="intent" type="android.content.Intent">
</parameter>
</method>
<method name="setForeground"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="true"
 deprecated="deprecated"
 visibility="public"
>
<parameter name="isForeground" type="boolean">
</parameter>
</method>
<method name="startForeground"
 return="void"
 abstract="false"
+0 −26
Original line number Diff line number Diff line
@@ -23636,19 +23636,6 @@
<parameter name="newIntent" type="android.content.Intent">
</parameter>
</method>
<method name="setPersistent"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="deprecated"
 visibility="public"
>
<parameter name="isPersistent" type="boolean">
</parameter>
</method>
<method name="setProgress"
 return="void"
 abstract="false"
@@ -35347,19 +35334,6 @@
<parameter name="intent" type="android.content.Intent">
</parameter>
</method>
<method name="setForeground"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="true"
 deprecated="deprecated"
 visibility="public"
>
<parameter name="isForeground" type="boolean">
</parameter>
</method>
<method name="startForeground"
 return="void"
 abstract="false"
+1 −0
Original line number Diff line number Diff line
@@ -1730,6 +1730,7 @@ public class Activity extends ContextThemeWrapper
    /**
     * @deprecated As of {@link android.os.Build.VERSION_CODES#GINGERBREAD}
     * this is a no-op.
     * @hide
     */
    @Deprecated
    public void setPersistent(boolean isPersistent) {
+3 −1
Original line number Diff line number Diff line
@@ -568,6 +568,8 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac
     * be killed when they would like to avoid it), vs allowing the performance
     * of the entire system to be decreased, this method was deemed less
     * important.
     * 
     * @hide
     */
    @Deprecated
    public final void setForeground(boolean isForeground) {
@@ -585,7 +587,7 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac
     * would notice if their music stopped playing.
     * 
     * <p>If you need your application to run on platform versions prior to API
     * level 5, you can use the following model to call the the older {@link #setForeground}
     * level 5, you can use the following model to call the the older setForeground()
     * or this modern method as appropriate:
     * 
     * {@sample development/samples/ApiDemos/src/com/example/android/apis/app/ForegroundService.java
+1 −1
Original line number Diff line number Diff line
@@ -469,7 +469,7 @@ in {@link android.app.ActivityManager.RunningAppProcessInfo}. The value
indicates that a specific process is running something that is considered to be
actively perceptible to the user. An example would be an application performing
background music playback.</li>
<li>The {@link android.app.Activity#setPersistent(boolean)} method to mark an
<li>The Activity.setPersistent(boolean) method to mark an
Activity as persistent is now deprecated and the implementation is a no-op.</li>
</ul>
</li>
Loading