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

Skip to content
Commit 28ab5d46 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: OPO-765

Change-Id: Ibbf4f7ce12f97aa046fa214383580ef4d191ce25
(cherry picked from commit d0c49f47)
parent d0cfcc1e
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