]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
prop: Enable the "ro.adb.secure" property (#1096)
authorАзалия Смарагдова <charming.flurry@yandex.ru>
Sun, 17 Sep 2023 17:13:33 +0000 (22:13 +0500)
committerAlessandro Astone <ales.astone@gmail.com>
Sun, 29 Jun 2025 19:02:15 +0000 (21:02 +0200)
Also setting the "ro.debuggable=0" property

tools/helpers/lxc.py

index dc3011b408add7d456b9784bd50a8b13b9153c63..79eac733a44f2258383868f2664efd185f3a46f6 100644 (file)
@@ -247,6 +247,10 @@ def make_base_props(args):
     if not os.path.exists("/dev/ashmem"):
         props.append("sys.use_memfd=true")
 
+    # Added for security reasons
+    props.append("ro.adb.secure=1")
+    props.append("ro.debuggable=0")
+
     egl = tools.helpers.props.host_get(args, "ro.hardware.egl")
     dri, _ = tools.helpers.gpu.getDriNode(args)