aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJeremy Klein <jlklein@google.com>2015-08-19 11:04:06 -0700
committerJeremy Klein <jlklein@google.com>2015-08-20 10:55:10 -0700
commit42f6fccc10d10a049ca5604d6645c7cfe9887e18 (patch)
treef0fc386180f3d267fb4e621e73519dfd34e509fc /app
parentc3eb93ff1a7e119002b2532ed4687642d47c607b (diff)
downloadconnectbot-42f6fccc10d10a049ca5604d6645c7cfe9887e18.tar.gz
connectbot-42f6fccc10d10a049ca5604d6645c7cfe9887e18.tar.bz2
connectbot-42f6fccc10d10a049ca5604d6645c7cfe9887e18.zip
Switch to supportRequestWindowFeature to fix crash autohiding title
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/org/connectbot/ConsoleActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/connectbot/ConsoleActivity.java b/app/src/main/java/org/connectbot/ConsoleActivity.java
index 9344938..6f72783 100644
--- a/app/src/main/java/org/connectbot/ConsoleActivity.java
+++ b/app/src/main/java/org/connectbot/ConsoleActivity.java
@@ -342,7 +342,7 @@ public class ConsoleActivity extends AppCompatActivity implements BridgeDisconne
titleBarHide = prefs.getBoolean(PreferenceConstants.TITLEBARHIDE, false);
if (titleBarHide) {
- getWindow().requestFeature(Window.FEATURE_ACTION_BAR_OVERLAY);
+ supportRequestWindowFeature(Window.FEATURE_ACTION_BAR_OVERLAY);
}
this.setContentView(R.layout.act_console);