Files
frameworks_base/libs/dream/lowlight/Android.bp
Darrell Shi 54e3ae5836 Implement low light dream library.
This change implements a new library that allows clients to push ambient
light mode updates and set a low light dream as the system dream
component during low light.

Bug: 222529147
Test: atest LowLightDreamManagerTest
Test: on device verify that during low light the system dream component
is set to low light dream, and that the system dream component is
cleared when the ambient light is regular

Change-Id: Ib046f32a83c4bf333ba27eab077caef6cc306d6d
2022-09-01 21:02:24 +00:00

48 lines
1.4 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_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
filegroup {
name: "low_light_dream_lib-sources",
srcs: [
"src/**/*.java",
],
path: "src",
}
android_library {
name: "LowLightDreamLib",
srcs: [
":low_light_dream_lib-sources",
],
resource_dirs: [
"res",
],
static_libs: [
"androidx.arch.core_core-runtime",
"dagger2",
"jsr330",
],
manifest: "AndroidManifest.xml",
plugins: ["dagger2-compiler"],
}