Bug 1304145 - 3. Move GeckoService and notification package to Fennec; r=nalexander
authorJim Chen <nchen@mozilla.com>
Thu, 22 Sep 2016 16:38:19 -0400
changeset 314942 d676a611d3ac68dfb398527fae4026629f1b0775
parent 314941 4cffc34944279275900d4489a50011268586cee9
child 314943 6b6d1a72900b72cbc7c7b2142c1e0140c6d3ab28
push id82024
push usernchen@mozilla.com
push dateThu, 22 Sep 2016 20:38:38 +0000
treeherdermozilla-inbound@4ead4233329b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1304145
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1304145 - 3. Move GeckoService and notification package to Fennec; r=nalexander GeckoService and the notification package have some interdependencies, so if we want to move the notification package, we have to move GeckoService also. With that said, it's good to move GeckoService in any case, because it's a Fennec component just like GeckoApp.
mobile/android/base/java/org/mozilla/gecko/GeckoService.java
mobile/android/base/java/org/mozilla/gecko/notifications/AppNotificationClient.java
mobile/android/base/java/org/mozilla/gecko/notifications/NotificationClient.java
mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHandler.java
mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHelper.java
mobile/android/base/java/org/mozilla/gecko/notifications/NotificationReceiver.java
mobile/android/base/java/org/mozilla/gecko/notifications/NotificationService.java
mobile/android/base/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java
mobile/android/base/moz.build
mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoService.java
mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/AppNotificationClient.java
mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationClient.java
mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHandler.java
mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHelper.java
mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationReceiver.java
mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationService.java
mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java
rename from mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoService.java
rename to mobile/android/base/java/org/mozilla/gecko/GeckoService.java
rename from mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/AppNotificationClient.java
rename to mobile/android/base/java/org/mozilla/gecko/notifications/AppNotificationClient.java
rename from mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationClient.java
rename to mobile/android/base/java/org/mozilla/gecko/notifications/NotificationClient.java
rename from mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHandler.java
rename to mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHandler.java
rename from mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationHelper.java
rename to mobile/android/base/java/org/mozilla/gecko/notifications/NotificationHelper.java
rename from mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationReceiver.java
rename to mobile/android/base/java/org/mozilla/gecko/notifications/NotificationReceiver.java
rename from mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/NotificationService.java
rename to mobile/android/base/java/org/mozilla/gecko/notifications/NotificationService.java
rename from mobile/android/geckoview/src/main/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java
rename to mobile/android/base/java/org/mozilla/gecko/notifications/ServiceNotificationClient.java
--- a/mobile/android/base/moz.build
+++ b/mobile/android/base/moz.build
@@ -224,17 +224,16 @@ gvjar.sources += [geckoview_source_dir +
     'GeckoEditableClient.java',
     'GeckoEditableListener.java',
     'GeckoHalDefines.java',
     'GeckoInputConnection.java',
     'GeckoNetworkManager.java',
     'GeckoProfile.java',
     'GeckoProfileDirectories.java',
     'GeckoScreenOrientation.java',
-    'GeckoService.java',
     'GeckoSharedPrefs.java',
     'GeckoSmsManager.java',
     'GeckoThread.java',
     'GeckoView.java',
     'GeckoViewChrome.java',
     'GeckoViewContent.java',
     'GeckoViewFragment.java',
     'gfx/Axis.java',
@@ -265,23 +264,16 @@ gvjar.sources += [geckoview_source_dir +
     'gfx/SimpleScaleGestureDetector.java',
     'gfx/StackScroller.java',
     'gfx/SubdocumentScrollHelper.java',
     'gfx/SurfaceTextureListener.java',
     'gfx/ViewTransform.java',
     'InputConnectionListener.java',
     'InputMethods.java',
     'NotificationListener.java',
-    'notifications/AppNotificationClient.java',
-    'notifications/NotificationClient.java',
-    'notifications/NotificationHandler.java',
-    'notifications/NotificationHelper.java',
-    'notifications/NotificationReceiver.java',
-    'notifications/NotificationService.java',
-    'notifications/ServiceNotificationClient.java',
     'NSSBridge.java',
     'permissions/PermissionBlock.java',
     'permissions/Permissions.java',
     'permissions/PermissionsHelper.java',
     'PrefsHelper.java',
     'SmsManager.java',
     'sqlite/ByteBufferInputStream.java',
     'sqlite/MatrixBlobCursor.java',
@@ -430,16 +422,17 @@ gbjar.sources += ['java/org/mozilla/geck
     'FormAssistPopup.java',
     'GeckoActivity.java',
     'GeckoActivityStatus.java',
     'GeckoApp.java',
     'GeckoApplication.java',
     'GeckoJavaSampler.java',
     'GeckoMessageReceiver.java',
     'GeckoProfilesProvider.java',
+    'GeckoService.java',
     'GeckoUpdateReceiver.java',
     'GlobalHistory.java',
     'GuestSession.java',
     'health/HealthRecorder.java',
     'health/SessionInformation.java',
     'health/StubbedHealthRecorder.java',
     'home/activitystream/ActivityStream.java',
     'home/activitystream/ActivityStreamHomeFragment.java',
@@ -573,16 +566,23 @@ gbjar.sources += ['java/org/mozilla/geck
     'menu/GeckoMenuItem.java',
     'menu/GeckoSubMenu.java',
     'menu/MenuItemActionBar.java',
     'menu/MenuItemDefault.java',
     'menu/MenuItemSwitcherLayout.java',
     'menu/MenuPanel.java',
     'menu/MenuPopup.java',
     'MotionEventInterceptor.java',
+    'notifications/AppNotificationClient.java',
+    'notifications/NotificationClient.java',
+    'notifications/NotificationHandler.java',
+    'notifications/NotificationHelper.java',
+    'notifications/NotificationReceiver.java',
+    'notifications/NotificationService.java',
+    'notifications/ServiceNotificationClient.java',
     'notifications/WhatsNewReceiver.java',
     'overlays/OverlayConstants.java',
     'overlays/service/OverlayActionService.java',
     'overlays/service/ShareData.java',
     'overlays/service/sharemethods/AddBookmark.java',
     'overlays/service/sharemethods/SendTab.java',
     'overlays/service/sharemethods/ShareMethod.java',
     'overlays/ui/OverlayDialogButton.java',