Skip to content

Commit 1d97763

Browse files
committed
Deprecate method to avoid breaking public API.
1 parent 2727e42 commit 1d97763

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

libs/SalesforceSDK/src/com/salesforce/androidsdk/security/ScreenLockManager.java

+11
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ public class ScreenLockManager {
5252

5353
private long lastLockedTimestamp = 0;
5454

55+
/**
56+
* Stores the mobile policy for the org upon user login.
57+
*
58+
* @param account the newly add account
59+
* @param screenLockRequired if the account requires screen lock or not
60+
*
61+
* @deprecated Timeout is now required. This method will be removed in 11.0.
62+
*/
63+
@Deprecated
64+
public void storeMobilePolicy(UserAccount account, boolean screenLockRequired) { }
65+
5566
/**
5667
* Stores the mobile policy for the org upon user login.
5768
*

0 commit comments

Comments
 (0)