Update display color mode before white balance

White balance status is activated only if
DisplayTransformManager.needsLinearColorMatrix() is true, however
DisplayTransformManager is being updated after
updateDisplayWhiteBalanceStatus is called, causing white balanced
to be stuck in deactivated state when color mode changes.

This patches resolves this issue by updating DisplayTransformManager
before updating white balance status.

Bug: 134122978
Test: Manual because atest
FrameworksServicesTests:ColorDisplayServiceTest has many failing tests
Change-Id: I1dc8a918808cf7c0e0d43ced777ab642d8ba7548
1 file changed