prevent strange appcompat stack overflow

inspiration: http://stackoverflow.com/a/14167949

Fixes #3118
Closes #3119
// FREEBIE
This commit is contained in:
Jake McGinty 2015-05-07 11:50:08 -07:00 committed by Moxie Marlinspike
parent 4ad9d6b5cc
commit 4011208db3
2 changed files with 2 additions and 0 deletions

View File

@ -238,6 +238,7 @@
<item name="android:windowContentOverlay">@null</item> <item name="android:windowContentOverlay">@null</item>
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item> <item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
<item name="android:windowActionBar">false</item> <item name="android:windowActionBar">false</item>
<item name="android:windowTitleSize">0dp</item>
<item name="android:windowActionModeOverlay">true</item> <item name="android:windowActionModeOverlay">true</item>
<item name="android:colorBackgroundCacheHint">@null</item> <item name="android:colorBackgroundCacheHint">@null</item>

View File

@ -79,6 +79,7 @@ public class ReceiveKeyActivity extends PassphraseRequiredActionBarActivity {
protected void onCreate(Bundle state, @NonNull MasterSecret masterSecret) { protected void onCreate(Bundle state, @NonNull MasterSecret masterSecret) {
this.masterSecret = masterSecret; this.masterSecret = masterSecret;
setContentView(R.layout.receive_key_activity); setContentView(R.layout.receive_key_activity);
getSupportActionBar().hide();
initializeResources(); initializeResources();