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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user