Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information