浏览代码

Fixed whitespace

Sam Lantinga 4 年之前
父节点
当前提交
dd85cc0195
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java

+ 1 - 2
android-project/app/src/main/java/org/libsdl/app/HIDDeviceManager.java

@@ -587,8 +587,7 @@ public class HIDDeviceManager {
                 int flags;
                 int flags;
                 if (Build.VERSION.SDK_INT >= 23) {
                 if (Build.VERSION.SDK_INT >= 23) {
                     flags = PendingIntent.FLAG_IMMUTABLE;
                     flags = PendingIntent.FLAG_IMMUTABLE;
-                }
-                else {
+                } else {
                     flags = 0;
                     flags = 0;
                 }
                 }
                 mUsbManager.requestPermission(usbDevice, PendingIntent.getBroadcast(mContext, 0, new Intent(HIDDeviceManager.ACTION_USB_PERMISSION), flags));
                 mUsbManager.requestPermission(usbDevice, PendingIntent.getBroadcast(mContext, 0, new Intent(HIDDeviceManager.ACTION_USB_PERMISSION), flags));