mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-10-06 11:03:23 -04:00
SuppressLint("ParcelCreator") on MockApplicationInfo
Apparently, the CREATOR field is not (yet?) needed in the tests, since they work without it. This gets us closer to making lint errors fail the CI builds. closes #580
This commit is contained in:
1 parent
f631d16828
commit
d54748ff39
1 file changed
+2
@@ -1,9 +1,11 @@
|
||||
package mock;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
|
||||
@SuppressLint("ParcelCreator")
|
||||
public class MockApplicationInfo extends ApplicationInfo {
|
||||
|
||||
private final PackageInfo info;
|
||||
|
||||
Reference in new issue
Block a user