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

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

webkit: SystemImpl: Make systemIsDebuggable() check IS_ENG

* 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 30ce026b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -236,7 +236,7 @@ public class SystemImpl implements SystemInterface {


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


    @Override
    @Override