external provider
The external camera provider occupies our camera V4L2 nodes, potentially
crashing the kernel driver and blocking the camera HAL.
Unfortunately, there's no easy way to just disable it, so let's just tell
it to ignore the internal video devices.
Change-Id: I00c67de1b94a1f7eca1bf458d1d0e4de3507aa81
--- /dev/null
+<ExternalCamera>
+ <Provider>
+ <!-- Internal video devices to be ignored by external camera HAL -->
+ <ignore>
+ <id>6</id>
+ <id>7</id>
+ <id>8</id>
+ <id>9</id>
+ <id>12</id>
+ <id>50</id>
+ <id>101</id>
+ <id>102</id>
+ <id>103</id>
+ <id>104</id>
+ <id>109</id>
+ <id>110</id>
+ <id>111</id>
+ <id>112</id>
+ <id>120</id>
+ <id>121</id>
+ <id>122</id>
+ <id>130</id>
+ <id>131</id>
+ <id>132</id>
+ <id>140</id>
+ <id>141</id>
+ <id>142</id>
+ <id>160</id>
+ <id>161</id>
+ <id>170</id>
+ <id>171</id>
+ <id>172</id>
+ <id>173</id>
+ <id>174</id>
+ <id>180</id>
+ <id>190</id>
+ <id>191</id>
+ <id>192</id>
+ <id>193</id>
+ <id>210</id>
+ <id>211</id>
+ <id>212</id>
+ <id>213</id>
+ <id>214</id>
+ <id>215</id>
+ <id>216</id>
+ <id>217</id>
+ <id>218</id>
+ <id>219</id>
+ <id>220</id>
+ <id>221</id>
+ <id>222</id>
+ <id>223</id>
+ <id>224</id>
+ <id>225</id>
+ </ignore>
+ </Provider>
+</ExternalCamera>
android.hardware.camera.provider@2.4 \
Snap
+# Camera configurations
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/configs/external_camera_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/external_camera_config.xml
+
# Configstore
PRODUCT_PACKAGES += \
android.hardware.configstore@1.0-impl \