diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fe0164ef..79056ba81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ### Unreleased -* Update all dependencies (PR: #289, @PatrykMis) +* Update all dependencies (PR: #289, #294, @PatrykMis) * Improve conference call handling (PR: #285, @chenxiaolong) * Recording a conference call will no longer incorrectly produce extra files for each participant in the call. * When using call waiting, the recording is paused for the inactive call so that it doesn't capture the audio for the wrong call. diff --git a/app/.gitignore b/app/.gitignore index 42afabfd2..3543521e9 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1 +1 @@ -/build \ No newline at end of file +/build diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 0415535a5..96f9bee32 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -181,6 +181,7 @@ android { jvmTarget = "11" } buildFeatures { + buildConfig = true viewBinding = true } } diff --git a/app/magisk/updates/release/info.json b/app/magisk/updates/release/info.json index 254e119be..076c71041 100644 --- a/app/magisk/updates/release/info.json +++ b/app/magisk/updates/release/info.json @@ -3,4 +3,4 @@ "changelog": "https://github.com/chenxiaolong/BCR/raw/v1.39/app/magisk/updates/release/changelog.txt", "version": "1.39", "versionCode": 75520 -} \ No newline at end of file +} diff --git a/app/src/androidTest/java/com/chiller3/bcr/ExampleInstrumentedTest.kt b/app/src/androidTest/java/com/chiller3/bcr/ExampleInstrumentedTest.kt index 2c8cc925d..6dc91f3df 100644 --- a/app/src/androidTest/java/com/chiller3/bcr/ExampleInstrumentedTest.kt +++ b/app/src/androidTest/java/com/chiller3/bcr/ExampleInstrumentedTest.kt @@ -21,4 +21,4 @@ class ExampleInstrumentedTest { val appContext = InstrumentationRegistry.getInstrumentation().targetContext assertEquals("com.chiller3.bcr", appContext.packageName) } -} \ No newline at end of file +} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 6c1861b8c..c0ba5741a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -81,4 +81,4 @@ - \ No newline at end of file + diff --git a/app/src/main/java/com/chiller3/bcr/AudioFormatExtension.kt b/app/src/main/java/com/chiller3/bcr/AudioFormatExtension.kt index 1986a3aef..6fbb4d9f7 100644 --- a/app/src/main/java/com/chiller3/bcr/AudioFormatExtension.kt +++ b/app/src/main/java/com/chiller3/bcr/AudioFormatExtension.kt @@ -10,4 +10,4 @@ val AudioFormat.frameSizeInBytesCompat: Int // Hardcoded for Android 9 compatibility only assert(encoding == AudioFormat.ENCODING_PCM_16BIT) 2 * channelCount - } \ No newline at end of file + } diff --git a/app/src/main/java/com/chiller3/bcr/ChipGroupCentered.kt b/app/src/main/java/com/chiller3/bcr/ChipGroupCentered.kt index c56da53a8..88fd5f069 100644 --- a/app/src/main/java/com/chiller3/bcr/ChipGroupCentered.kt +++ b/app/src/main/java/com/chiller3/bcr/ChipGroupCentered.kt @@ -137,4 +137,4 @@ class ChipGroupCentered(context: Context, attrs: AttributeSet?, defStyleAttr: In } } } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/FilenameTemplate.kt b/app/src/main/java/com/chiller3/bcr/FilenameTemplate.kt index a1473cd94..65d4e0274 100644 --- a/app/src/main/java/com/chiller3/bcr/FilenameTemplate.kt +++ b/app/src/main/java/com/chiller3/bcr/FilenameTemplate.kt @@ -138,4 +138,4 @@ class FilenameTemplate private constructor(props: Properties) { } } } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/LongClickablePreference.kt b/app/src/main/java/com/chiller3/bcr/LongClickablePreference.kt index 7deda4b09..dd01e60cd 100644 --- a/app/src/main/java/com/chiller3/bcr/LongClickablePreference.kt +++ b/app/src/main/java/com/chiller3/bcr/LongClickablePreference.kt @@ -22,4 +22,4 @@ class LongClickablePreference(context: Context, attrs: AttributeSet?) : Preferen interface OnPreferenceLongClickListener { fun onPreferenceLongClick(preference: Preference): Boolean } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/NotificationActionService.kt b/app/src/main/java/com/chiller3/bcr/NotificationActionService.kt index d0d197a7b..afb152f51 100644 --- a/app/src/main/java/com/chiller3/bcr/NotificationActionService.kt +++ b/app/src/main/java/com/chiller3/bcr/NotificationActionService.kt @@ -89,4 +89,4 @@ class NotificationActionService : Service() { START_NOT_STICKY } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/Notifications.kt b/app/src/main/java/com/chiller3/bcr/Notifications.kt index c5b499981..1c8304dec 100644 --- a/app/src/main/java/com/chiller3/bcr/Notifications.kt +++ b/app/src/main/java/com/chiller3/bcr/Notifications.kt @@ -340,4 +340,4 @@ class Notifications( } } } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/OpenPersistentDocumentTree.kt b/app/src/main/java/com/chiller3/bcr/OpenPersistentDocumentTree.kt index a1554fc2e..efb826768 100644 --- a/app/src/main/java/com/chiller3/bcr/OpenPersistentDocumentTree.kt +++ b/app/src/main/java/com/chiller3/bcr/OpenPersistentDocumentTree.kt @@ -21,4 +21,4 @@ class OpenPersistentDocumentTree : ActivityResultContracts.OpenDocumentTree() { return intent } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/OutputDirUtils.kt b/app/src/main/java/com/chiller3/bcr/OutputDirUtils.kt index b7a58a68a..79d9a50fd 100644 --- a/app/src/main/java/com/chiller3/bcr/OutputDirUtils.kt +++ b/app/src/main/java/com/chiller3/bcr/OutputDirUtils.kt @@ -130,4 +130,4 @@ class OutputDirUtils(private val context: Context, private val redactor: Redacto fun redact(uri: Uri): String } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/OutputDirectoryBottomSheetFragment.kt b/app/src/main/java/com/chiller3/bcr/OutputDirectoryBottomSheetFragment.kt index 53077d564..a0e8d6248 100644 --- a/app/src/main/java/com/chiller3/bcr/OutputDirectoryBottomSheetFragment.kt +++ b/app/src/main/java/com/chiller3/bcr/OutputDirectoryBottomSheetFragment.kt @@ -78,4 +78,4 @@ class OutputDirectoryBottomSheetFragment : BottomSheetDialogFragment(), Slider.O companion object { val TAG: String = OutputDirectoryBottomSheetFragment::class.java.simpleName } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/OutputFormatBottomSheetFragment.kt b/app/src/main/java/com/chiller3/bcr/OutputFormatBottomSheetFragment.kt index 4dfc15aa6..2f3b21633 100644 --- a/app/src/main/java/com/chiller3/bcr/OutputFormatBottomSheetFragment.kt +++ b/app/src/main/java/com/chiller3/bcr/OutputFormatBottomSheetFragment.kt @@ -173,4 +173,4 @@ class OutputFormatBottomSheetFragment : BottomSheetDialogFragment(), companion object { val TAG: String = OutputFormatBottomSheetFragment::class.java.simpleName } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/Permissions.kt b/app/src/main/java/com/chiller3/bcr/Permissions.kt index c021bbc89..124f36243 100644 --- a/app/src/main/java/com/chiller3/bcr/Permissions.kt +++ b/app/src/main/java/com/chiller3/bcr/Permissions.kt @@ -60,4 +60,4 @@ object Permissions { intent.data = Uri.fromParts("package", context.packageName, null) return intent } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/Preferences.kt b/app/src/main/java/com/chiller3/bcr/Preferences.kt index 095ac1d5c..a8fcd3fce 100644 --- a/app/src/main/java/com/chiller3/bcr/Preferences.kt +++ b/app/src/main/java/com/chiller3/bcr/Preferences.kt @@ -215,4 +215,4 @@ class Preferences(private val context: Context) { var sampleRate: SampleRate? get() = getOptionalUint(PREF_SAMPLE_RATE)?.let { SampleRate(it) } set(sampleRate) = setOptionalUint(PREF_SAMPLE_RATE, sampleRate?.value) -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/RecorderApplication.kt b/app/src/main/java/com/chiller3/bcr/RecorderApplication.kt index edfbce5de..2f736084d 100644 --- a/app/src/main/java/com/chiller3/bcr/RecorderApplication.kt +++ b/app/src/main/java/com/chiller3/bcr/RecorderApplication.kt @@ -42,4 +42,4 @@ class RecorderApplication : Application() { companion object { private val TAG = RecorderApplication::class.java.simpleName } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/RecorderInCallService.kt b/app/src/main/java/com/chiller3/bcr/RecorderInCallService.kt index 6de1df7c7..9b9e86dfa 100644 --- a/app/src/main/java/com/chiller3/bcr/RecorderInCallService.kt +++ b/app/src/main/java/com/chiller3/bcr/RecorderInCallService.kt @@ -327,4 +327,4 @@ class RecorderInCallService : InCallService(), RecorderThread.OnRecordingComplet notifyFailure(errorMsg, file) } } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/RecorderProvider.kt b/app/src/main/java/com/chiller3/bcr/RecorderProvider.kt index debd58e62..1936a40de 100644 --- a/app/src/main/java/com/chiller3/bcr/RecorderProvider.kt +++ b/app/src/main/java/com/chiller3/bcr/RecorderProvider.kt @@ -77,4 +77,4 @@ class RecorderProvider : ContentProvider() { selection: String?, selectionArgs: Array?, ): Int = 0 -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/RecorderThread.kt b/app/src/main/java/com/chiller3/bcr/RecorderThread.kt index b8f1bfe7b..62079b6ce 100644 --- a/app/src/main/java/com/chiller3/bcr/RecorderThread.kt +++ b/app/src/main/java/com/chiller3/bcr/RecorderThread.kt @@ -800,4 +800,4 @@ class RecorderThread( */ fun onRecordingFailed(thread: RecorderThread, errorMsg: String?, file: OutputFile?) } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/RecorderTileService.kt b/app/src/main/java/com/chiller3/bcr/RecorderTileService.kt index 99d2da223..c4a0ae299 100644 --- a/app/src/main/java/com/chiller3/bcr/RecorderTileService.kt +++ b/app/src/main/java/com/chiller3/bcr/RecorderTileService.kt @@ -61,4 +61,4 @@ class RecorderTileService : TileService(), SharedPreferences.OnSharedPreferenceC tile.updateTile() } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/SettingsActivity.kt b/app/src/main/java/com/chiller3/bcr/SettingsActivity.kt index f42756e8e..4edb73b21 100644 --- a/app/src/main/java/com/chiller3/bcr/SettingsActivity.kt +++ b/app/src/main/java/com/chiller3/bcr/SettingsActivity.kt @@ -218,4 +218,4 @@ class SettingsActivity : AppCompatActivity() { } } } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/UriExtensions.kt b/app/src/main/java/com/chiller3/bcr/UriExtensions.kt index f75cda79a..d879de025 100644 --- a/app/src/main/java/com/chiller3/bcr/UriExtensions.kt +++ b/app/src/main/java/com/chiller3/bcr/UriExtensions.kt @@ -26,4 +26,4 @@ val Uri.formattedString: String } } else -> toString() - } \ No newline at end of file + } diff --git a/app/src/main/java/com/chiller3/bcr/format/AacFormat.kt b/app/src/main/java/com/chiller3/bcr/format/AacFormat.kt index dbd37f949..187e80cb6 100644 --- a/app/src/main/java/com/chiller3/bcr/format/AacFormat.kt +++ b/app/src/main/java/com/chiller3/bcr/format/AacFormat.kt @@ -39,4 +39,4 @@ object AacFormat : Format() { override fun getContainer(fd: FileDescriptor): Container = MediaMuxerContainer(fd, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4) -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/Encoder.kt b/app/src/main/java/com/chiller3/bcr/format/Encoder.kt index dde8b68c6..04a07ccb1 100644 --- a/app/src/main/java/com/chiller3/bcr/format/Encoder.kt +++ b/app/src/main/java/com/chiller3/bcr/format/Encoder.kt @@ -45,4 +45,4 @@ abstract class Encoder( * @param isEof No more data can be submitted after this method is called once with EOF == true. */ abstract fun encode(buffer: ByteBuffer, isEof: Boolean) -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/FlacContainer.kt b/app/src/main/java/com/chiller3/bcr/format/FlacContainer.kt index 1202b40c2..03d43e273 100644 --- a/app/src/main/java/com/chiller3/bcr/format/FlacContainer.kt +++ b/app/src/main/java/com/chiller3/bcr/format/FlacContainer.kt @@ -150,4 +150,4 @@ class FlacContainer(private val fd: FileDescriptor) : Container { private val TAG = FlacContainer::class.java.simpleName private val FLAC_MAGIC = ubyteArrayOf(0x66u, 0x4cu, 0x61u, 0x43u) // fLaC } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/FlacFormat.kt b/app/src/main/java/com/chiller3/bcr/format/FlacFormat.kt index d49179d24..52ce86cb5 100644 --- a/app/src/main/java/com/chiller3/bcr/format/FlacFormat.kt +++ b/app/src/main/java/com/chiller3/bcr/format/FlacFormat.kt @@ -27,4 +27,4 @@ object FlacFormat : Format() { override fun getContainer(fd: FileDescriptor): Container = FlacContainer(fd) -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/Format.kt b/app/src/main/java/com/chiller3/bcr/format/Format.kt index 154b56637..b4b38c6c7 100644 --- a/app/src/main/java/com/chiller3/bcr/format/Format.kt +++ b/app/src/main/java/com/chiller3/bcr/format/Format.kt @@ -116,4 +116,4 @@ sealed class Format { return Pair(format, param) } } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/FormatParamInfo.kt b/app/src/main/java/com/chiller3/bcr/format/FormatParamInfo.kt index 02f8d3672..f2f24476d 100644 --- a/app/src/main/java/com/chiller3/bcr/format/FormatParamInfo.kt +++ b/app/src/main/java/com/chiller3/bcr/format/FormatParamInfo.kt @@ -74,4 +74,4 @@ object NoParamInfo : FormatParamInfo(0u) { override fun toNearest(param: UInt): UInt = param override fun format(param: UInt): String = "" -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/MediaCodecEncoder.kt b/app/src/main/java/com/chiller3/bcr/format/MediaCodecEncoder.kt index 54ef0d35d..863c08f2f 100644 --- a/app/src/main/java/com/chiller3/bcr/format/MediaCodecEncoder.kt +++ b/app/src/main/java/com/chiller3/bcr/format/MediaCodecEncoder.kt @@ -125,4 +125,4 @@ class MediaCodecEncoder( return codec } } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/MediaMuxerContainer.kt b/app/src/main/java/com/chiller3/bcr/format/MediaMuxerContainer.kt index 87fc313c0..49190bcd4 100644 --- a/app/src/main/java/com/chiller3/bcr/format/MediaMuxerContainer.kt +++ b/app/src/main/java/com/chiller3/bcr/format/MediaMuxerContainer.kt @@ -33,4 +33,4 @@ class MediaMuxerContainer( override fun writeSamples(trackIndex: Int, byteBuffer: ByteBuffer, bufferInfo: MediaCodec.BufferInfo) = muxer.writeSampleData(trackIndex, byteBuffer, bufferInfo) -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/OpusFormat.kt b/app/src/main/java/com/chiller3/bcr/format/OpusFormat.kt index 2dbfc97f1..306fc3563 100644 --- a/app/src/main/java/com/chiller3/bcr/format/OpusFormat.kt +++ b/app/src/main/java/com/chiller3/bcr/format/OpusFormat.kt @@ -32,4 +32,4 @@ object OpusFormat : Format() { @RequiresApi(Build.VERSION_CODES.Q) override fun getContainer(fd: FileDescriptor): Container = MediaMuxerContainer(fd, MediaMuxer.OutputFormat.MUXER_OUTPUT_OGG) -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/PassthroughEncoder.kt b/app/src/main/java/com/chiller3/bcr/format/PassthroughEncoder.kt index 7d800a666..eda71f377 100644 --- a/app/src/main/java/com/chiller3/bcr/format/PassthroughEncoder.kt +++ b/app/src/main/java/com/chiller3/bcr/format/PassthroughEncoder.kt @@ -63,4 +63,4 @@ class PassthroughEncoder( numFrames += frames } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/SampleRate.kt b/app/src/main/java/com/chiller3/bcr/format/SampleRate.kt index 54377e01f..3e2a475d2 100644 --- a/app/src/main/java/com/chiller3/bcr/format/SampleRate.kt +++ b/app/src/main/java/com/chiller3/bcr/format/SampleRate.kt @@ -39,4 +39,4 @@ value class SampleRate(val value: UInt) { return default } } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/WaveContainer.kt b/app/src/main/java/com/chiller3/bcr/format/WaveContainer.kt index 70fa1922a..77ffd52f4 100644 --- a/app/src/main/java/com/chiller3/bcr/format/WaveContainer.kt +++ b/app/src/main/java/com/chiller3/bcr/format/WaveContainer.kt @@ -129,4 +129,4 @@ class WaveContainer(private val fd: FileDescriptor) : Container { private val FMT_MAGIC = ubyteArrayOf(0x66u, 0x6du, 0x74u, 0x20u) // "fmt " private val DATA_MAGIC = ubyteArrayOf(0x64u, 0x61u, 0x74u, 0x61u) // data } -} \ No newline at end of file +} diff --git a/app/src/main/java/com/chiller3/bcr/format/WaveFormat.kt b/app/src/main/java/com/chiller3/bcr/format/WaveFormat.kt index 4bb2cca1e..92db7ce5c 100644 --- a/app/src/main/java/com/chiller3/bcr/format/WaveFormat.kt +++ b/app/src/main/java/com/chiller3/bcr/format/WaveFormat.kt @@ -21,4 +21,4 @@ object WaveFormat : Format() { override fun getContainer(fd: FileDescriptor): Container = WaveContainer(fd) -} \ No newline at end of file +} diff --git a/app/src/main/res/layout/bottom_sheet_chip.xml b/app/src/main/res/layout/bottom_sheet_chip.xml index 4de5838e7..737446f41 100644 --- a/app/src/main/res/layout/bottom_sheet_chip.xml +++ b/app/src/main/res/layout/bottom_sheet_chip.xml @@ -2,4 +2,4 @@ \ No newline at end of file + android:layout_height="wrap_content" /> diff --git a/app/src/main/res/layout/output_directory_bottom_sheet.xml b/app/src/main/res/layout/output_directory_bottom_sheet.xml index c05e0045a..9865a94fa 100644 --- a/app/src/main/res/layout/output_directory_bottom_sheet.xml +++ b/app/src/main/res/layout/output_directory_bottom_sheet.xml @@ -53,4 +53,4 @@ android:text="@string/bottom_sheet_reset" style="?attr/materialButtonOutlinedStyle" /> - \ No newline at end of file + diff --git a/app/src/main/res/layout/output_format_bottom_sheet.xml b/app/src/main/res/layout/output_format_bottom_sheet.xml index 40a74fb87..1545af510 100644 --- a/app/src/main/res/layout/output_format_bottom_sheet.xml +++ b/app/src/main/res/layout/output_format_bottom_sheet.xml @@ -69,4 +69,4 @@ android:text="@string/bottom_sheet_reset" style="?attr/materialButtonOutlinedStyle" /> - \ No newline at end of file + diff --git a/app/src/main/res/layout/settings_activity.xml b/app/src/main/res/layout/settings_activity.xml index 24ed6e468..ca2eb91f3 100644 --- a/app/src/main/res/layout/settings_activity.xml +++ b/app/src/main/res/layout/settings_activity.xml @@ -12,4 +12,4 @@ android:id="@+id/settings" android:layout_width="match_parent" android:layout_height="match_parent" /> - \ No newline at end of file + diff --git a/app/src/main/res/mipmap-anydpi/ic_launcher.xml b/app/src/main/res/mipmap-anydpi/ic_launcher.xml index 6f3b755bf..b3e26b4c6 100644 --- a/app/src/main/res/mipmap-anydpi/ic_launcher.xml +++ b/app/src/main/res/mipmap-anydpi/ic_launcher.xml @@ -3,4 +3,4 @@ - \ No newline at end of file + diff --git a/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml index 6f3b755bf..b3e26b4c6 100644 --- a/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi/ic_launcher_round.xml @@ -3,4 +3,4 @@ - \ No newline at end of file + diff --git a/app/src/main/res/values-iw/strings.xml b/app/src/main/res/values-iw/strings.xml index d57bba61f..f271d14aa 100644 --- a/app/src/main/res/values-iw/strings.xml +++ b/app/src/main/res/values-iw/strings.xml @@ -63,4 +63,4 @@ הקלטת שיחה - \ No newline at end of file + diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index eecd44133..e39848ad5 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -3,4 +3,4 @@ 28dp 16dp 28dp - \ No newline at end of file + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 2b08836c0..b1f4645b5 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -5,4 +5,4 @@ ?attr/isLightTheme true - \ No newline at end of file + diff --git a/app/src/main/res/xml/root_preferences.xml b/app/src/main/res/xml/root_preferences.xml index d1463f9ba..78af167bd 100644 --- a/app/src/main/res/xml/root_preferences.xml +++ b/app/src/main/res/xml/root_preferences.xml @@ -47,4 +47,4 @@ app:title="@string/pref_version_name" app:iconSpaceReserved="false" /> - \ No newline at end of file + diff --git a/app/src/test/java/com/chiller3/bcr/ExampleUnitTest.kt b/app/src/test/java/com/chiller3/bcr/ExampleUnitTest.kt index 6bee23659..45a14927f 100644 --- a/app/src/test/java/com/chiller3/bcr/ExampleUnitTest.kt +++ b/app/src/test/java/com/chiller3/bcr/ExampleUnitTest.kt @@ -14,4 +14,4 @@ class ExampleUnitTest { fun addition_isCorrect() { assertEquals(4, 2 + 2) } -} \ No newline at end of file +} diff --git a/build.gradle.kts b/build.gradle.kts index e60fffeb1..9a186ab0d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id("com.android.application") version "7.4.2" apply false - id("com.android.library") version "7.4.2" apply false + id("com.android.application") version "8.0.0" apply false + id("com.android.library") version "8.0.0" apply false id("org.jetbrains.kotlin.android") version "1.8.20" apply false } diff --git a/gradle.properties b/gradle.properties index cd0519bb2..f20a5218e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,3 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 android.useAndroidX=true # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official -# Enables namespacing of each library's R class so that its R class includes only the -# resources declared in the library itself and none from the library's dependencies, -# thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true \ No newline at end of file