Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
app: systemVersion now forces uppercase
Browse files Browse the repository at this point in the history
* Now you can enter os1.0.1.0.auto to search
  • Loading branch information
YuKongA committed May 24, 2024
1 parent 43b89a6 commit cac7448
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class MainActivity : AppCompatActivity() {
val systemVersion = systemVersion.editText?.text.toString()

val deviceCode = DeviceInfoHelper.deviceCode(androidVersion, codeName, regionCode)
val systemVersionTextExt = systemVersion.replace("OS1", "V816").replace("AUTO", deviceCode)
val systemVersionTextExt = systemVersion.uppercase().replace("OS1", "V816").replace("AUTO", deviceCode)

// Acquire ROM info.
lifecycleScope.launch(Dispatchers.IO) {
Expand Down

0 comments on commit cac7448

Please sign in to comment.