Make the BlockSuppressionStatus constructor
As per API feedback, this CL makes the BlockSuppressionStatus
constructor package-private as it's only referenced by
BlockedNumbersManager#getBlockSuppressionStatus.
Bug: 384813637
Flag: EXEMPT update existing API
Test: atest BlockedNumberContractTest
Change-Id: I3165310b2d14d1eb351eff053df4f1ffdfa6b199
diff --git a/core/api/system-current.txt b/core/api/system-current.txt
index d5cb6c0..3e2b0f9 100644
--- a/core/api/system-current.txt
+++ b/core/api/system-current.txt
@@ -12259,7 +12259,6 @@
}
@FlaggedApi("com.android.server.telecom.flags.telecom_mainline_blocked_numbers_manager") public static final class BlockedNumbersManager.BlockSuppressionStatus {
- ctor public BlockedNumbersManager.BlockSuppressionStatus(boolean, long);
method public boolean getIsSuppressed();
method public long getUntilTimestampMillis();
}
diff --git a/core/java/android/provider/BlockedNumbersManager.java b/core/java/android/provider/BlockedNumbersManager.java
index aee396d..a0dc176 100644
--- a/core/java/android/provider/BlockedNumbersManager.java
+++ b/core/java/android/provider/BlockedNumbersManager.java
@@ -357,7 +357,7 @@
*/
private long mUntilTimestampMillis;
- public BlockSuppressionStatus(boolean isSuppressed, long untilTimestampMillis) {
+ BlockSuppressionStatus(boolean isSuppressed, long untilTimestampMillis) {
this.mIsSuppressed = isSuppressed;
this.mUntilTimestampMillis = untilTimestampMillis;
}