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

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

Add @UnsupportedAppUsage annotations for greylist.

go/cleanup-greylist-txt

These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code.

Bug: 137350495
Test: m

Change-Id: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
Merged-In: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
parent ee9c6e75
Loading
Loading
Loading
Loading
+0 −406

File changed.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Diff line number Diff line
@@ -2226,6 +2226,8 @@ public class AccountManager {
    }

    private abstract class AmsTask extends FutureTask<Bundle> implements AccountManagerFuture<Bundle> {


        @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023)
        final IAccountManagerResponse mResponse;
        @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 115609023)
+5 −0
Original line number Diff line number Diff line
@@ -25,6 +25,11 @@ import android.os.IBinder;
 */
@Deprecated
public abstract class ActivityManagerNative {

    @UnsupportedAppUsage
    public ActivityManagerNative() {
    }

    /**
     * Cast a Binder object into an activity manager interface, generating
     * a proxy if needed.
+6 −0
Original line number Diff line number Diff line
@@ -713,6 +713,9 @@ public final class ActivityThread extends ClientTransactionHandler {
    }

    static final class CreateServiceData {
        @UnsupportedAppUsage
        CreateServiceData() {
        }
        @UnsupportedAppUsage
        IBinder token;
        @UnsupportedAppUsage
@@ -754,6 +757,9 @@ public final class ActivityThread extends ClientTransactionHandler {
    }

    static final class AppBindData {
        @UnsupportedAppUsage
        AppBindData() {
        }
        @UnsupportedAppUsage
        LoadedApk info;
        @UnsupportedAppUsage
+2 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@ interface IActivityManager {
            in String resultData, in Bundle map, in String[] requiredPermissions,
            int appOp, in Bundle options, boolean serialized, boolean sticky, int userId);
    void unbroadcastIntent(in IApplicationThread caller, in Intent intent, int userId);
    @UnsupportedAppUsage
    oneway void finishReceiver(in IBinder who, int resultCode, in String resultData, in Bundle map,
            boolean abortBroadcast, int flags);
    void attachApplication(in IApplicationThread app, long startSeq);
@@ -211,6 +212,7 @@ interface IActivityManager {

    @UnsupportedAppUsage
    ParceledListSlice getRecentTasks(int maxNum, int flags, int userId);
    @UnsupportedAppUsage
    oneway void serviceDoneExecuting(in IBinder token, int type, int startId, int res);
    @UnsupportedAppUsage
    IIntentSender getIntentSender(int type, in String packageName, in IBinder token,
Loading