From e525bae92591932e32e84da31532fdd34945ea1d Mon Sep 17 00:00:00 2001 From: Bookatz Date: Tue, 21 May 2019 14:06:21 -0700 Subject: [PATCH] Fix multiuser.UserLifecycleTests dummy app The dummy app (used in managedProfileUnlockAndLaunchApp and managedProfileCreateUnlockInstallAndLaunchApp) wasn't compiling properly, so we fix that here. Test: atest multiuser.UserLifecycleTests#managedProfileUnlockAndLaunchApp Test: atest multiuser.UserLifecycleTests#managedProfileCreateUnlockInstallAndLaunchApp Change-Id: I3456824e2d31c6f2d2f9f6b892703a02c141d91c --- .../multiuser/apps/dummyapp/Android.bp | 21 +++++++++++++++ .../multiuser/apps/dummyapp/Android.mk | 26 ------------------- 2 files changed, 21 insertions(+), 26 deletions(-) create mode 100644 apct-tests/perftests/multiuser/apps/dummyapp/Android.bp delete mode 100644 apct-tests/perftests/multiuser/apps/dummyapp/Android.mk diff --git a/apct-tests/perftests/multiuser/apps/dummyapp/Android.bp b/apct-tests/perftests/multiuser/apps/dummyapp/Android.bp new file mode 100644 index 0000000000000..73b2a0143e5b8 --- /dev/null +++ b/apct-tests/perftests/multiuser/apps/dummyapp/Android.bp @@ -0,0 +1,21 @@ +// Copyright (C) 2019 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. + +android_test_helper_app { + name: "PerftestMultiuserDummyApp", + + srcs: ["src/**/*.java"], + + sdk_version: "test_current", +} diff --git a/apct-tests/perftests/multiuser/apps/dummyapp/Android.mk b/apct-tests/perftests/multiuser/apps/dummyapp/Android.mk deleted file mode 100644 index 31e799ede3c7f..0000000000000 --- a/apct-tests/perftests/multiuser/apps/dummyapp/Android.mk +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (C) 2019 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. - -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_SDK_VERSION := current -LOCAL_MIN_SDK_VERSION := 19 - -LOCAL_PACKAGE_NAME := PerftestMultiuserDummyApp - -LOCAL_SRC_FILES := $(call all-java-files-under, src) - -include $(BUILD_PACKAGE) \ No newline at end of file