Enforce camera shutter sounds to always play for some markets

Carrier requirements in some markets require that the camera shutter
sound is always audible.  Our existing build-agnostic approach relies
on MCC, which is only available with a SIM inserted.

For more complete coverage, force shutter sounds on for all devices with
radio.subtype of 1.

Test: First set device to Japan radio mode:
    fastboot oem set_platform_info s s 1
  Then verify that after muting ringer and media sounds:
  - Shutter sounds play in camera app,
    no visible setting in app to disable it.
  - pdk/apps/TestingCamera also plays shutter sounds.
Bug: 110126976

Change-Id: I78e58e6e08db33756a943db9a1563a072038032a
2 files changed
tree: f33b4589e9cb50f3f4ffa3ae7d37d0fbe42fb762
  1. .clang-format
  2. .gitignore
  3. Android.mk
  4. AndroidProducts.mk
  5. BoardConfig-common.mk
  6. CleanSpec.mk
  7. WCNSS_qcom_cfg.ini
  8. acdbdata/
  9. aosp_blueline.mk
  10. aosp_crosshatch.mk
  11. audio/
  12. audio_effects.xml
  13. audio_platform_info_tavil_b1.xml
  14. audio_platform_info_tavil_c1.xml
  15. audio_policy_configuration.xml
  16. audio_policy_configuration_a2dp_offload_disabled.xml
  17. audio_policy_volumes.xml
  18. blueline/
  19. bluetooth/
  20. board-info.txt
  21. compatibility_matrix.xml
  22. config.fs
  23. crosshatch/
  24. default-permissions.xml
  25. default_volume_tables.xml
  26. device-blueline.mk
  27. device-common.mk
  28. device-crosshatch.mk
  29. device.mk
  30. device_framework_matrix.xml
  31. dumpstate/
  32. factory-images_blueline/
  33. factory-images_crosshatch/
  34. framework_manifest.xml
  35. fstab.hardware
  36. gps.conf
  37. gps_debug.conf
  38. gpt-utils/
  39. graphite_ipc_platform_info.xml
  40. health/
  41. hidl/
  42. init.common.rc
  43. init.edge_sense.sh
  44. init.hardware.chamber.rc.userdebug
  45. init.hardware.diag.rc.user
  46. init.hardware.diag.rc.userdebug
  47. init.hardware.mpssrfs.rc.user
  48. init.hardware.mpssrfs.rc.userdebug
  49. init.hardware.rc
  50. init.hardware.usb.rc
  51. init.insmod.cfg
  52. init.insmod.sh
  53. init.logging.rc
  54. init.power.rc
  55. init.qcom.devstart.sh
  56. init.qcom.ipastart.sh
  57. init.qcom.wlan.sh
  58. init.radio.sh
  59. init.recovery.hardware.device.rc
  60. init.recovery.hardware.rc
  61. json-c/
  62. lowi.conf
  63. manifest.xml
  64. media_codecs.xml
  65. media_codecs_c2.xml
  66. media_codecs_google_audio.xml
  67. media_codecs_performance.xml
  68. media_profiles_V1_0.xml
  69. mixer_paths_tavil_b1.xml
  70. nfc/
  71. overlay/
  72. p2p_supplicant_overlay.conf
  73. permissions/
  74. power-libperfmgr/
  75. powerhint.json
  76. preloads_copy.sh
  77. qti_whitelist.xml
  78. recovery.wipe
  79. recovery/
  80. sdm845/
  81. sec_config
  82. seccomp_policy/
  83. self-extractors/
  84. self-extractors_blueline/
  85. sensors/
  86. sepolicy/
  87. sound_trigger_mixer_paths_wcd9340.xml
  88. sound_trigger_platform_info.xml
  89. system.prop
  90. thermal-engine-blueline-novr-evt.conf
  91. thermal-engine-blueline-novr-prod.conf
  92. thermal-engine-blueline-vr-evt.conf
  93. thermal-engine-blueline-vr-prod.conf
  94. thermal-engine-crosshatch-novr-evt.conf
  95. thermal-engine-crosshatch-novr-prod.conf
  96. thermal-engine-crosshatch-vr-evt.conf
  97. thermal-engine-crosshatch-vr-prod.conf
  98. thermal/
  99. ueventd.hardware.rc
  100. uinput-fpc.idc
  101. uinput-fpc.kl
  102. usb/
  103. utils.mk
  104. vendorsetup.sh
  105. vibrator/
  106. voice_processing/
  107. vr/
  108. wifi_concurrency_cfg.txt
  109. wpa_supplicant_overlay.conf
  110. wpa_supplicant_wcn.conf