Update based on code-review feedback.

This commit is contained in:
Paul Hawke 2017-11-25 11:46:41 -06:00
parent 02b5b9b680
commit 17e1ff20d7

View file

@ -155,7 +155,7 @@ public class FileUtils {
} }
/** /**
* Check if the URI is owned by the current application. * Check if the URI is owned by the current app.
*/ */
public static boolean isSelfOwned(Context context, Uri uri) { public static boolean isSelfOwned(Context context, Uri uri) {
return uri.getAuthority().equals(context.getPackageName() + ".provider"); return uri.getAuthority().equals(context.getPackageName() + ".provider");