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:
Hans-Christoph Steiner 2016-05-23 18:23:31 +02:00
parent f631d16828
commit d54748ff39

View File

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