Skip to content

Commit 15b2a0d

Browse files
author
ars
committed
releasing 3.1.1
1 parent 213578f commit 15b2a0d

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changelog
2-
### v.3.1.1-beta1
2+
### v.3.1.1
33
- Reduce pressure on sensor events like night and gps and start/stop these events in onConnected, onDisconnect and onDestroy
44
- Merged ffmpeg PR #625 by @mmwtl. This added ffmpeg software decoder for h265, which old devives could benefit a lot. Thank you!
55
- Wi-Fi Direct changes. Prevent duplicate start, graceful resets, cleaned up stale groups

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ adb shell am start -a android.intent.action.VIEW -d "headunit://connect?ip=192.1
6363
- more customization options for the UI and the app itself
6464

6565
## Changelog
66-
### v.3.1.1-beta1
66+
### v.3.1.1
6767
- Reduce pressure on sensor events like night and gps and start/stop these events in onConnected, onDisconnect and onDestroy
6868
- Merged ffmpeg PR #625 by @mmwtl. This added ffmpeg software decoder for h265, which old devives could benefit a lot. Thank you!
6969
- Wi-Fi Direct changes. Prevent duplicate start, graceful resets, cleaned up stale groups

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ android {
114114
applicationId = "com.andrerinas.headunitrevived"
115115
minSdk = 16
116116
targetSdk = 36
117-
versionCode = 83
118-
versionName = "3.1.1-beta1"
117+
versionCode = 84
118+
versionName = "3.1.1"
119119
setProperty("archivesBaseName", "${applicationId}_${versionName}")
120120
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
121121
multiDexEnabled = true

app/src/main/java/com/andrerinas/headunitrevived/utils/DialogUtils.kt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,15 @@ object DialogUtils {
5454
}
5555
container.addView(editText)
5656

57-
val dialog = MaterialAlertDialogBuilder(
58-
context
59-
)
57+
val dialog = MaterialAlertDialogBuilder(context, com.andrerinas.headunitrevived.R.style.DarkAlertDialog)
6058
.setTitle(titleResId)
6159
.setView(container)
6260
.setPositiveButton(R.string.ok) { _, _ ->
6361
val value = editText.text.toString().trim()
64-
if (value.isNotEmpty()) {
65-
onResult(value)
66-
}
62+
onResult(value)
63+
}
64+
.setNeutralButton(com.andrerinas.headunitrevived.R.string.reset) { _, _ ->
65+
onResult("")
6766
}
6867
.setNegativeButton(R.string.cancel, null)
6968
.create()

0 commit comments

Comments
 (0)