Skip to content
Commit e2f1fe31 authored by William Hester's avatar William Hester
Browse files

Ensure ADB is stopped when enabling Test Harness Mode

Because adbd may be enabled before TestHarnessModeService
activates Test Harness Mode, we need to stop ADB by turning the
setting off. For user builds, this is a no-op. For userdebug and
eng builds, this stops adbd and restarts it immediately afterwards.
This allows the newly-created keys to be loaded when adbd starts
up.

Change-Id: Ia673d1c18aba2e33d4df901ffe982122da4cb295
Bug: 150721793
parent 957629cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment