change contains to equals

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2018-04-09 14:33:41 +02:00
parent dfb254df0e
commit 905bab6685
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -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 {