Create a new GTS test for logcat dialog content validation
Create a test app to trigger the logcat dialog (per-use prompt). The GTS test uses UiAutomator to fetch the title and body, then compares against reference strings in SystemUI resources. Bug: 244173032 Test: atest GtsReadLogStringTest Change-Id: I1ca1777dc2640dbab7b089b0795b44e3d1b3d6ee
This commit is contained in:
@@ -66,6 +66,24 @@ filegroup {
|
||||
],
|
||||
}
|
||||
|
||||
//Create a library to expose SystemUI's resources to other modules.
|
||||
android_library {
|
||||
name: "SystemUI-res",
|
||||
resource_dirs: [
|
||||
"res-product",
|
||||
"res-keyguard",
|
||||
"res",
|
||||
],
|
||||
static_libs: [
|
||||
"SystemUISharedLib",
|
||||
"SettingsLib",
|
||||
"androidx.leanback_leanback",
|
||||
"androidx.slice_slice-core",
|
||||
"androidx.slice_slice-view",
|
||||
],
|
||||
manifest: "AndroidManifest-res.xml",
|
||||
}
|
||||
|
||||
android_library {
|
||||
name: "SystemUI-core",
|
||||
srcs: [
|
||||
|
||||
19
packages/SystemUI/AndroidManifest-res.xml
Normal file
19
packages/SystemUI/AndroidManifest-res.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (C) 2022 Google Inc.
|
||||
*
|
||||
* 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 package= "com.android.systemui.res">
|
||||
<application/>
|
||||
</manifest>
|
||||
Reference in New Issue
Block a user