Home
last modified time | relevance | path

Searched refs:wakelock (Results 1 – 1 of 1) sorted by relevance

/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java101 private PowerManager.WakeLock wakelock = null; field in ConsoleActivity
274 wakelock = manager.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, getPackageName()); in onCreate()
744 if (wakelock != null && wakelock.isHeld()) { in onPause()
745 wakelock.release(); in onPause()
760 if (wakelock != null && prefs.getBoolean(PreferenceConstants.KEEP_ALIVE, true)) { in onResume()
761 wakelock.acquire(); in onResume()