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

Commit e70e6e5f authored by Kweku Adams's avatar Kweku Adams
Browse files

Remove @Deprecated && @removed method in ClipData.

The method was marked @removed in Oreo. Finally removing it from code.

Bug: 135214188
Test: Android builds
Change-Id: I54a709c75bb99f248f65ccb65ac92c4a8a9f9da5
parent a94ba372
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -123,10 +123,6 @@ package android.app.usage {

package android.content {

  public class ClipData implements android.os.Parcelable {
    method @Deprecated public void addItem(android.content.ClipData.Item, android.content.ContentResolver);
  }

  public abstract class Context {
    method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int);
    method public abstract java.io.File getSharedPreferencesPath(String);
+0 −6
Original line number Diff line number Diff line
@@ -892,12 +892,6 @@ public class ClipData implements Parcelable {
        mItems.add(item);
    }

    /** @removed use #addItem(ContentResolver, Item) instead */
    @Deprecated
    public void addItem(Item item, ContentResolver resolver) {
        addItem(resolver, item);
    }

    /**
     * Add a new Item to the overall ClipData container.
     * <p> Unlike {@link #addItem(Item)}, this method will update the list of available MIME types