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

Commit 5f6c2060 authored by Atneya Nair's avatar Atneya Nair Committed by Automerger Merge Worker
Browse files

Merge "Move startWatchingModeWithFlags to the native supported binder calls"...

Merge "Move startWatchingModeWithFlags to the native supported binder calls" into tm-dev am: ec8979da

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22465041



Change-Id: I02a28aea6eda09dc99bfebd1d69e0786ee38197b
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a7ed76fe ec8979da
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -52,6 +52,8 @@ interface IAppOpsService {
    int checkAudioOperation(int code, int usage, int uid, String packageName);
    int checkAudioOperation(int code, int usage, int uid, String packageName);
    boolean shouldCollectNotes(int opCode);
    boolean shouldCollectNotes(int opCode);
    void setCameraAudioRestriction(int mode);
    void setCameraAudioRestriction(int mode);
    void startWatchingModeWithFlags(int op, String packageName, int flags,
            IAppOpsCallback callback);
    // End of methods also called by native code.
    // End of methods also called by native code.
    // Any new method exposed to native must be added after the last one, do not reorder
    // Any new method exposed to native must be added after the last one, do not reorder


@@ -110,8 +112,6 @@ interface IAppOpsService {
    void startWatchingStarted(in int[] ops, IAppOpsStartedCallback callback);
    void startWatchingStarted(in int[] ops, IAppOpsStartedCallback callback);
    void stopWatchingStarted(IAppOpsStartedCallback callback);
    void stopWatchingStarted(IAppOpsStartedCallback callback);


    void startWatchingModeWithFlags(int op, String packageName, int flags, IAppOpsCallback callback);

    void startWatchingNoted(in int[] ops, IAppOpsNotedCallback callback);
    void startWatchingNoted(in int[] ops, IAppOpsNotedCallback callback);
    void stopWatchingNoted(IAppOpsNotedCallback callback);
    void stopWatchingNoted(IAppOpsNotedCallback callback);