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

Unverified Commit b7489ed4 authored by LuK1337's avatar LuK1337 Committed by Michael Bestas
Browse files

webkit: SystemImpl: Make systemIsDebuggable() check IS_ENG as well

* Since we are shipping userdebug builds by default
  it'd be nice to keep signature and version downgrade
  checks intact.
* Fixes : https://gitlab.com/LineageOS/issues/android/-/issues/2192

Change-Id: Ib46ccb50ac091469caf99a73a5a08942cbc457f6
parent 73ad1268
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ public class SystemImpl implements SystemInterface {

    @Override
    public boolean systemIsDebuggable() {
        return Build.IS_DEBUGGABLE;
        return Build.IS_DEBUGGABLE && Build.IS_ENG;
    }

    @Override