Crash with Custom icons and help with variables
Posted: 27 Sep 2016 19:07
Hello, first time posting in these forums and let me say that Automagic is a great piece of software, with an awesome supporting author and i love it.
1) I encounter a crash in SystemUI when i use a Custom icon for a notification. As soon as the notification is created, "SystemUI stopped responding" loops endlessly until i reboot the phone. I tried with a png transparent icon extracted from an app as well as with camera pics, with the same result.
i've attached the logcat (easily obtained thanks to Automagic, during the loop).
I'm on MM 6.0.1 Xperia Z5compact stock rom with root. Tried also by disabling Xposed framework.
2) I've a problem regarding the use of the package name as a variable in a flow similar to the one suggested by you here:
viewtopic.php?f=5&t=6035#p15344
- I copy from clipboard the name of the package
- I use the action Init Variable Package Info: {clip_data} -> package_info
->>> if i try to debug the variables obtained ( clip_data and package_info), all is ok
Now i want to check if the package is freezed or unfreezed:
- if i use condition Expression: package_info[{clip_data}]["application_info"]["enabled"] or package_info["{clip_data}"]["application_info"]["enabled"]
i get an error:
Value null is not a list or map (Expression: package_info[{clip_data}]["application_info"][line0])
I read the instructions about using variables in expressions but can't find my error.
Or simply i can't use a variable in this case?
1) I encounter a crash in SystemUI when i use a Custom icon for a notification. As soon as the notification is created, "SystemUI stopped responding" loops endlessly until i reboot the phone. I tried with a png transparent icon extracted from an app as well as with camera pics, with the same result.
i've attached the logcat (easily obtained thanks to Automagic, during the loop).
I'm on MM 6.0.1 Xperia Z5compact stock rom with root. Tried also by disabling Xposed framework.
2) I've a problem regarding the use of the package name as a variable in a flow similar to the one suggested by you here:
viewtopic.php?f=5&t=6035#p15344
- I copy from clipboard the name of the package
- I use the action Init Variable Package Info: {clip_data} -> package_info
->>> if i try to debug the variables obtained ( clip_data and package_info), all is ok
Now i want to check if the package is freezed or unfreezed:
- if i use condition Expression: package_info[{clip_data}]["application_info"]["enabled"] or package_info["{clip_data}"]["application_info"]["enabled"]
i get an error:
Value null is not a list or map (Expression: package_info[{clip_data}]["application_info"][line0])
I read the instructions about using variables in expressions but can't find my error.
Or simply i can't use a variable in this case?