Some bugs related to properties. Possibly more to come:

Some bugs related to properties. Possibly more to come:

Bug #1

If you run this script from a shortcut (not a folder) it makes no error, but the item visibility is not changed.

var p=i.getProperties().edit();

p.setBoolean(“s.iconVisibility”,false)

p.setBoolean(“f.titleVisibility”,false)

p.commit();

Bug #2

If you run this script from a shortcut (not a folder) this error is shown, instead of ‘not valid property’ or other: “java.lang.NullPointerException: Attempt to read from field ‘java.lang.Object android.util.Pair.first’ on a null object reference”.

var p=i.getProperties().edit();

p.getBox(“f.box”)

p.commit();

]]>

One Commentto Some bugs related to properties. Possibly more to come:

  1. Anonymous says:

    < ![CDATA[

    Thanks, I will have a look at these bugs. Regarding the first,  if my assumption is correct, it would mean that the real bug is the absence of error. Properties are not applied in sequence, but only if all names exists, hence s.iconVisibility is not processed if f.titleVisibility doesn’t apply to the item, which is the case for a shortcut.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *