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

Commit 19e0ce07 authored by Roman Birg's avatar Roman Birg
Browse files

AppOps: add a default constructor



Change-Id: I4229a65c362fe4915e62684e5ebc209525c9f9d3
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 72a1fbe5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1381,6 +1381,11 @@ public class AppOpsManager {
        private final int mAllowedCount;
        private final int mIgnoredCount;

        public OpEntry(int op, int mode, long time, long rejectTime, int duration,
                       int proxyUid, String proxyPackage) {
            this(op, mode, time, rejectTime, duration, proxyUid, proxyPackage, 0, 0);
        }

        public OpEntry(int op, int mode, long time, long rejectTime, int duration,
                       int proxyUid, String proxyPackage, int allowedCount, int ignoredCount) {
            mOp = op;