Dominik Schürmann 1aa87ddf76 PrivilegedInstaller: Fix check for granted permissions
The onConnected callback of ServiceConnection is always
executed on the main looper of the context that is used
to create the service binding. Thus the old code resulted
in a deadlock and then in a timeout of the Thread.wait()
method.

The check for permissions is now called inside install and
uninstall callbacks, where it works asynchronously.
2016-06-01 02:14:51 +02:00
..
2016-05-30 22:08:19 +01:00