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

Skip to content
Commit 3c60580d authored by Aaron Liu's avatar Aaron Liu
Browse files

Ensure that we destroy view before adding another

Whenever a blueprint is propagated, which happens every time the
configuration changes (rotations, etc), the preview renderer is adding a
udfps view and smartspace view and not removing the previous one.

1. Only inflate udfps view once. It does not rely on the blueprint
   framework and can be moved outside of the view binder.
2. Remove smartspace view if it is not null.

Test: add logs to onattach and ondetach to smartspace and change
blueprints via adb.
Fixes: 308353286
Flag: NONE

Change-Id: Iefb240697b940417d84e7dbdf7d9e1488ecc03ba
parent 57ea0232
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