Files
frameworks_base/core/java/android
Daichi Hirono 2dba5c8417 Stop invoke initAppOps in Camera default constructor.
Camera default constructor does not create the underlying native camera
object. Thus calling _enableShutterSound after the default constuctor
causes application crash.

Bug: 80498247
Test: Manually modify the code to return MODE_IGNORED for
      AppOpsService#checkAudioOperation() and to return false for
      CameraManager#supportsCamera2ApiLocked. Then start voice call in
      Hangouts.

Change-Id: Id738c4d46a8e3625bc3b1142b11acac9cfb0b603
Merged-In: Id738c4d46a8e3625bc3b1142b11acac9cfb0b603
(cherry picked from commit cb63c640cd)
2018-09-05 01:51:59 +00:00
..
2018-08-30 13:38:01 +01:00
2018-08-01 15:35:51 +01:00
2018-08-29 03:19:27 +00:00
2018-08-30 13:38:01 +01:00
2018-08-15 12:49:00 +01:00
2018-08-20 02:23:42 +00:00
2018-08-20 14:52:19 +01:00