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

Commit 5aa21692 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Revert "Expose the ability to resolve icon as a different app"

This reverts commit 4236ccb7.

Bug: 116798569
Reason for revert: This API is not needed as system-API

Change-Id: I90140a55a50067f1aa98d9649dfb97ffb45f03a4
parent 4236ccb7
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1269,14 +1269,6 @@ package android.content.pm.permission {

}

package android.graphics.drawable {

  public final class Icon implements android.os.Parcelable {
    method public static android.graphics.drawable.Icon createWithResource(android.content.res.Resources, int);
  }

}

package android.hardware {

  public final class Sensor {
+1 −2
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ import android.annotation.DrawableRes;
import android.annotation.IdRes;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.SystemApi;
import android.annotation.UnsupportedAppUsage;
import android.content.ContentResolver;
import android.content.Context;
@@ -569,7 +568,7 @@ public final class Icon implements Parcelable {
     * Version of createWithResource that takes Resources. Do not use.
     * @hide
     */
    @SystemApi
    @UnsupportedAppUsage
    public static Icon createWithResource(Resources res, @DrawableRes int resId) {
        if (res == null) {
            throw new IllegalArgumentException("Resource must not be null.");