Mark deleteMessageFromIcc() as @UnsupportedAppUsage.

The API was exposed in ag/9766884 but reverted in ag/10665971. However
with the revert the annotation was not added back.

Test: TH
Bug: 159022482
Merged-in: Ia7d200bfd4d4565971701048b1c469a6633edeb4
Change-Id: Ia7d200bfd4d4565971701048b1c469a6633edeb4
(cherry picked from commit 1530a593ea)
This commit is contained in:
Amit Mahajan
2020-10-21 12:32:59 -07:00
parent 85ddb70500
commit 2f67b1839d

View File

@@ -1721,6 +1721,7 @@ public final class SmsManager {
*
* {@hide}
*/
@UnsupportedAppUsage
@RequiresPermission(Manifest.permission.ACCESS_MESSAGES_ON_ICC)
public boolean deleteMessageFromIcc(int messageIndex) {
boolean success = false;