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

Skip to content
Commit d0c49f47 authored by Tom Marshall's avatar Tom Marshall Committed by Gerrit Code Review
Browse files

UsbDeviceManager: Remove charging from persisted function composition

CM 12.1 supported the function composition "charging" to indicate no
function compositions, only charging.  CM 13.0 does not support this.
Instead, mtp is used (see commits to fix b/21429947 for an explanation
why this is done).

When a user upgrades from 12.1 to 13.0 and the persisted function
composition is "charging", modifications to the function composition,
such as to add adb or mtp, will timeout and fail.  This introduces a
three second latency on the change.  Removing the charging function
when reading the persisted function composition avoids the delay.

Jira: BACON-4912, OPO-765

Change-Id: Ibbf4f7ce12f97aa046fa214383580ef4d191ce25
parent eb7ff1a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment