Loading services/core/java/com/android/server/location/contexthub/ContextHubClientManager.java +4 −3 Original line number Diff line number Diff line Loading @@ -237,15 +237,16 @@ import java.util.function.Consumer; if (message.isBroadcastMessage()) { if (message.isReliable()) { Log.e(TAG, "Received reliable broadcast message from " + message.getNanoAppId()); Log.e(TAG, "Received reliable broadcast message from 0x" + Long.toHexString(message.getNanoAppId())); return ErrorCode.PERMANENT_ERROR; } // Broadcast messages shouldn't be sent with any permissions tagged per CHRE API // requirements. if (!messagePermissions.isEmpty()) { Log.e(TAG, "Received broadcast message with permissions from " + message.getNanoAppId()); Log.e(TAG, "Received broadcast message with permissions from 0x" + Long.toHexString(message.getNanoAppId())); return ErrorCode.PERMANENT_ERROR; } Loading Loading
services/core/java/com/android/server/location/contexthub/ContextHubClientManager.java +4 −3 Original line number Diff line number Diff line Loading @@ -237,15 +237,16 @@ import java.util.function.Consumer; if (message.isBroadcastMessage()) { if (message.isReliable()) { Log.e(TAG, "Received reliable broadcast message from " + message.getNanoAppId()); Log.e(TAG, "Received reliable broadcast message from 0x" + Long.toHexString(message.getNanoAppId())); return ErrorCode.PERMANENT_ERROR; } // Broadcast messages shouldn't be sent with any permissions tagged per CHRE API // requirements. if (!messagePermissions.isEmpty()) { Log.e(TAG, "Received broadcast message with permissions from " + message.getNanoAppId()); Log.e(TAG, "Received broadcast message with permissions from 0x" + Long.toHexString(message.getNanoAppId())); return ErrorCode.PERMANENT_ERROR; } Loading