Showing
3 changed files
with
7 additions
and
0 deletions
| @@ -147,6 +147,7 @@ public class SwitchControlActivity extends AppCompatActivity { | @@ -147,6 +147,7 @@ public class SwitchControlActivity extends AppCompatActivity { | ||
| 147 | subDevices.add(light); | 147 | subDevices.add(light); |
| 148 | device.setSubDevices(subDevices); | 148 | device.setSubDevices(subDevices); |
| 149 | FistJni.getInstance().normalC(new Gson().toJson(device)); | 149 | FistJni.getInstance().normalC(new Gson().toJson(device)); |
| 150 | +// FistJni.getInstance().sceneC("{\"CmdType\":0,\"ControllerId\":34916,\"DeviceIp\":[-74,92,-103,-38],\"DeviceKey\":[49,50,51,52,53,54],\"DeviceNum\":[-1,-1,-1,-1,0,-1],\"DevicePort\":3478,\"ErrorCode\":0,\"IsWan\":true,\"MappedIp\":[-38,88,29,83],\"MappedPort\":11606,\"SubDevices\":[{\"SubDeviceBit\":0,\"SubDeviceNum\":4294967151,\"SubDeviceOnlineStatus\":0,\"SubDeviceStatus\":1,\"SubDeviceType\":33}]}"); | ||
| 150 | } | 151 | } |
| 151 | 152 | ||
| 152 | 153 |
| 1 | include ':transitionhelper', ':uil', ':volley', ':pinying', ':debug-db', ':switchcontrollib' | 1 | include ':transitionhelper', ':uil', ':volley', ':pinying', ':debug-db', ':switchcontrollib' |
| 2 | include ':BluetoothLightLib' | 2 | include ':BluetoothLightLib' |
| 3 | include ':gimiCinema' | 3 | include ':gimiCinema' |
| 4 | +include ':app' | ||
| 5 | +include ':update' | ||
| 4 | include ':switchcontrol' | 6 | include ':switchcontrol' |
| @@ -127,21 +127,25 @@ public class BaseImageDecoder implements ImageDecoder { | @@ -127,21 +127,25 @@ public class BaseImageDecoder implements ImageDecoder { | ||
| 127 | switch (exifOrientation) { | 127 | switch (exifOrientation) { |
| 128 | case ExifInterface.ORIENTATION_FLIP_HORIZONTAL: | 128 | case ExifInterface.ORIENTATION_FLIP_HORIZONTAL: |
| 129 | flip = true; | 129 | flip = true; |
| 130 | + break; | ||
| 130 | case ExifInterface.ORIENTATION_NORMAL: | 131 | case ExifInterface.ORIENTATION_NORMAL: |
| 131 | rotation = 0; | 132 | rotation = 0; |
| 132 | break; | 133 | break; |
| 133 | case ExifInterface.ORIENTATION_TRANSVERSE: | 134 | case ExifInterface.ORIENTATION_TRANSVERSE: |
| 134 | flip = true; | 135 | flip = true; |
| 136 | + break; | ||
| 135 | case ExifInterface.ORIENTATION_ROTATE_90: | 137 | case ExifInterface.ORIENTATION_ROTATE_90: |
| 136 | rotation = 90; | 138 | rotation = 90; |
| 137 | break; | 139 | break; |
| 138 | case ExifInterface.ORIENTATION_FLIP_VERTICAL: | 140 | case ExifInterface.ORIENTATION_FLIP_VERTICAL: |
| 139 | flip = true; | 141 | flip = true; |
| 142 | + break; | ||
| 140 | case ExifInterface.ORIENTATION_ROTATE_180: | 143 | case ExifInterface.ORIENTATION_ROTATE_180: |
| 141 | rotation = 180; | 144 | rotation = 180; |
| 142 | break; | 145 | break; |
| 143 | case ExifInterface.ORIENTATION_TRANSPOSE: | 146 | case ExifInterface.ORIENTATION_TRANSPOSE: |
| 144 | flip = true; | 147 | flip = true; |
| 148 | + break; | ||
| 145 | case ExifInterface.ORIENTATION_ROTATE_270: | 149 | case ExifInterface.ORIENTATION_ROTATE_270: |
| 146 | rotation = 270; | 150 | rotation = 270; |
| 147 | break; | 151 | break; |
Please
register
or
login
to post a comment