mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 14:15:14 +00:00
Indentation.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user