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

Commit 5d0cf917 authored by Christopher Ferris's avatar Christopher Ferris Committed by Android Git Automerger
Browse files

am fd41feee: Merge "Fix wrap property creation when truncating." into lmp-mr1-dev

* commit 'fd41feee':
  Fix wrap property creation when truncating.
parents 4649dcd7 fd41feee
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -842,7 +842,12 @@ class ZygoteConnection {
            if (args.niceName != null) {
                String property = "wrap." + args.niceName;
                if (property.length() > 31) {
                    // Avoid creating an illegal property name when truncating.
                    if (property.charAt(30) != '.') {
                        property = property.substring(0, 31);
                    } else {
                        property = property.substring(0, 30);
                    }
                }
                args.invokeWith = SystemProperties.get(property);
                if (args.invokeWith != null && args.invokeWith.length() == 0) {