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

Commit a545ff01 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Merge "Log permission check failure as warning" into nyc-dev

am: 8b12bfcd

* commit '8b12bfcd':
  Log permission check failure as warning

Change-Id: I6d700e26a443a3c6496cc9148eba840544558d52
parents 10454721 8b12bfcd
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -803,7 +803,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;
        }

@@ -1458,7 +1458,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;
        }

@@ -1480,7 +1480,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;
        }

@@ -1499,7 +1499,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;
        }

@@ -1518,7 +1518,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;
        }

@@ -1555,7 +1555,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;
        }