commit | 6871022d2e8969b3a7838cf653acdb3ba03785c3 | [log] [tgz] |
---|---|---|
author | Jae Seo <jaeseo@google.com> | Fri Oct 02 15:26:05 2015 -0700 |
committer | Jae Seo <jaeseo@google.com> | Fri Oct 02 16:56:51 2015 -0700 |
tree | 3affe5a7b30c98bc4c698c0c136a99582e47ea0d | |
parent | b8d65fef161c7cd4bb06dc97685cf3fb3d6c3e1a [diff] |
MediaRouter: Use a lighter color for the group panel if needed Added a logic to check the contrast between the text and its background in the group volume panel. In case the contrast is insufficient (i.e. < 4.5), generate a 15% lighter color based on the app's primary color and use it instead of the app's dark primary color. Bug: 24336474 Change-Id: I6153335eee5b99400b8694a636e13b389e4fb7ea