commit | 6f7d23a5039e20e13180a6dc0f1bcfb8fd76b8b7 | [log] [tgz] |
---|---|---|
author | Yabin Huang <[email protected]> | Fri Jun 25 16:20:23 2021 -0700 |
committer | Yabin Huang <[email protected]> | Fri Jun 25 16:20:23 2021 -0700 |
tree | eb245a3f4bd1ee407d13573318e21184366c3f71 | |
parent | 8c7ce10080f2fd369327100e22a89f5bccaf0227 [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: I4c9076e10ee6a6227ae9daea1e2f2ad3363671b8