Merge "HID Device: Unregister inactive app" into pi-dev