Deprecation fixes

Co-authored-by: Alinson S. Xavier <git@axavier.org>
This commit is contained in:
TacoTheDank
2020-08-22 12:14:35 -05:00
committed by Alinson S. Xavier
parent 3554895a5d
commit d9ff429c28
14 changed files with 42 additions and 45 deletions

View File

@@ -95,7 +95,7 @@ open class AndroidBugReporter @Inject constructor(@AppContext private val contex
appendln("App Version Name: ${BuildConfig.VERSION_NAME}")
appendln("App Version Code: ${BuildConfig.VERSION_CODE}")
appendln("OS Version: ${System.getProperty("os.version")} (${Build.VERSION.INCREMENTAL})")
appendln("OS API Level: ${Build.VERSION.SDK}")
appendln("OS API Level: ${Build.VERSION.SDK_INT}")
appendln("Device: ${Build.DEVICE}")
appendln("Model (Product): ${Build.MODEL} (${Build.PRODUCT})")
appendln("Manufacturer: ${Build.MANUFACTURER}")

View File

@@ -18,12 +18,9 @@
*/
package org.isoron.androidbase
import java.lang.annotation.Documented
import java.lang.annotation.Retention
import java.lang.annotation.RetentionPolicy
import javax.inject.Qualifier
@Qualifier
@Documented
@Retention(RetentionPolicy.RUNTIME)
@MustBeDocumented
@Retention(AnnotationRetention.RUNTIME)
annotation class AppContext