Skip to content

Commit 6b5b42a

Browse files
authored
Deprecate active broker pkg name get API (#2171)
Related Broker PR AzureAD/ad-accounts-for-android#2934
1 parent a116aca commit 6b5b42a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

msal/src/main/java/com/microsoft/identity/client/PublicClientApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2564,10 +2564,12 @@ public boolean isValidBrokerPackage(@NonNull final Context context,
25642564
/**
25652565
* Returns active name of the broker app.
25662566
* NOTE: Expose to Company Portal for telemetry purpose.
2567+
* This method will be removed. Use BrokerAppsApi.getInstance(context).getActiveBrokerPackageName() method instead.
25672568
*
25682569
* @param context application context.
25692570
* @return active broker package name. Null if active broker isn't installed.
25702571
**/
2572+
@Deprecated
25712573
@Nullable
25722574
public String getActiveBrokerPackageName(@NonNull final Context context) {
25732575
final BrokerData activeBroker = BrokerDiscoveryClientFactory.getInstanceForClientSdk(context,

0 commit comments

Comments
 (0)