Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 34635301 authored by Ethan Chen's avatar Ethan Chen Committed by Gerrit Code Review
Browse files

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
(cherry picked from commit d6098ce1)
parent 9b9c6d47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment