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

Commit 423c3a32 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add @UnsupportedAppUsage annotations for greylist."

parents 5d4d3c17 fc46be7d
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