mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 16:40:53 +01:00
Prevent crash
This commit is contained in:
@@ -1035,6 +1035,11 @@ public class Helper {
|
||||
return false;
|
||||
}
|
||||
|
||||
static boolean canPrint(Context context) {
|
||||
PackageManager pm = context.getPackageManager();
|
||||
return pm.hasSystemFeature("android.software.print");
|
||||
}
|
||||
|
||||
public static String getFingerprint(Context context) {
|
||||
try {
|
||||
PackageManager pm = context.getPackageManager();
|
||||
|
||||
Reference in New Issue
Block a user