127aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn/*
227aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn * Copyright (C) 2011 The Android Open Source Project
327aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn *
427aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn * Licensed under the Apache License, Version 2.0 (the "License");
527aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn * you may not use this file except in compliance with the License.
627aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn * You may obtain a copy of the License at
727aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn *
827aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn *      http://www.apache.org/licenses/LICENSE-2.0
927aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn *
1027aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn * Unless required by applicable law or agreed to in writing, software
1127aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn * distributed under the License is distributed on an "AS IS" BASIS,
1227aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1327aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn * See the License for the specific language governing permissions and
1427aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn * limitations under the License.
1527aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn */
1627aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn
171935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganovpackage android.support.v4.content.pm;
1827aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn
1927aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn/**
200574ca37da4619afe4e26753f5a1b4de314b6565Svetoslav Ganov * Helper for accessing features in {@link android.content.pm.ActivityInfo}
210574ca37da4619afe4e26753f5a1b4de314b6565Svetoslav Ganov * introduced after API level 4 in a backwards compatible fashion.
2227aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn */
2317f0ca51e84eb8d9f70a64e97de1151739a04406Chris Banespublic final class ActivityInfoCompat {
241935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov
251935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov    private ActivityInfoCompat() {
261935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov        /* Hide constructor */
2727aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn    }
281935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov
291935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov    /**
301935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov     * Bit in ActivityInfo#configChanges that indicates that the
311935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov     * activity can itself handle the ui mode. Set from the
321935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov     * {@link android.R.attr#configChanges} attribute.
331935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov     */
341935ed3af7c6545bc38adfdc6026d87a3249222fSvetoslav Ganov    public static final int CONFIG_UI_MODE = 0x0200;
3527aea04b07c1fafa0f815aa4f80374a9e051b41cDianne Hackborn}
36