commit | 55bf2e77d4e54b0eee00e28bbd12bba1c3ab7730 | [log] [tgz] |
---|---|---|
author | Yabin Huang <yabinh@google.com> | Fri Jun 25 16:15:37 2021 -0700 |
committer | Yabin Huang <yabinh@google.com> | Fri Jun 25 16:16:01 2021 -0700 |
tree | 07b9563d344b937da0cd4a98a1e6f3312df4e41a | |
parent | 63a1c177ecb2dec75f689005911f82d6634fbe29 [diff] |
Specify FLAG_IMMUTABLE when creating PendingIntent Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. So this CL uses FLAG_IMMUTABLE to create the PendingIntent because the flag is recommended in most cases. Bug: 192103710 Test: manual Change-Id: I2ab79dc4a0e6279676135a34ee8230190cbdd27e