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:
parent
f631d16828
commit
d54748ff39
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user