1f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell/*
2f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell * Copyright (C) 2012 The Android Open Source Project
3f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell *
4f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell * Licensed under the Apache License, Version 2.0 (the "License");
5f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell * you may not use this file except in compliance with the License.
6f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell * You may obtain a copy of the License at
7f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell *
8f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell *      http://www.apache.org/licenses/LICENSE-2.0
9f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell *
10f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell * Unless required by applicable law or agreed to in writing, software
11f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell * distributed under the License is distributed on an "AS IS" BASIS,
12f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell * See the License for the specific language governing permissions and
14f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell * limitations under the License.
15f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell */
16f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell
17f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powellpackage android.support.v4.content;
18f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell
19f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powellimport android.content.ComponentName;
20f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powellimport android.content.Intent;
21f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell
22f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powellclass IntentCompatHoneycomb {
23bea2fc73637a1d59eb5face20006a27df6893042Adam Powell    public static Intent makeMainActivity(ComponentName mainActivity) {
24bea2fc73637a1d59eb5face20006a27df6893042Adam Powell        return Intent.makeMainActivity(mainActivity);
25bea2fc73637a1d59eb5face20006a27df6893042Adam Powell    }
26bea2fc73637a1d59eb5face20006a27df6893042Adam Powell
27bea2fc73637a1d59eb5face20006a27df6893042Adam Powell    public static Intent makeRestartActivityTask(ComponentName mainActivity) {
28bea2fc73637a1d59eb5face20006a27df6893042Adam Powell        return Intent.makeRestartActivityTask(mainActivity);
29f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell    }
30f19cb1f3facdb9f90ef1b26537ff303eaa3db77dAdam Powell}
31