mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-02-04 20:21:57 -05: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,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