summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Ibrahim Yilmaz <iyz@google.com> 2023-01-27 16:00:58 +0000
committer Ibrahim Yilmaz <iyz@google.com> 2023-02-07 15:19:57 +0000
commit1eda1ef91395e5b8529f6f9444d2897abd99d4dd (patch)
treef6be4b7d0885389f5eba2d0cdfdd328ba2256dfb /wifi/java/src
parent663be784e9b3e0d8322e0c12a2a9f6fabbb12416 (diff)
Fix disabled state of CallStyle buttons to make them look/act disabled
TLDR; Call Style Buttons does not seem disabled when they dont have intent. In Android Notifications, Button's enabled state is coupled with the action intent. It means when there is an intent, the button is enabled. Otherwise, it is disabled. We are handling this for normal action button by creating specific layout for disabled view but not for emphasized buttons. We follow the similar approach here to mitigate this visual issue. Bug: 265021861 Test: We can verify the change by observing visual effect on the Call Style Notification. Change-Id: I2427f613e6051bf887dfe99c6caead1521b1e661
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions