You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
package android.provider;
|
|
|
|
import android.content.ContentResolver;
|
|
import android.database.Cursor;
|
|
import android.net.Uri;
|
|
|
|
public final class MediaStore {
|
|
|
|
public static final class Images {
|
|
|
|
public static final class Media {
|
|
public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) {
|
|
return cr.query(uri, projection, null, null, null);
|
|
}
|
|
|
|
public static final Cursor query(
|
|
ContentResolver cr, Uri uri, String[] projection, String where, String orderBy) {
|
|
return cr.query(uri, projection, where, null, orderBy);
|
|
}
|
|
|
|
public static final Cursor query(
|
|
ContentResolver cr,
|
|
Uri uri,
|
|
String[] projection,
|
|
String selection,
|
|
String[] selectionArgs,
|
|
String orderBy) {
|
|
return cr.query(uri, projection, selection, selectionArgs, orderBy);
|
|
}
|
|
}
|
|
}
|
|
}
|