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

Commit 89a82157 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove @Deprecated && @removed method in ClipData."

parents c1e4e43d e70e6e5f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -73,10 +73,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