Skip to content

Commit 9637d97

Browse files
luk1337mikeNG
authored andcommitted
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
1 parent a10fd15 commit 9637d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/core/java/com/android/server/webkit/SystemImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ private void enablePackageForUser(String packageName, boolean enable, int userId
232232

233233
@Override
234234
public boolean systemIsDebuggable() {
235-
return Build.IS_DEBUGGABLE;
235+
return Build.IS_DEBUGGABLE && Build.IS_ENG;
236236
}
237237

238238
@Override

0 commit comments

Comments
 (0)