DO NOT MERGE Prevent isEnabled from mutating state am: ff147d5052

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13008998

Change-Id: I8c441d5aac6d3ba8e7295e4d53fa661f0259e940