File tree Expand file tree Collapse file tree
src/main/java/com/andrerinas/headunitrevived/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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()
You can’t perform that action at this time.
0 commit comments