commit | 75f77d6666455e01b69dedda97c61bf36f75bd85 | [log] [tgz] |
---|---|---|
author | Wilson Wu <wilsonwu@google.com> | Thu Jan 13 17:32:41 2022 +0800 |
committer | Wilson Wu <wilsonwu@google.com> | Wed Jan 26 19:09:10 2022 +0800 |
tree | 73f3474467a267ccbf75e8c7867f238ccedce552 | |
parent | 60f0c0d99cf35bc8e8a80f10677ccaa3bd642cc2 [diff] |
Add Notification Permission for T From T, apps need POST_NOTIFICATION permission to send the notification. -. Add the permission into Manifest. -. Request runtime permission when it's needed. Bug: 209479751 Test: Manual test as following steps: 1. Open EditTextVariations at T device. 2. Tap direct reply to send notification. 3. Verify the permission dialog show up. 4. Send the notification if permission granted. Change-Id: Iadae00f635ee556d1d1de9abbb9da0498b4070f1