Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30849

Automatically unlock emulators on Android M+

XMLWordPrintable

      Starting in Android M, there's an official way to unlock the screen when starting an emulator:
      The command adb shell wm dismiss-keyguard will, as it says, dismiss the keyguard.

      So we should use this for emulators running API 23 and above, and otherwise fallback to the existing not-so-reliable method.

      (Source: https://plus.google.com/+TorNorbye/posts/1SpmREBVBy6)

            orrc Christopher Orr
            orrc Christopher Orr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: