Add default IME to Privacy Settings page
This CL adds information about default IMEs set by Device Owner and/or Profile Owners to the Enterprise Privacy Setting page. Test: make RunSettingsRoboTests Bug: 32692748 Change-Id: I9f78ab4792a5a1d444808048ff33e3e20a0483dc
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
package com.android.settings.enterprise;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public interface EnterprisePrivacyFeatureProvider {
|
||||
@@ -37,10 +35,8 @@ public interface EnterprisePrivacyFeatureProvider {
|
||||
* Returns a message informing the user that the device is managed by a Device Owner app. The
|
||||
* message includes a Learn More link that takes the user to the enterprise privacy section of
|
||||
* Settings. If the device is not managed by a Device Owner app, returns {@code null}.
|
||||
*
|
||||
* @param context The context in which to show the enterprise privacy section of Settings
|
||||
*/
|
||||
CharSequence getDeviceOwnerDisclosure(Context context);
|
||||
CharSequence getDeviceOwnerDisclosure();
|
||||
|
||||
/**
|
||||
* Returns the time at which the Device Owner last retrieved security logs, or {@code null} if
|
||||
@@ -86,4 +82,10 @@ public interface EnterprisePrivacyFeatureProvider {
|
||||
* user's managed profile (if any) is wiped, or zero if no such limit is set.
|
||||
*/
|
||||
int getMaximumFailedPasswordsBeforeWipeInManagedProfile();
|
||||
|
||||
/**
|
||||
* Returns the label of the current user's input method if that input method was set by a Device
|
||||
* Owner or Profile Owner in that user. Otherwise, returns {@code null}.
|
||||
*/
|
||||
String getImeLabelIfOwnerSet();
|
||||
}
|
||||
|
Reference in New Issue
Block a user