diff options
| author | 2023-05-10 20:39:45 -0700 | |
|---|---|---|
| committer | 2023-05-11 09:58:42 -0700 | |
| commit | 03a778d6df2c57a74eed90c659e6c6893bd29170 (patch) | |
| tree | e12e4d2a8ce5dd77c53a6d859730c1d55806104c /java/src-debug | |
| parent | b6db5913d41b01476ef027d7e40f032f4f3c4ed9 (diff) | |
Kepp PreviewDataProvider instace over a configuration change
Add a view model, PreviewViewModel, to retain a PreviewDataProvider
instance.
Tangentally, move ChooserActivity#isImageType method into
MimeTypeClassifier (to avoid keep a link to the activity).
Fix: 281929002
Test: manual testing, vierify through injected debug logging that the
object is not re-created.
Change-Id: I7be397089ca33e589a3ecbd6012929bfe3c5433a
Diffstat (limited to 'java/src-debug')
0 files changed, 0 insertions, 0 deletions