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
Change-Id: Ia7d200bfd4d4565971701048b1c469a6633edeb4
This commit is contained in:
Amit Mahajan
2020-10-21 12:32:59 -07:00
parent 55b11b16c1
commit 1530a593ea

View File

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