On Tue, Nov 25, 2014 at 10:30:17AM +0100, Oliver Grawert wrote: > Am Dienstag, den 25.11.2014, 10:17 +0100 schrieb Martin Pitt: > > Oliver Grawert [2014-11-24 19:13 +0100]: > > > if you try to connect while the screen is locked adb will return > > > "error: closed"
> > This would again mean that we can't run unattended tests on devices, > > as adb is our one and only foot into the door, and we need it in order > > to automatically unlock Unity. So chicken - egg again. > > Since adb doesn't run by default anyway, and one has to explicitly > > enable it with "developer mode", what's the thing that we are trying > > to prevent here? > please see > https://wiki.ubuntu.com/SecurityAndPrivacySettings/ProtectingUserData > (it is also linked from the bug i pointed to) As we discussed at the last client sprint, however, it is *not* a requirement that the screen be unlocked to connect over adb. The requirement is that unknown hosts, when connecting, get approved (via the certificate path) before they're allowed in. That requires the phone to be unlocked in the interactive case, because the user needs to get past the lock screen to approve the connection. But denying adb connections /because/ the screen is locked is not a requirement, and is not actually a stepping stone towards the target solution. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: Digital signature
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp