DevelopmentSettings: Synchronize USB connection data state
* UsbModeChooserActivity now takes into account whether the user has unlocked USB data for the current composition mode, but the development settings USB mode chooser dialog does not. This patchset makes it aware. * Assume if USB data hasn't been unlocked by the user, that USB charging mode is the current composition mode. This patch makes assumptions that the charging composition mode occurs at position 0 of the resources however. Any devices which have custom USB composition modes set in the overlay should be aware of this change. REF: CYNGNOS-2322 Change-Id: I8789f23b1c58bfb6e23f4fcde2b2c10d5fd4adf2
Loading