mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
change contains to equals
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
dfb254df0e
commit
905bab6685
1 changed files with 1 additions and 1 deletions
|
@ -1010,7 +1010,7 @@ public class FileContentProvider extends ContentProvider {
|
|||
|
||||
private boolean isCallerNotAllowed() {
|
||||
String callingPackage = mContext.getPackageManager().getNameForUid(Binder.getCallingUid());
|
||||
return callingPackage == null || !callingPackage.contains(mContext.getPackageName());
|
||||
return callingPackage == null || !callingPackage.equals(mContext.getPackageName());
|
||||
}
|
||||
|
||||
class DataBaseHelper extends SQLiteOpenHelper {
|
||||
|
|
Loading…
Reference in a new issue