Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6000632d authored by Darrell Shi's avatar Darrell Shi
Browse files

Move RingBuffer to SystemUICommon.

This change adds a new module SystemUICommon and moves RingBuffer to
it. This is to prepare introducing a new logging library which would
depend on it.

Bug: 276475093
Test: RingBuffer does not have existing tests, so just verified
LogBuffer works correctly on device

Change-Id: Ib71fcf8526021be1ac3fe279210c54cb7d4cd0e6
parent 644791aa
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -156,9 +156,10 @@ android_library {
        "WifiTrackerLib",
        "WifiTrackerLib",
        "WindowManager-Shell",
        "WindowManager-Shell",
        "SystemUIAnimationLib",
        "SystemUIAnimationLib",
        "SystemUICommon",
        "SystemUICustomizationLib",
        "SystemUIPluginLib",
        "SystemUIPluginLib",
        "SystemUISharedLib",
        "SystemUISharedLib",
        "SystemUICustomizationLib",
        "SystemUI-statsd",
        "SystemUI-statsd",
        "SettingsLib",
        "SettingsLib",
        "androidx.core_core-ktx",
        "androidx.core_core-ktx",
+9 −0
Original line number Original line Diff line number Diff line
.idea/
.gradle/
gradle/
build/
gradlew*
local.properties
*.iml
android.properties
buildSrc
 No newline at end of file
+39 −0
Original line number Original line Diff line number Diff line
// Copyright (C) 2023 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: "SystemUICommon",

    srcs: [
        "src/**/*.java",
        "src/**/*.kt",
    ],

    static_libs: [
        "androidx.core_core-ktx",
    ],

    manifest: "AndroidManifest.xml",
    kotlincflags: ["-Xjvm-default=all"],
}
+21 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2023 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.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.systemui.common">

</manifest>
+2 −0
Original line number Original line Diff line number Diff line
darrellshi@google.com
evanlaird@google.com
Loading