Fixed the black preview on the apps that uses older version of camerax that
didn't invoke InitializerImpl.init()

Some app uses older version of CameraX that didn't invoke
InitializerImpl.init() which causes the ServiceManager unable
to initialize properly and cause the black preview.

This CL fixed the issues and will makes isExtensionAvailable
returns false on these apps.

Bug: 301204044
Test: manual test
Change-Id: I6a736218a5df4d82338c86e6c43c39566ab38481
4 files changed
tree: 359178931e0acb19a9db5a326e9609efdbbcc99a
  1. camera2/
  2. common/
  3. framesequence/
  4. photoviewer/
  5. widget/
  6. CleanSpec.mk
  7. OWNERS