File tree Expand file tree Collapse file tree
libs/SalesforceSDK/src/com/salesforce/androidsdk Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,11 +314,14 @@ private void updateFromBefore13_0_2() {
314314 PushMessaging .setReRegistrationRequested (true );
315315 }
316316
317- /*
317+ /**
318318 * Migrate any accounts with account_type "com.salesforce.androidsdk" to a unique value.
319- * TODO: Remove this in Mobile SDK 15.0
319+ *
320+ * @deprecated Will be removed in Mobile SDK 15.0.0.
320321 */
321- private void migrateAccountType () {
322+ @ Deprecated
323+ @ SuppressWarnings ("DeprecatedIsStillUsed" )
324+ public void migrateAccountType () {
322325 final String LEGACY_ACCOUNT_TYPE = "com.salesforce.androidsdk" ;
323326 if (SalesforceSDKManager .getInstance ().getAccountType ().equals (LEGACY_ACCOUNT_TYPE )) {
324327 SalesforceSDKLogger .e (TAG , "No app specific account type found. To ensure users " +
Original file line number Diff line number Diff line change 2626 */
2727package com .salesforce .androidsdk .auth ;
2828
29- class LegacyAuthenticatorService extends AuthenticatorService { }
29+ /**
30+ * Android requires service classes to be public. Do not use.
31+ *
32+ * @deprecated This class is used to migrate legacy accounts and will be removed in Mobile SDK 15.0.0.
33+ */
34+ @ Deprecated
35+ @ SuppressWarnings ("DeprecatedIsStillUsed" )
36+ public final class LegacyAuthenticatorService extends AuthenticatorService { }
You can’t perform that action at this time.
0 commit comments