From a4d00208260ffc0c7af8d32006b74cf0138ab89c Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Wed, 3 Jun 2009 03:50:18 +0000 Subject: Revert problematic screen lock protection until we find a better solution git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@266 df292f66-193f-0410-a5fc-6d59da041ff2 --- src/org/connectbot/ConsoleActivity.java | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src') diff --git a/src/org/connectbot/ConsoleActivity.java b/src/org/connectbot/ConsoleActivity.java index a6c2199..a88c6d0 100644 --- a/src/org/connectbot/ConsoleActivity.java +++ b/src/org/connectbot/ConsoleActivity.java @@ -718,28 +718,6 @@ public class ConsoleActivity extends Activity { } - @Override - public void onPause() { - super.onPause(); - - /* Make sure our current TerminalView doesn't send a - * notification to the user about the screen size. - */ - View view = findCurrentView(R.id.console_flip); - if (view instanceof TerminalView) - ((TerminalView) view).setNotifications(false); - } - - @Override - public void onResume() { - super.onResume(); - - // Enable notifications for the current TerminalView. - View view = findCurrentView(R.id.console_flip); - if (view instanceof TerminalView) - ((TerminalView) view).setNotifications(true); - } - @Override public void onStop() { super.onStop(); -- cgit v1.2.3