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

Skip to content
Commit 56b0bfdc authored by d34d's avatar d34d Committed by Gerrit Code Review
Browse files

AppOps: Guard against themes without colorAccent defined

If an applied theme omits the colorAccent attribute in their style
AppOpsSummary will crash because typedValue.resourceId is 0.

Check if typedValue.resourceId is 0 and if so use switch_accent_color
for tab indicator color.

Change-Id: Ib294fcdfd3bf3510aeb0d0f612bd5f46354e0b15
TICKET: CYNGNOS-2156
(cherry picked from commit e2eea4d3)
parent c9023a47
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