File tree 2 files changed +30
-0
lines changed
kotlin/at/bitfire/davdroid/ui
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 70
70
</intent-filter >
71
71
</activity >
72
72
73
+ <!--
74
+ Left here for external apps.
75
+ Automatically redirects to MainActivity.
76
+ Should be removed in the future.
77
+ -->
78
+ <!-- suppress DeprecatedClassUsageInspection -->
79
+ <activity android : name =" .ui.AccountsActivity" android : exported =" true" />
80
+
73
81
<activity
74
82
android : name =" .ui.AboutActivity"
75
83
android : label =" @string/navigation_drawer_about"
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright © All Contributors. See LICENSE and AUTHORS in the root directory for details.
3
+ */
4
+
5
+ package at.bitfire.davdroid.ui
6
+
7
+ import android.content.Intent
8
+ import android.os.Bundle
9
+ import androidx.appcompat.app.AppCompatActivity
10
+
11
+ @Deprecated(" Automatically redirects to MainActivity. Should be removed in the future." )
12
+ class AccountsActivity : AppCompatActivity () {
13
+ override fun onCreate (savedInstanceState : Bundle ? ) {
14
+ super .onCreate(savedInstanceState)
15
+
16
+ startActivity(
17
+ Intent (this , MainActivity ::class .java).apply {
18
+ action = intent.action
19
+ }
20
+ )
21
+ }
22
+ }
You can’t perform that action at this time.
0 commit comments