fix issue #1073. crash on oneplus two(Android 5.1.1, Oxygen 2.0.0).

This commit is contained in:
WangYun 2015-08-11 00:04:59 +08:00
parent b332942f16
commit 2cd6a54631
2 changed files with 3 additions and 2 deletions

View File

@ -37,8 +37,7 @@
android:label="@string/app_name"
android:backupAgent=".core.backup.OpmlBackupAgent"
android:restoreAnyVersion="true"
android:logo="@drawable/ic_launcher"
android:theme="@style/Theme.AntennaPod.Light">
android:logo="@drawable/ic_launcher">
<meta-data
android:name="com.google.android.backup.api_key"
android:value="AEdPqrEAAAAI3a05VToCTlqBymJrbFGaKQMvF-bBAuLsOdavBA"/>

View File

@ -7,6 +7,7 @@ import android.webkit.WebViewClient;
import android.widget.LinearLayout;
import de.danoeh.antennapod.R;
import de.danoeh.antennapod.core.preferences.UserPreferences;
/**
* Displays the 'about' screen
@ -18,6 +19,7 @@ public class AboutActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
setTheme(UserPreferences.getTheme());
super.onCreate(savedInstanceState);
getSupportActionBar().hide();
setContentView(R.layout.about);