diff options
| -rw-r--r-- | config/hiddenapi-light-greylist.txt | 4 | ||||
| -rw-r--r-- | config/hiddenapi-vendor-list.txt | 2 | ||||
| -rw-r--r-- | core/java/android/print/PrintDocumentAdapter.java | 3 | ||||
| -rw-r--r-- | core/java/android/print/PrintJobInfo.java | 3 | ||||
| -rw-r--r-- | core/java/android/print/PrintManager.java | 2 | ||||
| -rw-r--r-- | core/java/android/print/PrinterId.java | 2 |
6 files changed, 10 insertions, 6 deletions
diff --git a/config/hiddenapi-light-greylist.txt b/config/hiddenapi-light-greylist.txt index aefe827bad41..f89bdc4fefe8 100644 --- a/config/hiddenapi-light-greylist.txt +++ b/config/hiddenapi-light-greylist.txt @@ -4505,10 +4505,6 @@ Landroid/preference/VolumePreference$VolumeStore;->originalVolume:I Landroid/preference/VolumePreference$VolumeStore;->volume:I Landroid/preference/VolumePreference;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V Landroid/preference/VolumePreference;->mStreamType:I -Landroid/print/PrinterId;->getServiceName()Landroid/content/ComponentName; -Landroid/print/PrintJobInfo;->getAdvancedOptions()Landroid/os/Bundle; -Landroid/print/PrintJobInfo;->getDocumentInfo()Landroid/print/PrintDocumentInfo; -Landroid/print/PrintManager;->addPrintJobStateChangeListener(Landroid/print/PrintManager$PrintJobStateChangeListener;)V Landroid/provider/Browser;->getVisitedHistory(Landroid/content/ContentResolver;)[Ljava/lang/String; Landroid/provider/Browser;->sendString(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V Landroid/provider/BrowserContract$Accounts;->CONTENT_URI:Landroid/net/Uri; diff --git a/config/hiddenapi-vendor-list.txt b/config/hiddenapi-vendor-list.txt index e20373c6f64a..d3cc28203cfb 100644 --- a/config/hiddenapi-vendor-list.txt +++ b/config/hiddenapi-vendor-list.txt @@ -377,8 +377,6 @@ Landroid/os/SystemVibrator;-><init>()V Landroid/os/UserHandle;->isSameApp(II)Z Landroid/os/UserManager;->hasUserRestriction(Ljava/lang/String;Landroid/os/UserHandle;)Z Landroid/os/UserManager;->isAdminUser()Z -Landroid/print/PrintDocumentAdapter$LayoutResultCallback;-><init>()V -Landroid/print/PrintDocumentAdapter$WriteResultCallback;-><init>()V Landroid/provider/CalendarContract$Events;->PROVIDER_WRITABLE_COLUMNS:[Ljava/lang/String; Landroid/provider/ContactsContract$CommonDataKinds$Phone;->getDisplayLabel(Landroid/content/Context;ILjava/lang/CharSequence;)Ljava/lang/CharSequence; Landroid/provider/Settings$Global;->getStringForUser(Landroid/content/ContentResolver;Ljava/lang/String;I)Ljava/lang/String; diff --git a/core/java/android/print/PrintDocumentAdapter.java b/core/java/android/print/PrintDocumentAdapter.java index 2bb7c2e5f1c3..d1b6efc70a2a 100644 --- a/core/java/android/print/PrintDocumentAdapter.java +++ b/core/java/android/print/PrintDocumentAdapter.java @@ -16,6 +16,7 @@ package android.print; +import android.annotation.UnsupportedAppUsage; import android.os.Bundle; import android.os.CancellationSignal; import android.os.ParcelFileDescriptor; @@ -260,6 +261,7 @@ public abstract class PrintDocumentAdapter { /** * @hide */ + @UnsupportedAppUsage public WriteResultCallback() { /* do nothing - hide constructor */ } @@ -304,6 +306,7 @@ public abstract class PrintDocumentAdapter { /** * @hide */ + @UnsupportedAppUsage public LayoutResultCallback() { /* do nothing - hide constructor */ } diff --git a/core/java/android/print/PrintJobInfo.java b/core/java/android/print/PrintJobInfo.java index 85fdd642095c..743b39d62151 100644 --- a/core/java/android/print/PrintJobInfo.java +++ b/core/java/android/print/PrintJobInfo.java @@ -23,6 +23,7 @@ import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.StringRes; import android.annotation.TestApi; +import android.annotation.UnsupportedAppUsage; import android.content.pm.PackageManager; import android.content.res.Resources; import android.os.Bundle; @@ -549,6 +550,7 @@ public final class PrintJobInfo implements Parcelable { * * @hide */ + @UnsupportedAppUsage public PrintDocumentInfo getDocumentInfo() { return mDocumentInfo; } @@ -630,6 +632,7 @@ public final class PrintJobInfo implements Parcelable { * * @hide */ + @UnsupportedAppUsage public Bundle getAdvancedOptions() { return mAdvancedOptions; } diff --git a/core/java/android/print/PrintManager.java b/core/java/android/print/PrintManager.java index e436bc6ea30f..e1ede93a9ac5 100644 --- a/core/java/android/print/PrintManager.java +++ b/core/java/android/print/PrintManager.java @@ -22,6 +22,7 @@ import android.annotation.RequiresFeature; import android.annotation.RequiresPermission; import android.annotation.SystemApi; import android.annotation.SystemService; +import android.annotation.UnsupportedAppUsage; import android.app.Activity; import android.app.Application.ActivityLifecycleCallbacks; import android.content.ComponentName; @@ -311,6 +312,7 @@ public final class PrintManager { * @param listener The listener to add. * @hide */ + @UnsupportedAppUsage public void addPrintJobStateChangeListener(PrintJobStateChangeListener listener) { if (mService == null) { Log.w(LOG_TAG, "Feature android.software.print not available"); diff --git a/core/java/android/print/PrinterId.java b/core/java/android/print/PrinterId.java index ff9c0df58f91..659e56f19c79 100644 --- a/core/java/android/print/PrinterId.java +++ b/core/java/android/print/PrinterId.java @@ -17,6 +17,7 @@ package android.print; import android.annotation.NonNull; +import android.annotation.UnsupportedAppUsage; import android.content.ComponentName; import android.os.Parcel; import android.os.Parcelable; @@ -57,6 +58,7 @@ public final class PrinterId implements Parcelable { * * @hide */ + @UnsupportedAppUsage public @NonNull ComponentName getServiceName() { return mServiceName; } |