110bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta/* 210bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * Copyright (C) 2014 The Android Open Source Project 310bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * 410bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * Licensed under the Apache License, Version 2.0 (the "License"); 510bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * you may not use this file except in compliance with the License. 610bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * You may obtain a copy of the License at 710bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * 810bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * http://www.apache.org/licenses/LICENSE-2.0 910bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * 1010bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * Unless required by applicable law or agreed to in writing, software 1110bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * distributed under the License is distributed on an "AS IS" BASIS, 1210bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1310bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * See the License for the specific language governing permissions and 1410bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * limitations under the License. 1510bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta */ 1610bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta 1710bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Guptapackage com.android.layoutlib.bridge.android; 1810bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta 1910bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Guptaimport com.android.ide.common.rendering.api.SessionParams; 2010bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta 2110bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta/** 2210bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * This contains all known keys for the {@link SessionParams#getFlag(SessionParams.Key)}. 2310bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * <p/> 2410bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * The IDE has its own copy of this class which may be newer or older than this one. 2510bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * <p/> 2610bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta * Constants should never be modified or removed from this class. 2710bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta */ 2810bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Guptapublic final class SessionParamsFlags { 2910bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta 3010bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta public static final SessionParams.Key<String> FLAG_KEY_ROOT_TAG = 3110bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta new SessionParams.Key<String>("rootTag", String.class); 3210bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta 3310bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta // Disallow instances. 3410bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta private SessionParamsFlags() {} 3510bb1371dca38b5b59f083ee963f7987da6511f2Deepanshu Gupta} 36