FileDocCategorySizeDatePackage
PolicyManager.javaAPI DocAndroid 5.1 API2429Thu Mar 12 22:22:44 GMT 2015com.android.internal.policy

PolicyManager

public class PolicyManager extends Object
Custom implementation of PolicyManager that does nothing to run in LayoutLib.

Fields Summary
Constructors Summary
Methods Summary
public static android.view.FallbackEventHandlermakeNewFallbackEventHandler(android.content.Context context)

        return new FallbackEventHandler() {
            @Override
            public void setView(View v) {
            }

            @Override
            public void preDispatchKeyEvent(KeyEvent event) {
            }

            @Override
            public boolean dispatchKeyEvent(KeyEvent event) {
                return false;
            }
        };
    
public static android.view.LayoutInflatermakeNewLayoutInflater(android.content.Context context)

        return new BridgeInflater(context, RenderAction.getCurrentContext().getProjectCallback());
    
public static android.view.WindowmakeNewWindow(android.content.Context context)

        // this will likely crash somewhere beyond so we log it.
        Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
                "Call to PolicyManager.makeNewWindow is not supported", null);
        return null;
    
public static android.view.WindowManagerPolicymakeNewWindowManager()

        // this will likely crash somewhere beyond so we log it.
        Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
                "Call to PolicyManager.makeNewWindowManager is not supported", null);
        return null;