19209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright/*
29209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright * Copyright (C) 2015 The Android Open Source Project
39209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright *
49209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright * Licensed under the Apache License, Version 2.0 (the "License");
59209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright * you may not use this file except in compliance with the License.
69209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright * You may obtain a copy of the License at
79209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright *
89209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright *      http://www.apache.org/licenses/LICENSE-2.0
99209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright *
109209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright * Unless required by applicable law or agreed to in writing, software
119209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright * distributed under the License is distributed on an "AS IS" BASIS,
129209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
139209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright * See the License for the specific language governing permissions and
149209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright * limitations under the License.
159209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright */
169209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright
179209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wrightpackage com.android.systemui.keyboard;
189209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright
199209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wrightimport android.app.AlertDialog;
209209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wrightimport android.content.Context;
219209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wrightimport android.view.WindowManager;
229209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright
239209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wrightimport com.android.systemui.R;
249209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wrightimport com.android.systemui.statusbar.phone.SystemUIDialog;
259209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright
269209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wrightpublic class BluetoothDialog extends SystemUIDialog {
279209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright
289209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright    public BluetoothDialog(Context context) {
299209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright        super(context);
309209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright
319209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright        getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
329209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright        setShowForAllUsers(true);
339209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright    }
349209c9cd9a6f779d0d9d86f9b2e368df564fa6bbMichael Wright}
35