Loading libs/binder/IAppOpsService.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ #include <binder/IAppOpsService.h> #include <utils/Log.h> #include <binder/Parcel.h> #include <utils/Log.h> #include <utils/String8.h> #include <optional> Loading Loading @@ -63,6 +63,8 @@ public: remote()->transact(NOTE_OPERATION_TRANSACTION, data, &reply); // fail on exception if (reply.readExceptionCode() != 0) return MODE_ERRORED; // TODO b/184855056: extract to class reply.readInt32(); reply.readByte(); return reply.readInt32(); } Loading @@ -85,6 +87,8 @@ public: remote()->transact(START_OPERATION_TRANSACTION, data, &reply); // fail on exception if (reply.readExceptionCode() != 0) return MODE_ERRORED; // TODO b/184855056: extract to class reply.readInt32(); reply.readByte(); return reply.readInt32(); } Loading Loading
libs/binder/IAppOpsService.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ #include <binder/IAppOpsService.h> #include <utils/Log.h> #include <binder/Parcel.h> #include <utils/Log.h> #include <utils/String8.h> #include <optional> Loading Loading @@ -63,6 +63,8 @@ public: remote()->transact(NOTE_OPERATION_TRANSACTION, data, &reply); // fail on exception if (reply.readExceptionCode() != 0) return MODE_ERRORED; // TODO b/184855056: extract to class reply.readInt32(); reply.readByte(); return reply.readInt32(); } Loading @@ -85,6 +87,8 @@ public: remote()->transact(START_OPERATION_TRANSACTION, data, &reply); // fail on exception if (reply.readExceptionCode() != 0) return MODE_ERRORED; // TODO b/184855056: extract to class reply.readInt32(); reply.readByte(); return reply.readInt32(); } Loading