This is the first step to create another new window for status bar. Small window => TYPE_STATUS_BAR: The bar on top of screen. Large window => TYPE_NOTIFICATION_SHADE: Anything else. Bug: 136993073 Test: build then flash Test: atest WmTests SystemUITests Test: atest RegisterStatusBarResultTest InsetsFlagsTest Manual Test: - Bouncer can show when leave showWhenLocked activity. - StatusBar can show when comes HUN in fullscreen mode. - StatusBar can play enter/leave animation in fullscreen mode. - Able to drag notification panel when bubble/glow existing. - Switch to market launcher, and run above tests. - Drag notification panel from launcher several times and observe it works fine. Change-Id: Id9f72cd0e21f01b50d57f02ea60f97c6460926b7
33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
**
|
|
** Copyright 2020, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
|
|
<!-- This is the status bar window. -->
|
|
<com.android.systemui.statusbar.phone.StatusBarWindowView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:sysui="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/status_bar_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</com.android.systemui.statusbar.phone.StatusBarWindowView>
|