linuxCheckAppArmorError abstract method

Future<bool> linuxCheckAppArmorError()

Returns true when there is an AppArmor error when trying to read a value.

When used inside a snap, there might be app armor limitations which lead to an error like: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.140" (uid=1000 pid=94358 comm="/snap/biometric-storage-example/x1/biometric_stora" label="snap.biometric-storage-example.biometric (enforce)") interface="org.freedesktop.Secret.Service" member="OpenSession" error name="(unset)" requested_reply="0" destination=":1.30" (uid=1000 pid=1153 comm="/usr/bin/gnome-keyring-daemon --daemonize --login " label="unconfined")

Implementation

Future<bool> linuxCheckAppArmorError();