Revert "android: set android:enableOnBackInvokedCallback="true""

This reverts commit fe41c885e4.
This commit is contained in:
Harsh Shandilya 2022-08-07 16:18:19 +05:30
parent 23546db192
commit a0fdd25979
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 11 additions and 12 deletions

View file

@ -5,15 +5,14 @@
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<application <application
android:name=".ClawApplication" android:name=".ClawApplication"
android:enableOnBackInvokedCallback="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.Claw.SplashScreen"> android:theme="@style/Theme.Claw.SplashScreen">
<profileable <profileable
android:shell="true" android:shell="true"
tools:targetApi="29" /> tools:targetApi="29" />
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:configChanges="colorMode|density|fontScale|keyboard|keyboardHidden|layoutDirection|locale|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:configChanges="colorMode|density|fontScale|keyboard|keyboardHidden|layoutDirection|locale|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
@ -144,9 +143,9 @@
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<data <data
android:host="lobste.rs" android:host="lobste.rs"
android:pathPattern="/u/......*" android:pathPattern="/u/......*"
android:scheme="https" /> android:scheme="https" />
</intent-filter> </intent-filter>
</activity> </activity>
<provider <provider
@ -154,10 +153,10 @@
android:authorities="${applicationId}.androidx-startup" android:authorities="${applicationId}.androidx-startup"
android:exported="false" android:exported="false"
tools:node="merge"> tools:node="merge">
<meta-data <meta-data
android:name="androidx.work.WorkManagerInitializer" android:name="androidx.work.WorkManagerInitializer"
android:value="androidx.startup" android:value="androidx.startup"
tools:node="remove" /> tools:node="remove" />
</provider> </provider>
</application> </application>
</manifest> </manifest>

View file

@ -14,10 +14,10 @@ class AndroidCommonPlugin : Plugin<Project> {
override fun apply(project: Project) { override fun apply(project: Project) {
project.pluginManager.apply(AndroidCacheFixPlugin::class) project.pluginManager.apply(AndroidCacheFixPlugin::class)
project.extensions.findByType<TestedExtension>()?.run { project.extensions.findByType<TestedExtension>()?.run {
setCompileSdkVersion(33) setCompileSdkVersion(32)
defaultConfig { defaultConfig {
minSdk = 26 minSdk = 26
targetSdk = 33 targetSdk = 32
} }
sourceSets { sourceSets {