blob: 7aa5af8b84c560d6a05c8c7cade3b5d1e79a56ee [file] [log] [blame]
Tsung-Mao Fanga12a0d12021-08-25 17:13:19 +08001/*
2 * Copyright (C) 2021 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.android.settings;
18
19import android.app.Application;
20
21import com.android.settings.activityembedding.ActivityEmbeddingRulesController;
22
23/** Settings application which sets up activity embedding rules for the large screen device. */
24public class SettingsApplication extends Application {
25
26 @Override
27 public void onCreate() {
28 super.onCreate();
29
30 final ActivityEmbeddingRulesController controller =
31 new ActivityEmbeddingRulesController(this);
32 controller.initRules();
33 }
34}