Simplify the logic of how we initialize the brightness backends

Authored by bshah on May 27 2017, 9:54 AM.

Description

Simplify the logic of how we initialize the brightness backends

Instead of going over massive if-else ladder, initialize them all first
and then query which one is supported, also reduce the code duplication
of brightness animation initialization.

Details

Committed
bshahMay 27 2017, 9:54 AM
Parents
R122:dd970d64c5f0: Simplify code related to brightnessAnimation
Branches
Unknown
Tags
Unknown