2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 14:15:14 +00:00

Indentation.

This commit is contained in:
Albert Vaca
2015-11-13 09:18:13 -08:00
parent aad298ae31
commit 6c50d0f05d

View File

@@ -345,17 +345,18 @@ public class MousePadActivity extends ActionBarActivity implements GestureDetect
} }
}); });
} }
private void sendSingleHold() {
BackgroundService.RunCommand(this, new BackgroundService.InstanceCallback() { private void sendSingleHold() {
@Override BackgroundService.RunCommand(this, new BackgroundService.InstanceCallback() {
public void onServiceStart(BackgroundService service) { @Override
Device device = service.getDevice(deviceId); public void onServiceStart(BackgroundService service) {
MousePadPlugin mousePadPlugin = device.getPlugin(MousePadPlugin.class); Device device = service.getDevice(deviceId);
if (mousePadPlugin == null) return; MousePadPlugin mousePadPlugin = device.getPlugin(MousePadPlugin.class);
mousePadPlugin.sendSingleHold(); if (mousePadPlugin == null) return;
} mousePadPlugin.sendSingleHold();
}); }
} });
}
private void showKeyboard() { private void showKeyboard() {
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);