SF: add boundary check for active config

Make sure that the config specific in backdoor is valid before
calling setActiveConfig.

Bug: 162057236
Test: adb shell service call SurfaceFlinger 1035 i32 100
Change-Id: Icc6e47872cb558e638b54c16779cff6dacdc063f
1 file changed