| 948 | struct AndroidController : public IDeviceProtocolHandler |
| 949 | { |
| 950 | void Start() |
| 951 | { |
| 952 | if(running == 0) |
| 953 | { |
| 954 | Atomic::Inc32(&running); |
| 955 | |
| 956 | { |
| 957 | SCOPED_LOCK(lock); |
| 958 | Android::initAdb(); |
| 959 | } |
| 960 | |
| 961 | thread = Threading::CreateThread([]() { m_Inst.ThreadEntry(); }); |
| 962 | RenderDoc::Inst().RegisterShutdownFunction([]() { m_Inst.Shutdown(); }); |
| 963 | } |
| 964 | } |
| 965 | |
| 966 | void Shutdown() |
| 967 | { |
no test coverage detected