• Rashed Abdel-Tawab's avatar
    camera: Check if aux camera whitelist is set before restricting cameras · 40c1fa96
    Rashed Abdel-Tawab authored
    Some devices have a fully featured 3rd camera and adding 20+ camera apps
    to the whitelist is impossible due to the string length limit on
    systemprops. Add a check to see if the prop is even set, and if not,
    check if the blacklist property is set and mark those apps to hide the
    3rd camera from. If a package is not part of the blacklist, just restore
    the original behaviour and expose all the cameras to the app.
    
    Change-Id: I6c3b33c077e8710c73b5d0fa28e1b017d6c43a58
    40c1fa96
Name
Last commit
Last update
apct-tests/perftests Loading commit data...
api Loading commit data...
cmds Loading commit data...
config Loading commit data...
core Loading commit data...
data Loading commit data...
docs Loading commit data...
drm Loading commit data...
graphics/java/android Loading commit data...
keystore Loading commit data...
legacy-test Loading commit data...
libs Loading commit data...
location Loading commit data...
lowpan Loading commit data...
media Loading commit data...
native Loading commit data...
nfc-extras Loading commit data...
obex Loading commit data...
opengl/java Loading commit data...
packages Loading commit data...
proto Loading commit data...
rs Loading commit data...
samples/training/network-usage Loading commit data...
sax Loading commit data...
services Loading commit data...
telecomm/java Loading commit data...
telephony/java Loading commit data...
test-runner Loading commit data...
tests Loading commit data...
tools Loading commit data...
vr Loading commit data...
wifi Loading commit data...
Android.bp Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
MODULE_LICENSE_APACHE2 Loading commit data...
NOTICE Loading commit data...
PREUPLOAD.cfg Loading commit data...
pathmap.mk Loading commit data...