Commented unwanted method.
This commit is contained in:
@@ -3,18 +3,17 @@ package com.example.hpos.util
|
||||
import android.content.Context
|
||||
import android.os.Environment
|
||||
import com.example.hpos.R
|
||||
import com.example.hpos.data.model.DeviceType
|
||||
import java.io.File
|
||||
|
||||
class MyUtils {
|
||||
|
||||
fun getDeviceTypeFromString(deviceName: String) : DeviceType {
|
||||
return if (deviceName == "TestRight"){
|
||||
DeviceType.TestRight
|
||||
} else {
|
||||
DeviceType.Denovix
|
||||
}
|
||||
}
|
||||
// fun getDeviceTypeFromString(deviceName: String) : DeviceType {
|
||||
// return if (deviceName == "TestRight"){
|
||||
// DeviceType.TestRight
|
||||
// } else {
|
||||
// DeviceType.Denovix
|
||||
// }
|
||||
// }
|
||||
|
||||
fun createAppFolder(context: Context) : String? {
|
||||
val folderPath = Environment.getExternalStorageDirectory().absolutePath + "/" + context.resources.getString(R.string.app_name) + "/"
|
||||
|
||||
Reference in New Issue
Block a user