Refactor setCurrentFunction and setUsbDataUnlocked into one method.

Bug : 31814300
Test: Refactor. Existing tests pass.
Change-Id: Id43f677e80efdbbb6653d3a755d0b2a7320f658a
(cherry picked from commit 2e2a4357179d20c92e076f39df925d0b6dbb532c)
1 file changed
tree: 1e431baf44d4841cbfb2ccd82a57f07f1ac87d2b
  1. QuickSettings/
  2. Settings/