Closed nkming2 closed 7 years ago
screencap erred with Unable to get handle for display 0
Possible workaround: https://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_SYSRQ
I just installed the app and it fails to take a screenshot on my Moto G5, Android 7.
Is this issue related?
Possible. Sadly I'm not too sure what's causing this issue. One thing clear is that it's to some extend related to the root solution used. For example on the same N5, I could reproduce it with SuperSU before but no longer with the latest Magisk
@nkming2 I rooted my phone with Magisk and I have this issue...well, I guess. It says "Failed to take a screenshot" but I have not looked at the logs yet.
I've just published a beta on the Play Store which may be able to workaround this issue. Can you help trying that out to see if it works? To join beta, scroll to the bottom of the app page. Thanks :)
Related: b4fba00f70d87ac81cc228d0ed0f12a486ff0b79
I confirm the issue is solved on the new beta, I'm able to get the screenshot correctly!
There is only a small delay, 1 sec or so before it gets taken, but I can leave with that! Many thanks ;)
On 8 Oct 2017 8:27 am, "Ming" notifications@github.com wrote:
I've just published a beta on the Play Store which may be able to workaround this issue. Can you help trying that out to see if it works? To join beta, scroll to the bottom of the app page. Thanks :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nkming2/power-menu/issues/18#issuecomment-334988585, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLRmRHe_m9dX4cCA_YJ8jJvpF5DG-WJks5sqHlggaJpZM4Ll2Ok .
Screenshot loaded as null on some device, not sure why...
Stacktrace: