diff options
author | David Herman <davidherman@google.com> | 2015-05-13 14:37:25 -0700 |
---|---|---|
committer | David Herman <davidherman@google.com> | 2015-05-18 16:31:39 -0700 |
commit | 84fc6695e4c711ce87dea778ffce611460d9f8d6 (patch) | |
tree | 4b64e8fcffd254c3cc7d9b61d92155c5e7c36c19 | |
parent | a91444d86eb7524b67282cdc227631333b097830 (diff) | |
download | services-84fc6695e4c711ce87dea778ffce611460d9f8d6.tar.gz |
Removed / updated services to match Greenhouse launch
Pared down our ~20 APIs to 4 that will match the Greenhouse
Google API launch at I/O.
Change-Id: I001b957320f39d00671e3e546892082fcb1a4f88
51 files changed, 6 insertions, 622 deletions
diff --git a/resources/admob/service.xml b/resources/admob/service.xml index 8777424..3fb6af6 100644 --- a/resources/admob/service.xml +++ b/resources/admob/service.xml @@ -2,7 +2,7 @@ <service format="1" category="Ads" - name="Google AdMob" + name="AdMob" description="Lets you monetize your app by showing ads tailored to your users." learnMore="https://developers.google.com/mobile-ads-sdk/" icon="logo_admob_color_2x_web_32dp.png" diff --git a/resources/app_index/logo_play_services_color_2x_web_32dp.png b/resources/app_index/logo_play_services_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index da79a86..0000000 --- a/resources/app_index/logo_play_services_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/app_index/recipe.xml b/resources/app_index/recipe.xml deleted file mode 100644 index 7bbd21b..0000000 --- a/resources/app_index/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-appindexing:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/app_index/service.xml b/resources/app_index/service.xml deleted file mode 100644 index 767498a..0000000 --- a/resources/app_index/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Marketing" - name="App Index" - description="Provides a way for you to notify Google of the deep links in your app and add the index content to Google Search results and autocomplete." - learnMore="https://developers.google.com/app-indexing/webmasters/appindexingapi" - icon="logo_play_services_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/cast/logo_play_services_color_2x_web_32dp.png b/resources/cast/logo_play_services_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index da79a86..0000000 --- a/resources/cast/logo_play_services_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/cast/recipe.xml b/resources/cast/recipe.xml deleted file mode 100644 index 78fcc2b..0000000 --- a/resources/cast/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-cast:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/cast/service.xml b/resources/cast/service.xml deleted file mode 100644 index 5be2fb2..0000000 --- a/resources/cast/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Media" - name="Cast" - description="Allows users to cast your app content to Google cast capable TV screens and audio devices." - learnMore="https://developers.google.com/cast/" - icon="logo_play_services_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/cloud_messaging/logo_gcm_color_2x_web_32dp.png b/resources/cloud_messaging/logo_gcm_color_2x_web_32dp.png Binary files differnew file mode 100644 index 0000000..22fef7c --- /dev/null +++ b/resources/cloud_messaging/logo_gcm_color_2x_web_32dp.png diff --git a/resources/cloud_messaging/logo_play_services_color_2x_web_32dp.png b/resources/cloud_messaging/logo_play_services_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index da79a86..0000000 --- a/resources/cloud_messaging/logo_play_services_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/cloud_messaging/service.xml b/resources/cloud_messaging/service.xml index 6020786..555835b 100644 --- a/resources/cloud_messaging/service.xml +++ b/resources/cloud_messaging/service.xml @@ -2,9 +2,9 @@ <service format="1" category="Notifications" - name="Google Cloud Messaging (GCM)" + name="Google Cloud Messaging" description="Allows you to send and receive data between your server and your users' devices." learnMore="https://developer.android.com/google/gcm/gs.html" - icon="logo_play_services_color_2x_web_32dp.png" + icon="logo_gcm_color_2x_web_32dp.png" execute="recipe.xml"> </service> diff --git a/resources/drive/logo_drive_color_2x_web_32dp.png b/resources/drive/logo_drive_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index 448cebc..0000000 --- a/resources/drive/logo_drive_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/drive/recipe.xml b/resources/drive/recipe.xml deleted file mode 100644 index 394923c..0000000 --- a/resources/drive/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-drive:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/drive/service.xml b/resources/drive/service.xml deleted file mode 100644 index 2e1bf54..0000000 --- a/resources/drive/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Cloud" - name="Google Drive" - description="Provides abstractions for managing file content and metadata from Google Drive cloud storage." - learnMore="https://developers.google.com/drive/android/get-started" - icon="logo_drive_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/fitness/logo_fitness_color_2x_web_32dp.png b/resources/fitness/logo_fitness_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index 54859ee..0000000 --- a/resources/fitness/logo_fitness_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/fitness/recipe.xml b/resources/fitness/recipe.xml deleted file mode 100644 index 938a625..0000000 --- a/resources/fitness/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-fitness:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/fitness/service.xml b/resources/fitness/service.xml deleted file mode 100644 index b518e5c..0000000 --- a/resources/fitness/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Fitness" - name="Google Fit" - description="An open ecosystem that allows you to upload fitness data to a central repository where users can access their data from different devices and apps." - learnMore="https://developers.google.com/fit/android/get-started" - icon="logo_fitness_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/identity/service.xml b/resources/identity/service.xml index 1a06407..f904e51 100644 --- a/resources/identity/service.xml +++ b/resources/identity/service.xml @@ -2,7 +2,7 @@ <service format="1" category="Authentication" - name="Identity" + name="Google Sign-In" description="A secure authentication system that enables your app users to sign in with their Google account." learnMore="https://developers.google.com/identity/sign-in/android/" icon="logo_identity_color_2x_web_32dp.png" diff --git a/resources/maps/logo_maps_color_2x_web_32dp.png b/resources/maps/logo_maps_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index d2589e9..0000000 --- a/resources/maps/logo_maps_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/maps/recipe.xml b/resources/maps/recipe.xml deleted file mode 100644 index 22acb9c..0000000 --- a/resources/maps/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-maps:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/maps/service.xml b/resources/maps/service.xml deleted file mode 100644 index ea14537..0000000 --- a/resources/maps/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="GeoLocation" - name="Maps" - description="Add maps based on Google Maps data to your app." - learnMore="https://developers.google.com/maps/documentation/android/" - icon="logo_maps_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/nearby/logo_play_services_color_2x_web_32dp.png b/resources/nearby/logo_play_services_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index da79a86..0000000 --- a/resources/nearby/logo_play_services_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/nearby/recipe.xml b/resources/nearby/recipe.xml deleted file mode 100644 index 5a97a1a..0000000 --- a/resources/nearby/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-nearby:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/nearby/service.xml b/resources/nearby/service.xml deleted file mode 100644 index e097388..0000000 --- a/resources/nearby/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Games" - name="Google Nearby" - description="Enables your app to easily discover other devices on a local network and connect to each other and exchange messages in real-time for local multiplayer or multi-screen gaming." - learnMore="https://developers.google.com/games/services/android/nearby" - icon="logo_play_services_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/panorama_viewer/logo_play_services_color_2x_web_32dp.png b/resources/panorama_viewer/logo_play_services_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index da79a86..0000000 --- a/resources/panorama_viewer/logo_play_services_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/panorama_viewer/recipe.xml b/resources/panorama_viewer/recipe.xml deleted file mode 100644 index d61892f..0000000 --- a/resources/panorama_viewer/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-panorama:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/panorama_viewer/service.xml b/resources/panorama_viewer/service.xml deleted file mode 100644 index 15f26f0..0000000 --- a/resources/panorama_viewer/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Media" - name="Google Panorama Viewer" - description="Enables apps to display panorama images in a spherical image viewer." - learnMore="http://android-developers.blogspot.com/2012/12/new-google-maps-android-api-now-part-of.html" - icon="logo_play_services_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/play_games/logo_play_games_color_2x_web_32dp.png b/resources/play_games/logo_play_games_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index f37c4e8..0000000 --- a/resources/play_games/logo_play_games_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/play_games/recipe.xml b/resources/play_games/recipe.xml deleted file mode 100644 index 097a8ba..0000000 --- a/resources/play_games/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-games:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/play_games/service.xml b/resources/play_games/service.xml deleted file mode 100644 index 8b229d6..0000000 --- a/resources/play_games/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Games" - name="Play Games Services" - description="Allows you to add achievements, leaderboards, multiplayer support, and other game features to your app." - learnMore="https://developers.google.com/games/services/android/quickstart" - icon="logo_play_games_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/plus/logo_google_plus_color_2x_web_32dp.png b/resources/plus/logo_google_plus_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index da32e9f..0000000 --- a/resources/plus/logo_google_plus_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/plus/recipe.xml b/resources/plus/recipe.xml deleted file mode 100644 index 5e86e14..0000000 --- a/resources/plus/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-plus:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/plus/service.xml b/resources/plus/service.xml deleted file mode 100644 index b0613a3..0000000 --- a/resources/plus/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Authentication" - name="Google+ Sign-In" - description="Use to ease the implementation of your OAuth app authentication flow." - learnMore="https://developers.google.com/+/mobile/android/" - icon="logo_google_plus_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/safety_net/logo_play_services_color_2x_web_32dp.png b/resources/safety_net/logo_play_services_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index da79a86..0000000 --- a/resources/safety_net/logo_play_services_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/safety_net/recipe.xml b/resources/safety_net/recipe.xml deleted file mode 100644 index 8e913a0..0000000 --- a/resources/safety_net/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-safetynet:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/safety_net/service.xml b/resources/safety_net/service.xml deleted file mode 100644 index afc52e1..0000000 --- a/resources/safety_net/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Analytics" - name="SafetyNet" - description="Helps you determine if your app will function properly on a device by analyzing its compatibility with the Android platform specifications." - learnMore="https://developer.android.com/google/play/safetynet/start.html" - icon="logo_play_services_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/resources/wallet/logo_wallet_color_2x_web_32dp.png b/resources/wallet/logo_wallet_color_2x_web_32dp.png Binary files differdeleted file mode 100644 index af7e830..0000000 --- a/resources/wallet/logo_wallet_color_2x_web_32dp.png +++ /dev/null diff --git a/resources/wallet/recipe.xml b/resources/wallet/recipe.xml deleted file mode 100644 index 57f8d67..0000000 --- a/resources/wallet/recipe.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0"?> -<recipe> - <dependency mavenUrl="com.google.android.gms:play-services-wallet:${google.play.version}"/> -</recipe>
\ No newline at end of file diff --git a/resources/wallet/service.xml b/resources/wallet/service.xml deleted file mode 100644 index d4a8b92..0000000 --- a/resources/wallet/service.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<service - format="1" - category="Payments" - name="Google Wallet" - description="Enables your app to access and store payment information so you can sell physical goods." - learnMore="https://developers.google.com/wallet/instant-buy/android/tutorial" - icon="logo_wallet_color_2x_web_32dp.png" - execute="recipe.xml"> -</service> diff --git a/src/com/google/services/GoogleServiceCreators.java b/src/com/google/services/GoogleServiceCreators.java index af1bb54..d4ca9d3 100644 --- a/src/com/google/services/GoogleServiceCreators.java +++ b/src/com/google/services/GoogleServiceCreators.java @@ -41,19 +41,8 @@ public final class GoogleServiceCreators implements DeveloperServiceCreators { return ImmutableSet.of( new AdMobServiceCreator(), new AnalyticsServiceCreator(), - new AppIndexServiceCreator(), - new CastServiceCreator(), new CloudMessagingServiceCreator(), - new DriveServiceCreator(), - new GoogleFitServiceCreator(), - new IdentityServiceCreator(), - new MapsServiceCreator(), - new NearbyServiceCreator(), - new PanoramaViewerServiceCreator(), - new PlayGamesServiceCreator(), - new PlusServiceCreator(), - new SafetyNetServiceCreator(), - new WalletServiceCreator() + new IdentityServiceCreator() ); } } diff --git a/src/com/google/services/creators/AppIndexServiceCreator.java b/src/com/google/services/creators/AppIndexServiceCreator.java deleted file mode 100644 index 1d3c761..0000000 --- a/src/com/google/services/creators/AppIndexServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class AppIndexServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/app_index"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_play_services_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/CastServiceCreator.java b/src/com/google/services/creators/CastServiceCreator.java deleted file mode 100644 index bfc533b..0000000 --- a/src/com/google/services/creators/CastServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class CastServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/cast"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_play_services_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/CloudMessagingServiceCreator.java b/src/com/google/services/creators/CloudMessagingServiceCreator.java index 81e7b55..fdd4ce2 100644 --- a/src/com/google/services/creators/CloudMessagingServiceCreator.java +++ b/src/com/google/services/creators/CloudMessagingServiceCreator.java @@ -30,7 +30,7 @@ public final class CloudMessagingServiceCreator extends DeveloperServiceCreator @NotNull @Override protected String[] getResources() { - return new String[]{"logo_play_services_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; + return new String[]{"logo_gcm_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; } @NotNull diff --git a/src/com/google/services/creators/DriveServiceCreator.java b/src/com/google/services/creators/DriveServiceCreator.java deleted file mode 100644 index fe42d87..0000000 --- a/src/com/google/services/creators/DriveServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class DriveServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/drive"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_drive_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/GoogleFitServiceCreator.java b/src/com/google/services/creators/GoogleFitServiceCreator.java deleted file mode 100644 index d54a673..0000000 --- a/src/com/google/services/creators/GoogleFitServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class GoogleFitServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/fitness"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_fitness_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/MapsServiceCreator.java b/src/com/google/services/creators/MapsServiceCreator.java deleted file mode 100644 index 6ada2c0..0000000 --- a/src/com/google/services/creators/MapsServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class MapsServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/maps"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_maps_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/NearbyServiceCreator.java b/src/com/google/services/creators/NearbyServiceCreator.java deleted file mode 100644 index ed38d72..0000000 --- a/src/com/google/services/creators/NearbyServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class NearbyServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/nearby"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_play_services_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/PanoramaViewerServiceCreator.java b/src/com/google/services/creators/PanoramaViewerServiceCreator.java deleted file mode 100644 index b9ebdab..0000000 --- a/src/com/google/services/creators/PanoramaViewerServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class PanoramaViewerServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/panorama_viewer"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_play_services_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/PlayGamesServiceCreator.java b/src/com/google/services/creators/PlayGamesServiceCreator.java deleted file mode 100644 index adeb7e7..0000000 --- a/src/com/google/services/creators/PlayGamesServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class PlayGamesServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/play_games"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_play_games_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/PlusServiceCreator.java b/src/com/google/services/creators/PlusServiceCreator.java deleted file mode 100644 index 651e7fb..0000000 --- a/src/com/google/services/creators/PlusServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class PlusServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/plus"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_google_plus_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/SafetyNetServiceCreator.java b/src/com/google/services/creators/SafetyNetServiceCreator.java deleted file mode 100644 index ee52737..0000000 --- a/src/com/google/services/creators/SafetyNetServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class SafetyNetServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/safety_net"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_play_services_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} diff --git a/src/com/google/services/creators/WalletServiceCreator.java b/src/com/google/services/creators/WalletServiceCreator.java deleted file mode 100644 index 8770304..0000000 --- a/src/com/google/services/creators/WalletServiceCreator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2015 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.google.services.creators; - -import com.android.tools.idea.structure.services.DeveloperServiceCreator; -import com.android.tools.idea.structure.services.ServiceContext; -import com.google.services.GoogleServiceCreators; -import org.jetbrains.annotations.NotNull; - -public final class WalletServiceCreator extends DeveloperServiceCreator { - @NotNull - @Override - protected String getResourceRoot() { - return "/wallet"; - } - - @NotNull - @Override - protected String[] getResources() { - return new String[]{"logo_wallet_color_2x_web_32dp.png", "recipe.xml", "service.xml"}; - } - - @NotNull - @Override - protected ServiceContext createContext() { - return GoogleServiceCreators.createGoogleServiceContext(); - } -} |