commit | 0251ff57595dc6e8ea244a27df7e9e01d61fbd0c | [log] [tgz] |
---|---|---|
author | Yabin Huang <yabinh@google.com> | Fri Jun 25 15:58:25 2021 -0700 |
committer | Yabin Huang <yabinh@google.com> | Fri Jun 25 15:59:47 2021 -0700 |
tree | f9ee545f352c44f448b5fa89f4c25b6f586c8272 | |
parent | e0493a8e60a87816ad43f2c78ca411e1423802cc [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: I5a03b7839fd85ea347f89f076c0f80398e784ade