Split code end
This commit is contained in:
parent
188eb2fd3d
commit
6445fbdbf9
|
@ -64,5 +64,9 @@
|
|||
android:launchMode="singleTask"
|
||||
android:theme="@style/AppThemeDark_NoActionBar"
|
||||
android:windowSoftInputMode="stateAlwaysHidden" />
|
||||
|
||||
<activity
|
||||
android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
|
||||
android:theme="@style/Base.Theme.AppCompat" />
|
||||
</application>
|
||||
</manifest>
|
|
@ -21,13 +21,4 @@ public class BaseActivity extends AllBaseActivity {
|
|||
EmojiManager.install(new EmojiOneProvider());
|
||||
}
|
||||
|
||||
protected void launchOwnerStatusesActivity(){
|
||||
Intent myIntent = new Intent(BaseMainActivity.this, OwnerStatusActivity.class);
|
||||
startActivity(myIntent);
|
||||
}
|
||||
|
||||
protected void launchOwnerNotificationsActivity(){
|
||||
Intent myIntent = new Intent(BaseMainActivity.this, OwnerNotificationActivity.class);
|
||||
startActivity(myIntent);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,4 +15,7 @@ package app.fedilab.android.services;
|
|||
* see <http://www.gnu.org/licenses>. */
|
||||
|
||||
public class StreamingFederatedTimelineService extends BaseStreamingFederatedTimelineService {
|
||||
static {
|
||||
Helper.installProvider();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
* see <http://www.gnu.org/licenses>. */
|
||||
package app.fedilab.android.activities;
|
||||
|
||||
import android.content.Intent;
|
||||
|
||||
public class MainActivity extends BaseMainActivity {
|
||||
|
||||
|
||||
|
@ -21,4 +23,16 @@ public class MainActivity extends BaseMainActivity {
|
|||
protected void rateThisApp() {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void launchOwnerStatusesActivity() {
|
||||
Intent myIntent = new Intent(MainActivity.this, OwnerStatusActivity.class);
|
||||
startActivity(myIntent);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void launchOwnerNotificationsActivity() {
|
||||
Intent myIntent = new Intent(MainActivity.this, OwnerNotificationActivity.class);
|
||||
startActivity(myIntent);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* Copyright 2017 Thomas Schneider
|
||||
package app.fedilab.android.activities;
|
||||
/* Copyright 2020 Thomas Schneider
|
||||
*
|
||||
* This file is a part of Fedilab
|
||||
*
|
||||
|
@ -12,8 +13,6 @@
|
|||
*
|
||||
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
||||
* see <http://www.gnu.org/licenses>. */
|
||||
package app.fedilab.android.activities;
|
||||
|
||||
public class MainActivity extends BaseMainActivity {
|
||||
|
||||
|
||||
|
@ -21,4 +20,14 @@ public class MainActivity extends BaseMainActivity {
|
|||
protected void rateThisApp() {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void launchOwnerStatusesActivity() {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void launchOwnerNotificationsActivity() {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
|
|
|
@ -328,10 +328,6 @@
|
|||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/AppThemeDark_NoActionBar" />
|
||||
<activity
|
||||
android:name="com.theartofdev.edmodo.cropper.CropImageActivity"
|
||||
android:theme="@style/Base.Theme.AppCompat" />
|
||||
|
||||
<activity
|
||||
android:name=".activities.WebviewActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
|
|
Loading…
Reference in New Issue