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

Commit d9b11b05 authored by Artur Satayev's avatar Artur Satayev
Browse files

Use new UnsupportedAppUsage annotation.

Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.

Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I8789f8499d4dca08580672e9e45ed9a7026dd686
Merged-In: I8789f8499d4dca08580672e9e45ed9a7026dd686
parent 07dcca55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@ import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.RequiresPermission;
import android.annotation.UnsupportedAppUsage;
import android.app.Service;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ParceledListSlice;
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import static android.content.pm.PackageManager.FEATURE_FINGERPRINT;

import android.annotation.IntDef;
import android.annotation.IntRange;
import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.ComponentName;
import android.content.Context;
import android.content.pm.PackageManager;
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ package android.accounts;

import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
import android.os.Parcel;
import android.os.Parcelable;
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package android.accounts;

import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;

/**
 * Used to store the Account and the UserId this account is associated with.
+2 −2
Original line number Diff line number Diff line
@@ -16,10 +16,10 @@

package android.accounts;

import android.annotation.UnsupportedAppUsage;
import android.compat.annotation.UnsupportedAppUsage;
import android.os.Bundle;
import android.os.Parcelable;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.RemoteException;
import android.util.Log;

Loading