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

Automatically unlock emulators on Android M+

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Similar Issues:

      Description

      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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: