Skip to content
Snippets Groups Projects
Commit 7881bc39 authored by LuK1337's avatar LuK1337 Committed by Mohammad Hasan Keramat J
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 d45f9ff0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment