Add logging for rbc changes
Add logging to changes to activation (ie; on/off). Bug: 208393225 Test: logcat | grep ColorDisplayService Change-Id: I6a1c2c0b70a90e7cf17bf178c078beecd0a86976
This commit is contained in:
@@ -98,6 +98,13 @@ public class ReduceBrightColorsTintController extends TintController {
|
||||
return ColorDisplayManager.isColorTransformAccelerated(context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setActivated(Boolean isActivated) {
|
||||
super.setActivated(isActivated);
|
||||
Slog.i(ColorDisplayService.TAG, (isActivated != null && isActivated)
|
||||
? "Turning on reduce bright colors" : "Turning off reduce bright colors");
|
||||
}
|
||||
|
||||
public int getStrength() {
|
||||
return mStrength;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user