2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-05 08:35:10 +00:00

The discovery now should be enabled while navigating the app UI

This commit is contained in:
Albert Vaca
2015-09-09 12:34:42 -07:00
parent c837079e03
commit 24561b58f9
10 changed files with 128 additions and 63 deletions

View File

@@ -362,5 +362,17 @@ public class MousePadActivity extends ActionBarActivity implements GestureDetect
imm.toggleSoftInputFromWindow(keyListenerView.getWindowToken(), 0, 0);
}
@Override
protected void onStart() {
super.onStart();
BackgroundService.addGuiInUseCounter(this);
}
@Override
protected void onStop() {
super.onStop();
BackgroundService.removeGuiInUseCounter(this);
}
}