Commit af01fe0
Craig Mautner
Fix initial brightness state after startup.
Setting of mInitialAnimation member was assuming that currentValue
member would only be 0 at boot. It also gets set to 0 when the
sensor goes dark. This fix removes mInitialValue reliance on
currentValue.
Fixes bug 6444319.
Change-Id: I27069f1b44f1f727533d34bbecad2e5aeaa7aab81 parent 817a243 commit af01fe0
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2242 | 2242 | | |
2243 | 2243 | | |
2244 | 2244 | | |
2245 | | - | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
2246 | 2248 | | |
2247 | 2249 | | |
2248 | 2250 | | |
| |||
2290 | 2292 | | |
2291 | 2293 | | |
2292 | 2294 | | |
2293 | | - | |
| 2295 | + | |
2294 | 2296 | | |
2295 | 2297 | | |
2296 | 2298 | | |
| |||
2608 | 2610 | | |
2609 | 2611 | | |
2610 | 2612 | | |
2611 | | - | |
| 2613 | + | |
| 2614 | + | |
2612 | 2615 | | |
2613 | 2616 | | |
2614 | 2617 | | |
| |||
0 commit comments