This CL implements the People UI using Jetpack Compose. Note that this implementation won't be used by SystemUI yet, and can only be viewed using the SystemUIGallery app at the moment. Once ag/19500380 is submitted (blocked by b/236146570), the screenshot tests will use the Compose implementation. You can see the visual difference between the implementations in ag/19498514. As explained in b/238993727#comment10 the result is slightly different (and improved over the current View implementation). Note that the fake values of this screen have been moved from the current PeopleSpaceScreenshotTest, and are now reused there as well (see ag/19568794). Bug: 238993727 Test: atest SystemUIGoogleScreenshotTests Change-Id: I4d2f241ccf768ef3fccc01ce196418ce7fc26492
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
// Copyright (C) 2022 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.
|
|
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_base_packages_SystemUI_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["frameworks_base_packages_SystemUI_license"],
|
|
}
|
|
|
|
android_library {
|
|
name: "SystemUIComposeFeatures",
|
|
manifest: "AndroidManifest.xml",
|
|
|
|
srcs: [
|
|
"src/**/*.kt",
|
|
],
|
|
|
|
static_libs: [
|
|
"SystemUI-core",
|
|
"SystemUIComposeCore",
|
|
|
|
"androidx.compose.runtime_runtime",
|
|
"androidx.compose.material3_material3",
|
|
],
|
|
|
|
kotlincflags: ["-Xjvm-default=all"],
|
|
}
|