From 6e54f5e31f084d2e54a510959f68b89e4d2fdffd Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Wed, 8 Mar 2017 10:47:53 -0800 Subject: [PATCH] Remove deprecated SkyApplication and SkyActivity. (#3464) --- shell/platform/android/BUILD.gn | 4 ---- .../org/domokit/sky/shell/SkyActivity.java | 14 -------------- .../org/domokit/sky/shell/SkyApplication.java | 15 --------------- travis/licenses_golden/licenses_flutter | 2 -- 4 files changed, 35 deletions(-) delete mode 100644 shell/platform/android/org/domokit/sky/shell/SkyActivity.java delete mode 100644 shell/platform/android/org/domokit/sky/shell/SkyApplication.java diff --git a/shell/platform/android/BUILD.gn b/shell/platform/android/BUILD.gn index 5fb22c3b4d7..230ccba4898 100644 --- a/shell/platform/android/BUILD.gn +++ b/shell/platform/android/BUILD.gn @@ -104,10 +104,6 @@ android_library("java") { "io/flutter/view/ResourceExtractor.java", "io/flutter/view/ResourcePaths.java", "io/flutter/view/VsyncWaiter.java", - - # Deprecated classes provided for backwards compatibility - "org/domokit/sky/shell/SkyActivity.java", - "org/domokit/sky/shell/SkyApplication.java", ] deps = [ diff --git a/shell/platform/android/org/domokit/sky/shell/SkyActivity.java b/shell/platform/android/org/domokit/sky/shell/SkyActivity.java deleted file mode 100644 index 40a75413e51..00000000000 --- a/shell/platform/android/org/domokit/sky/shell/SkyActivity.java +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2015 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package org.domokit.sky.shell; - -import io.flutter.app.FlutterActivity; - -/** - * Use io.flutter.app.FlutterActivity instead - * This class should be removed after Feb 2017 - */ -public class SkyActivity extends FlutterActivity { -} diff --git a/shell/platform/android/org/domokit/sky/shell/SkyApplication.java b/shell/platform/android/org/domokit/sky/shell/SkyApplication.java deleted file mode 100644 index ed5b99dfcab..00000000000 --- a/shell/platform/android/org/domokit/sky/shell/SkyApplication.java +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2015 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package org.domokit.sky.shell; - -import io.flutter.app.FlutterApplication; - -/** - * Use io.flutter.app.FlutterActivity instead - * This class should be removed after Feb 2017 - */ -@Deprecated -public class SkyApplication extends FlutterApplication { -} diff --git a/travis/licenses_golden/licenses_flutter b/travis/licenses_golden/licenses_flutter index 585fafd2b78..6f05b2a466f 100644 --- a/travis/licenses_golden/licenses_flutter +++ b/travis/licenses_golden/licenses_flutter @@ -2086,8 +2086,6 @@ FILE: ../../../flutter/shell/platform/android/io/flutter/view/ResourceCleaner.ja FILE: ../../../flutter/shell/platform/android/io/flutter/view/ResourceExtractor.java FILE: ../../../flutter/shell/platform/android/io/flutter/view/ResourcePaths.java FILE: ../../../flutter/shell/platform/android/library_loader.cc -FILE: ../../../flutter/shell/platform/android/org/domokit/sky/shell/SkyActivity.java -FILE: ../../../flutter/shell/platform/android/org/domokit/sky/shell/SkyApplication.java FILE: ../../../flutter/shell/platform/android/platform_view_android.cc FILE: ../../../flutter/shell/platform/android/platform_view_android.h FILE: ../../../flutter/shell/platform/darwin/common/platform_mac.h