Add files via upload
Added fix for issues #190 & #259 both rotation/orientation related
This commit is contained in:
parent
7993fbc5b5
commit
89c984fe84
1 changed files with 562 additions and 555 deletions
|
@ -18,6 +18,7 @@ package com.keylesspalace.tusky;
|
||||||
import android.app.NotificationManager;
|
import android.app.NotificationManager;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
|
import android.content.res.Configuration;
|
||||||
import android.graphics.Typeface;
|
import android.graphics.Typeface;
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
|
@ -553,4 +554,10 @@ public class MainActivity extends BaseActivity implements SFragment.OnUserRemove
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fix for GitHub issues #190, #259 (MainActivity won't restart on screen rotation.)
|
||||||
|
@Override
|
||||||
|
public void onConfigurationChanged(Configuration newConfig) {
|
||||||
|
super.onConfigurationChanged(newConfig);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue