Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb08f60a authored by Alessandro Astone's avatar Alessandro Astone
Browse files

NavBar: Don't crash when we can't find navigation overlays

This is expected on FDE before decrypt

Change-Id: I495ce417bd3dc70cf10441f657ca7392cae896f6
parent e7701b94
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -265,7 +265,7 @@ public class NavigationBarInflaterView extends FrameLayout
                // our customization overlay to highest priority to ensure it is applied.
                iom.setHighestPriority(OVERLAY_NAVIGATION_HIDE_HINT, userId);
            }
        } catch (RemoteException e) {
        } catch (RemoteException | IllegalArgumentException e) {
            Log.e(TAG, "Failed to " + (state ? "enable" : "disable")
                    + " overlay " + OVERLAY_NAVIGATION_HIDE_HINT + " for user " + userId);
        }