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

Commit 37bf8d50 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Log permission check failure as warning"

parents c6d0d9b6 85ae7fc3
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -801,7 +801,7 @@ public class GattService extends ProfileService {
            + ", handle=" + handle + ", length=" + data.length);

        if (!permissionCheck(connId, handle)) {
            if (VDBG) Log.d(TAG, "onNotify() - permission check failed!");
            Log.w(TAG, "onNotify() - permission check failed!");
            return;
        }

@@ -1449,7 +1449,7 @@ public class GattService extends ProfileService {
        }

        if (!permissionCheck(connId, handle)) {
            if (VDBG) Log.d(TAG, "readCharacteristic() - permission check failed!");
            Log.w(TAG, "readCharacteristic() - permission check failed!");
            return;
        }

@@ -1471,7 +1471,7 @@ public class GattService extends ProfileService {
        }

        if (!permissionCheck(connId, handle)) {
            if (VDBG) Log.d(TAG, "writeCharacteristic() - permission check failed!");
            Log.w(TAG, "writeCharacteristic() - permission check failed!");
            return;
        }

@@ -1490,7 +1490,7 @@ public class GattService extends ProfileService {
        }

        if (!permissionCheck(connId, handle)) {
            if (VDBG) Log.d(TAG, "readDescriptor() - permission check failed!");
            Log.w(TAG, "readDescriptor() - permission check failed!");
            return;
        }

@@ -1509,7 +1509,7 @@ public class GattService extends ProfileService {
        }

        if (!permissionCheck(connId, handle)) {
            if (VDBG) Log.d(TAG, "writeDescriptor() - permission check failed!");
            Log.w(TAG, "writeDescriptor() - permission check failed!");
            return;
        }

@@ -1546,7 +1546,7 @@ public class GattService extends ProfileService {
        }

        if (!permissionCheck(connId, handle)) {
            if (VDBG) Log.d(TAG, "writeDescriptor() - permission check failed!");
            Log.w(TAG, "registerForNotification() - permission check failed!");
            return;
        }