diff --git a/tests/anomaly-tester/Android.mk b/tests/anomaly-tester/Android.mk new file mode 100644 index 00000000000..beb5d69a9e7 --- /dev/null +++ b/tests/anomaly-tester/Android.mk @@ -0,0 +1,16 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE_TAGS := tests + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_PROGUARD_ENABLED := disabled + +LOCAL_PACKAGE_NAME := AnomalyTester + +LOCAL_CERTIFICATE := platform + +LOCAL_USE_AAPT2 := true + +include $(BUILD_PACKAGE) \ No newline at end of file diff --git a/tests/anomaly-tester/AndroidManifest.xml b/tests/anomaly-tester/AndroidManifest.xml new file mode 100644 index 00000000000..b5f50c4573c --- /dev/null +++ b/tests/anomaly-tester/AndroidManifest.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/anomaly-tester/res/layout/activity_main.xml b/tests/anomaly-tester/res/layout/activity_main.xml new file mode 100644 index 00000000000..6977d78370a --- /dev/null +++ b/tests/anomaly-tester/res/layout/activity_main.xml @@ -0,0 +1,27 @@ + + + + + + + \ No newline at end of file diff --git a/tests/anomaly-tester/res/values/strings.xml b/tests/anomaly-tester/res/values/strings.xml new file mode 100644 index 00000000000..99de34e62dd --- /dev/null +++ b/tests/anomaly-tester/res/values/strings.xml @@ -0,0 +1,19 @@ + + + + + AnomalyTester + diff --git a/tests/anomaly-tester/src/com/android/settings/anomaly/tester/AnomalyActivity.java b/tests/anomaly-tester/src/com/android/settings/anomaly/tester/AnomalyActivity.java new file mode 100644 index 00000000000..8628091f8d1 --- /dev/null +++ b/tests/anomaly-tester/src/com/android/settings/anomaly/tester/AnomalyActivity.java @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2017 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 com.android.settings.anomaly.tester; + +import android.app.Activity; +import android.os.Bundle; +import com.android.settings.anomaly.tester.R; + +public class AnomalyActivity extends Activity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + } +}