rovo89 / XposedBridge

The Java part of the Xposed framework.
3.91k stars 1.1k forks source link

Print services doesn't work #117

Closed ajmtrz closed 8 years ago

ajmtrz commented 8 years ago
08-12 13:12:41.153  5305  5352 E RemotePrintSpooler: Error getting print jobs.
08-12 13:12:41.153  5305  5352 E RemotePrintSpooler: java.util.concurrent.TimeoutException: Cannot get spooler!
08-12 13:12:41.153  5305  5352 E RemotePrintSpooler:    at com.android.server.print.RemotePrintSpooler.bindLocked(RemotePrintSpooler.java:378)
08-12 13:12:41.153  5305  5352 E RemotePrintSpooler:    at com.android.server.print.RemotePrintSpooler.getRemoteInstanceLazy(RemotePrintSpooler.java:354)
08-12 13:12:41.153  5305  5352 E RemotePrintSpooler:    at com.android.server.print.RemotePrintSpooler.getPrintJobInfos(RemotePrintSpooler.java:115)
08-12 13:12:41.153  5305  5352 E RemotePrintSpooler:    at com.android.server.print.UserState.getPrintJobInfos(UserState.java:243)
08-12 13:12:41.153  5305  5352 E RemotePrintSpooler:    at com.android.server.print.PrintManagerService$PrintManagerImpl.getPrintJobInfos(PrintManagerService.java:157)
08-12 13:12:41.153  5305  5352 E RemotePrintSpooler:    at android.print.IPrintManager$Stub.onTransact(IPrintManager.java:57)
08-12 13:12:41.153  5305  5352 E RemotePrintSpooler:    at android.os.Binder.execTransact(Binder.java:453)
08-12 13:12:41.160  5305  5876 W ActivityManager: Unable to start service Intent { cmp=com.android.printspooler/.model.PrintSpoolerService } U=0: not found
08-12 13:12:46.688  5305  7802 W ActivityManager: Unable to start service Intent { cmp=com.android.printspooler/.model.PrintSpoolerService } U=0: not found
08-12 13:12:46.689  5305  6731 I ActivityManager: START u0 {act=android.print.PRINT_DIALOG dat=printjob:8dd145e6-6c80-4542-8c03-3ccc3d63acf0 (has extras)} from uid 1000 on display 0
rovo89 commented 8 years ago

... and why do you think this is related to Xposed?

ajmtrz commented 8 years ago

because without xposed works.

rovo89 commented 8 years ago

Well, then follow: https://github.com/rovo89/XposedBridge/wiki/Bugs

ajmtrz commented 8 years ago

Ok. My platform is Motorola Nexus 6 with latest android MOB30W. My Xposed version is v86. Issue: When I try print document from Google Document or other aplication like Firefox, android cannot get printers and crash as above. Thanks @rovo89

rovo89 commented 8 years ago

Hm, but I still need a detailed log. There isn't any indication that Xposed is involved in the log you posted.

ajmtrz commented 8 years ago

true

ajmtrz commented 8 years ago

I cannot send you any xposed involved log because only appears that log (logcat -b all). But if I unninstall Xposed works. Sorry I cannot send more .

rovo89 commented 8 years ago

Then I'm afraid I can't help you at this time. In case you're able to find more details later, please let me know.

ajmtrz commented 8 years ago

The issue is caused by Supersu. Sorry. In my build, when I install supersu via recovery zip, xposed is enabled by supersu. So, I thought that issue was caused by xposed. I 'm sorry for wasting time. Thanks always @rovo89