diff options
| author | 2021-11-03 09:08:33 +0100 | |
|---|---|---|
| committer | 2022-02-28 22:39:46 +0000 | |
| commit | c666c5e761dbe0cd81d60ba8360d2775fb6cc471 (patch) | |
| tree | 38dabdbc6e7bc3eca95a9288cdd0a6b7a664088b /libs/androidfw/StringPool.cpp | |
| parent | 7a25b6f3791431aa5c0aa7b4424036588d739307 (diff) | |
Make GlobalActionsDialogLite directly injectable
When GlobalActionsDialogLite was made injectable by
commit c88a2d7f3d3b9b4d4f7604d965294d89af48944b, it was
in the form of a dagger.Lazy. This was probably a mistake, as
a local reference to the content of this dagger.Lazy was also
kept, and this messes up the lifecycle and may, in strange
cases, allow the use of a Dialog that has been destroyed,
with consequences that are difficult to predict.
A direct injection of the GlobalActionsDialogLite is
probably more appropriate.
Test: manual
Change-Id: I1646c883b9a15db737bfc897c41dd26fb584d539
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions