Fix theme change causing UI lockup

This commit is contained in:
Joshua Bahnsen 2013-05-17 01:46:07 -07:00
parent 6f4968f735
commit 346ed1ff28
2 changed files with 3 additions and 2 deletions

View File

@ -2,8 +2,8 @@
<manifest xmlns:a="http://schemas.android.com/apk/res/android" <manifest xmlns:a="http://schemas.android.com/apk/res/android"
package="com.thejoshwa.ultrasonic.androidapp" package="com.thejoshwa.ultrasonic.androidapp"
a:installLocation="auto" a:installLocation="auto"
a:versionCode="18" a:versionCode="19"
a:versionName="1.1.0.14" > a:versionName="1.1.0.15" >
<uses-permission a:name="android.permission.INTERNET" /> <uses-permission a:name="android.permission.INTERNET" />
<uses-permission a:name="android.permission.READ_PHONE_STATE" /> <uses-permission a:name="android.permission.READ_PHONE_STATE" />

View File

@ -148,6 +148,7 @@ public class SubsonicTabActivity extends Activity implements OnClickListener{
// Make sure to update theme // Make sure to update theme
if (theme != null && !theme.equals(Util.getTheme(this))) { if (theme != null && !theme.equals(Util.getTheme(this))) {
theme = Util.getTheme(this);
restart(); restart();
} }