During tests, some objects gets created before a previous instance was torn down, causing the listener to get in a bad state. This also simplifies some leak management by not requiring weak-reference wrapper Bug: 490639965 Bug: 490544094 Test: Presubmit Flag: EXEMPT BUGFIX Change-Id: Ide6b926de5dfc9a743c6083652943f1f8529cf38
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
// Copyright (C) 2021 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
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
filegroup {
|
|
name: "launcher3-quickstep-manifest",
|
|
srcs: ["AndroidManifest.xml"],
|
|
}
|
|
|
|
filegroup {
|
|
name: "launcher3-quickstep-robo-src",
|
|
path: "tests/multivalentTests",
|
|
srcs: [
|
|
"tests/multivalentTests/src/**/*.aidl",
|
|
"tests/multivalentTests/src/**/*.java",
|
|
"tests/multivalentTests/src/**/*.kt",
|
|
],
|
|
}
|
|
|
|
filegroup {
|
|
name: "launcher3-quickstep-tests-src",
|
|
path: "tests",
|
|
srcs: [
|
|
"tests/multivalentTests/src/**/*.aidl",
|
|
"tests/multivalentTests/src/**/*.java",
|
|
"tests/multivalentTests/src/**/*.kt",
|
|
"tests/src/**/*.java",
|
|
"tests/src/**/*.kt",
|
|
],
|
|
}
|
|
|
|
filegroup {
|
|
name: "launcher3-quickstep-screenshot-tests-src",
|
|
path: "tests/multivalentScreenshotTests",
|
|
srcs: [
|
|
"tests/multivalentScreenshotTests/src/**/*.kt",
|
|
],
|
|
}
|