Skip to content
Commit 754e1951 authored by Evan Laird's avatar Evan Laird
Browse files

[Sb refactor] Ignore old pipeline callbacks to removeIcon*

StatusBarIconController was already ignoring calls to set icon when the
new pipeline was enabled, but was still allowing calls to `removeIcon`
and `removeAllIconsForSlot` externally. Therefore, it was possible for
the new pipeline to add an icon for a mobile connection during system
startup, only to have it later removed by `StatusBarSignalPolicy`, which
later came on line and tried to remove existing subscriptions.

This change ignores external calls to remove icons if the slot is
something controlled under the new pipeline.

Fixes: 266960478
Test: StatusBarIconControllerTest
Change-Id: I570fe9ea2e8c3cf09c89a100a68dce73e00febf7
parent b488504c
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