From 4011208db339464222f634eca88376d905b94fcb Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Thu, 7 May 2015 11:50:08 -0700 Subject: [PATCH] prevent strange appcompat stack overflow inspiration: http://stackoverflow.com/a/14167949 Fixes #3118 Closes #3119 // FREEBIE --- res/values/themes.xml | 1 + src/org/thoughtcrime/securesms/ReceiveKeyActivity.java | 1 + 2 files changed, 2 insertions(+) diff --git a/res/values/themes.xml b/res/values/themes.xml index a759b74539..360d8ad73c 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -238,6 +238,7 @@ @null stateUnspecified|adjustPan false + 0dp true @null diff --git a/src/org/thoughtcrime/securesms/ReceiveKeyActivity.java b/src/org/thoughtcrime/securesms/ReceiveKeyActivity.java index 419cd35ee5..e300feb463 100644 --- a/src/org/thoughtcrime/securesms/ReceiveKeyActivity.java +++ b/src/org/thoughtcrime/securesms/ReceiveKeyActivity.java @@ -79,6 +79,7 @@ public class ReceiveKeyActivity extends PassphraseRequiredActionBarActivity { protected void onCreate(Bundle state, @NonNull MasterSecret masterSecret) { this.masterSecret = masterSecret; setContentView(R.layout.receive_key_activity); + getSupportActionBar().hide(); initializeResources();