Skip to content

Commit

Permalink
WIP replace controllers with activities
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Hibbe <[email protected]>
  • Loading branch information
mahibi committed Nov 22, 2023
1 parent a57c53b commit 9d60870
Show file tree
Hide file tree
Showing 48 changed files with 1,062 additions and 1,364 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ We are using [Dagger 2](https://dagger.dev/) to inject dependencies into major A

* `Activity`
* `Fragment`
* `Controller`
* `Service`
* `BroadcastReceiver`
* `ContentProvider`
Expand Down
2 changes: 0 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ dependencies {
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation "io.reactivex.rxjava2:rxjava:2.2.21"

implementation 'com.bluelinelabs:conductor:3.2.0'

implementation "com.squareup.okhttp3:okhttp:${okhttpVersion}"
implementation "com.squareup.okhttp3:okhttp-urlconnection:${okhttpVersion}"
implementation "com.squareup.okhttp3:logging-interceptor:${okhttpVersion}"
Expand Down
1 change: 0 additions & 1 deletion app/lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@

<issue id="ObsoleteLintCustomCheck" severity="warning">
<ignore path="**/jetified-annotation-experimental-1.**/**/lint.jar" />
<ignore path="**/jetified-conductor-2.**/**/lint.jar" />
</issue>
</lint>
60 changes: 38 additions & 22 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,44 @@
</intent-filter>
</activity>

<activity
android:name=".account.ServerSelectionActivity"
android:theme="@style/AppTheme" />

<activity
android:name=".account.WebViewLoginActivity"
android:theme="@style/AppTheme" />

<activity
android:name=".account.AccountVerificationActivity"
android:theme="@style/AppTheme" />

<activity
android:name=".account.SwitchAccountActivity"
android:theme="@style/AppTheme" />

<activity
android:name=".conversationlist.ConversationsListActivity"
android:theme="@style/AppTheme"
android:exported="true">

<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>

<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
</activity>

<activity
android:name=".chat.ChatActivity"
android:theme="@style/AppTheme" />

<activity
android:name=".activities.CallActivity"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
Expand Down Expand Up @@ -215,32 +253,10 @@
android:name=".contacts.ContactsActivity"
android:theme="@style/AppTheme" />

<activity
android:name=".chat.ChatActivity"
android:theme="@style/AppTheme" />

<activity
android:name=".openconversations.ListOpenConversationsActivity"
android:theme="@style/AppTheme" />

<activity
android:name=".conversationlist.ConversationsListActivity"
android:theme="@style/AppTheme"
android:exported="true">

<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>

<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
</intent-filter>
</activity>

<activity
android:name=".lock.LockedActivity"
android:theme="@style/AppTheme" />
Expand Down
Loading

0 comments on commit 9d60870

Please sign in to comment.