mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 22:25:08 +00:00
Autoformat code
This commit is contained in:
@@ -48,14 +48,14 @@ public class ContactsPlugin extends Plugin {
|
||||
/**
|
||||
* Used to request the device send the unique ID of every contact
|
||||
*/
|
||||
public static final String PACKET_TYPE_CONTACTS_REQUEST_ALL_UIDS_TIMESTAMPS = "kdeconnect.contacts.request_all_uids_timestamps";
|
||||
private static final String PACKET_TYPE_CONTACTS_REQUEST_ALL_UIDS_TIMESTAMPS = "kdeconnect.contacts.request_all_uids_timestamps";
|
||||
|
||||
/**
|
||||
* Used to request the names for the contacts corresponding to a list of UIDs
|
||||
* <p>
|
||||
* It shall contain the key "uids", which will have a list of uIDs (long int, as string)
|
||||
*/
|
||||
public static final String PACKET_TYPE_CONTACTS_REQUEST_VCARDS_BY_UIDS = "kdeconnect.contacts.request_vcards_by_uid";
|
||||
private static final String PACKET_TYPE_CONTACTS_REQUEST_VCARDS_BY_UIDS = "kdeconnect.contacts.request_vcards_by_uid";
|
||||
|
||||
/**
|
||||
* Response indicating the packet contains a list of contact uIDs
|
||||
@@ -63,7 +63,7 @@ public class ContactsPlugin extends Plugin {
|
||||
* It shall contain the key "uids", which will mark a list of uIDs (long int, as string)
|
||||
* The returned IDs can be used in future requests for more information about the contact
|
||||
*/
|
||||
public static final String PACKET_TYPE_CONTACTS_RESPONSE_UIDS_TIMESTAMPS = "kdeconnect.contacts.response_uids_timestamps";
|
||||
private static final String PACKET_TYPE_CONTACTS_RESPONSE_UIDS_TIMESTAMPS = "kdeconnect.contacts.response_uids_timestamps";
|
||||
|
||||
/**
|
||||
* Response indicating the packet contains a list of contact names
|
||||
@@ -77,7 +77,7 @@ public class ContactsPlugin extends Plugin {
|
||||
* '3' : 'Abe Lincoln',
|
||||
* '15' : 'Mom' )
|
||||
*/
|
||||
public static final String PACKET_TYPE_CONTACTS_RESPONSE_VCARDS = "kdeconnect.contacts.response_vcards";
|
||||
private static final String PACKET_TYPE_CONTACTS_RESPONSE_VCARDS = "kdeconnect.contacts.response_vcards";
|
||||
|
||||
@Override
|
||||
public String getDisplayName() {
|
||||
|
@@ -30,7 +30,6 @@ import android.os.Bundle;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.provider.Settings;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.Window;
|
||||
import android.view.WindowManager;
|
||||
|
||||
|
@@ -112,7 +112,8 @@ public class ShareNotification {
|
||||
builder.setStyle(new NotificationCompat.BigPictureStyle()
|
||||
.bigPicture(image));
|
||||
}
|
||||
} catch (FileNotFoundException ignored) {}
|
||||
} catch (FileNotFoundException ignored) {
|
||||
}
|
||||
}
|
||||
if (!"file".equals(destinationUri.getScheme())) {
|
||||
return;
|
||||
|
@@ -22,13 +22,11 @@ package org.kde.kdeconnect.Plugins.SystemvolumePlugin;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.support.v4.app.ListFragment;
|
||||
import android.util.Log;
|
||||
import android.util.TypedValue;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ArrayAdapter;
|
||||
|
Reference in New Issue
Block a user