Initial checkin.
Match proper sensor and log its readings
Suppress a bogus 30k lux value
Extract magic constants
Add a comment with references to the original methods being hooked
Replace bogus readings with a moving average
Filter 30k <-> zero lux drops as well
Add a bit of fairness in this world
Split filtering algo and xposed hook logic
Filter now accepts some parameters