mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 14:15:14 +00:00
Fix javadoc warning
This commit is contained in:
@@ -51,10 +51,10 @@ import java.util.Set;
|
||||
public class ContactsHelper {
|
||||
|
||||
|
||||
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
|
||||
/**
|
||||
* Lookup the name and photoID of a contact given a phone number
|
||||
*/
|
||||
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
|
||||
public static Map<String, String> phoneNumberLookup(Context context, String number) {
|
||||
|
||||
//Log.e("PhoneNumberLookup", number);
|
||||
|
@@ -253,7 +253,6 @@ public final class AlbumArtCache {
|
||||
* @param url The url being fetched
|
||||
* @param payloadInput A payload input stream (if from the connected device). null if fetched from http(s)
|
||||
* @param cacheItem The disk cache item to edit
|
||||
* @throws IOException
|
||||
*/
|
||||
FetchURLTask(URL url, InputStream payloadInput, DiskLruCache.Editor cacheItem) throws IOException {
|
||||
this.url = url;
|
||||
@@ -266,7 +265,6 @@ public final class AlbumArtCache {
|
||||
* Opens the http(s) connection
|
||||
*
|
||||
* @return True if succeeded
|
||||
* @throws IOException
|
||||
*/
|
||||
private boolean openHttp() throws IOException {
|
||||
//Default android behaviour does not follow https -> http urls, so do this manually
|
||||
|
@@ -164,13 +164,13 @@ public class SMSPlugin extends Plugin {
|
||||
mPlugin = parent;
|
||||
}
|
||||
|
||||
@Override
|
||||
/**
|
||||
* The onChange method is called whenever the subscribed-to database changes
|
||||
*
|
||||
* In this case, this onChange expects to be called whenever *anything* in the Messages
|
||||
* database changes and simply reports those updated messages to anyone who might be listening
|
||||
*/
|
||||
@Override
|
||||
public void onChange(boolean selfChange) {
|
||||
if (mPlugin.mostRecentTimestamp == 0) {
|
||||
// Since the timestamp has not been initialized, we know that nobody else
|
||||
@@ -206,7 +206,6 @@ public class SMSPlugin extends Plugin {
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
/**
|
||||
* Deliver an old-style SMS packet in response to a new message arriving
|
||||
*
|
||||
@@ -218,6 +217,7 @@ public class SMSPlugin extends Plugin {
|
||||
*
|
||||
* @param messages Ordered list of parts of the message body which should be combined into a single message
|
||||
*/
|
||||
@Deprecated
|
||||
private void smsBroadcastReceivedDeprecated(ArrayList<SmsMessage> messages) {
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
|
Reference in New Issue
Block a user