From 42f6722067770f5fedc7de2749c1353ad4fad2e5 Mon Sep 17 00:00:00 2001 From: DaisukeHohjoh Date: Fri, 17 Nov 2023 17:00:38 +0900 Subject: [PATCH] Fix --- .../java/com/theta360/sample/camera/LocationManagerUtil.kt | 3 --- app/src/main/java/com/theta360/sample/camera/MainActivity.kt | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/com/theta360/sample/camera/LocationManagerUtil.kt b/app/src/main/java/com/theta360/sample/camera/LocationManagerUtil.kt index 2f01f85..31b0117 100644 --- a/app/src/main/java/com/theta360/sample/camera/LocationManagerUtil.kt +++ b/app/src/main/java/com/theta360/sample/camera/LocationManagerUtil.kt @@ -6,10 +6,7 @@ import android.location.Location import android.location.LocationListener import android.location.LocationManager import android.location.OnNmeaMessageListener -import android.os.Build import android.os.Bundle -import android.support.annotation.RequiresApi -import android.util.Log import java.time.LocalDateTime import java.time.ZoneId import java.time.ZonedDateTime diff --git a/app/src/main/java/com/theta360/sample/camera/MainActivity.kt b/app/src/main/java/com/theta360/sample/camera/MainActivity.kt index 981f092..3433130 100644 --- a/app/src/main/java/com/theta360/sample/camera/MainActivity.kt +++ b/app/src/main/java/com/theta360/sample/camera/MainActivity.kt @@ -519,6 +519,7 @@ class MainActivity : PluginActivity(), MediaRecorder.OnInfoListener { when (mode) { MODE.PREVIEW -> { val shooting_mode: String = findViewById(R.id.spinner_ric_shooting_mode_preview).selectedItem.toString() + p.set(RIC_SHOOTING_MODE, shooting_mode) p.setPreviewFrameRate(if(isLowPowerPreview) 0 else 30) when (shooting_mode) { "RicPreview1024" -> { p.setPreviewSize(1024, 512) }