From 5f2b3b520558fe2c2de35f1b9dd2157648b66140 Mon Sep 17 00:00:00 2001 From: Oizaro <98434320+Oizaro@users.noreply.github.com> Date: Sat, 29 Jan 2022 21:23:50 +0100 Subject: [PATCH] Cleanup --- .../android/gms/ads/AdManagerCreator.aidl | 4 - .../internal/IAdvertisingIdService.aidl | 8 - .../internal/AddEventListenerRequest.aidl | 3 - .../drive/internal/AddPermissionRequest.aidl | 3 - .../internal/AuthorizeAccessRequest.aidl | 3 - .../internal/CancelPendingActionsRequest.aidl | 3 - .../ChangeResourceParentsRequest.aidl | 3 - .../drive/internal/ChangeSequenceNumber.aidl | 3 - .../gms/drive/internal/ChangesResponse.aidl | 3 - .../CheckResourceIdsExistRequest.aidl | 3 - ...CloseContentsAndUpdateMetadataRequest.aidl | 3 - .../drive/internal/CloseContentsRequest.aidl | 3 - .../gms/drive/internal/ContentsResponse.aidl | 3 - .../internal/ControlProgressRequest.aidl | 3 - .../drive/internal/CreateContentsRequest.aidl | 3 - .../CreateFileIntentSenderRequest.aidl | 3 - .../gms/drive/internal/CreateFileRequest.aidl | 3 - .../drive/internal/CreateFolderRequest.aidl | 3 - .../drive/internal/DeleteResourceRequest.aidl | 3 - .../DeviceUsagePreferenceResponse.aidl | 3 - .../gms/drive/internal/DisconnectRequest.aidl | 3 - .../internal/DownloadProgressResponse.aidl | 3 - .../gms/drive/internal/DriveIdResponse.aidl | 3 - .../internal/DrivePreferencesResponse.aidl | 3 - .../drive/internal/DriveServiceResponse.aidl | 3 - .../gms/drive/internal/EventResponse.aidl | 3 - .../drive/internal/FetchThumbnailRequest.aidl | 3 - .../internal/FetchThumbnailResponse.aidl | 3 - .../gms/drive/internal/GetChangesRequest.aidl | 3 - .../GetDriveIdFromUniqueIdRequest.aidl | 3 - .../drive/internal/GetMetadataRequest.aidl | 3 - .../drive/internal/GetPermissionsRequest.aidl | 3 - .../internal/GetPermissionsResponse.aidl | 3 - .../gms/drive/internal/IDriveService.aidl | 95 ---- .../internal/IDriveServiceCallbacks.aidl | 48 -- .../gms/drive/internal/IEventCallback.aidl | 7 - .../gms/drive/internal/IRealtimeService.aidl | 5 - .../drive/internal/ListEntriesResponse.aidl | 3 - .../drive/internal/ListParentsRequest.aidl | 3 - .../drive/internal/ListParentsResponse.aidl | 3 - .../drive/internal/LoadRealtimeRequest.aidl | 3 - .../drive/internal/LoadRealtimeResponse.aidl | 3 - .../gms/drive/internal/MetadataResponse.aidl | 3 - .../drive/internal/OpenContentsRequest.aidl | 3 - .../internal/OpenFileIntentSenderRequest.aidl | 3 - .../internal/RealtimeDocumentSyncRequest.aidl | 3 - .../internal/RemoveEventListenerRequest.aidl | 3 - .../internal/RemovePermissionRequest.aidl | 3 - .../drive/internal/ResourceIdSetResponse.aidl | 3 - .../internal/SetDrivePreferencesRequest.aidl | 3 - .../SetFileUploadPreferencesRequest.aidl | 3 - .../internal/SetResourceParentsRequest.aidl | 3 - .../drive/internal/StartStreamSession.aidl | 3 - .../drive/internal/StreamContentsRequest.aidl | 3 - .../drive/internal/StringListResponse.aidl | 3 - .../gms/drive/internal/SyncMoreResponse.aidl | 3 - .../drive/internal/TrashResourceRequest.aidl | 3 - .../internal/UnsubscribeResourceRequest.aidl | 3 - .../internal/UntrashResourceRequest.aidl | 3 - .../drive/internal/UpdateMetadataRequest.aidl | 3 - .../internal/UpdatePermissionRequest.aidl | 3 - .../gms/games/internal/IGamesCallbacks.aidl | 47 -- .../gms/games/internal/IGamesService.aidl | 80 --- .../multiplayer/realtime/RealTimeMessage.aidl | 3 - .../IGooglePlaceDetectionService.aidl | 5 - .../places/internal/IGooglePlacesService.aidl | 5 - .../android/gms/maps/GoogleMapOptions.aidl | 3 - .../ICameraUpdateFactoryDelegate.aidl | 20 - .../maps/internal/ICancelableCallback.aidl | 6 - .../android/gms/maps/internal/ICreator.aidl | 17 - .../gms/maps/internal/IGoogleMapDelegate.aidl | 144 ----- .../gms/maps/internal/IInfoWindowAdapter.aidl | 9 - .../internal/ILocationSourceDelegate.aidl | 4 - .../maps/internal/IMapFragmentDelegate.aidl | 27 - .../gms/maps/internal/IMapViewDelegate.aidl | 23 - .../internal/IOnCameraChangeListener.aidl | 7 - .../maps/internal/IOnCameraIdleListener.aidl | 5 - .../IOnCameraMoveCanceledListener.aidl | 5 - .../maps/internal/IOnCameraMoveListener.aidl | 5 - .../IOnCameraMoveStartedListener.aidl | 5 - .../internal/IOnInfoWindowClickListener.aidl | 7 - .../maps/internal/IOnMapClickListener.aidl | 7 - .../maps/internal/IOnMapLoadedCallback.aidl | 5 - .../internal/IOnMapLongClickListener.aidl | 7 - .../maps/internal/IOnMapReadyCallback.aidl | 7 - .../maps/internal/IOnMarkerClickListener.aidl | 7 - .../maps/internal/IOnMarkerDragListener.aidl | 9 - .../IOnMyLocationButtonClickListener.aidl | 4 - .../internal/IOnMyLocationChangeListener.aidl | 7 - .../maps/internal/IProjectionDelegate.aidl | 11 - .../maps/internal/ISnapshotReadyCallback.aidl | 9 - .../maps/internal/IUiSettingsDelegate.aidl | 25 - .../gms/maps/model/CameraPosition.aidl | 3 - .../android/gms/maps/model/CircleOptions.aidl | 3 - .../gms/maps/model/GroundOverlayOptions.aidl | 3 - .../gms/maps/model/MapStyleOptions.aidl | 3 - .../android/gms/maps/model/MarkerOptions.aidl | 3 - .../gms/maps/model/PolygonOptions.aidl | 3 - .../gms/maps/model/PolylineOptions.aidl | 3 - .../google/android/gms/maps/model/Tile.aidl | 3 - .../gms/maps/model/TileOverlayOptions.aidl | 3 - .../android/gms/maps/model/VisibleRegion.aidl | 3 - .../IBitmapDescriptorFactoryDelegate.aidl | 14 - .../maps/model/internal/ICircleDelegate.aidl | 24 - .../internal/IGroundOverlayDelegate.aidl | 29 - .../maps/model/internal/IMarkerDelegate.aidl | 37 -- .../maps/model/internal/IPolygonDelegate.aidl | 27 - .../model/internal/IPolylineDelegate.aidl | 22 - .../model/internal/ITileOverlayDelegate.aidl | 4 - .../model/internal/ITileProviderDelegate.aidl | 7 - .../android/gms/phenotype/Configurations.aidl | 3 - .../plus/internal/IPlusOneButtonCreator.aidl | 8 - .../android/gms/reminders/AccountState.aidl | 3 - .../CreateReminderOptionsInternal.aidl | 3 - .../gms/reminders/LoadRemindersOptions.aidl | 3 - .../gms/reminders/ReindexDueDatesOptions.aidl | 3 - .../reminders/UpdateRecurrenceOptions.aidl | 3 - .../internal/IRemindersCallbacks.aidl | 17 - .../internal/IRemindersListener.aidl | 5 - .../reminders/internal/IRemindersService.aidl | 37 -- .../model/CustomizedSnoozePresetEntity.aidl | 3 - .../gms/reminders/model/TaskEntity.aidl | 3 - .../gms/reminders/model/TaskIdEntity.aidl | 3 - .../gms/wallet/IsReadyToPayRequest.aidl | 3 - .../gms/wallet/internal/IOwService.aidl | 8 - .../internal/IWalletServiceCallbacks.aidl | 7 - .../idl/CompoundHashParcelable.aidl | 3 - .../connection/idl/ConnectionConfig.aidl | 3 - .../idl/IConnectionAuthTokenProvider.aidl | 7 - .../connection/idl/IGetTokenCallback.aidl | 6 - .../connection/idl/IListenHashProvider.aidl | 11 - .../connection/idl/IPersistentConnection.aidl | 44 -- .../idl/IPersistentConnectionDelegate.aidl | 19 - .../idl/IRequestResultCallback.aidl | 5 - .../connection/idl/RangeParcelable.aidl | 3 - .../android/gms/phenotype/Configurations.aidl | 3 + .../internal/IPhenotypeCallbacks.aidl | 4 +- .../phenotype/internal/IPhenotypeService.aidl | 4 +- .../gms/appdatasearch/CorpusStatus.java | 2 +- .../gms/appdatasearch/PIMEUpdateResponse.java | 2 +- .../gms/appdatasearch/QuerySpecification.java | 2 +- .../gms/appdatasearch/SearchResults.java | 2 +- .../appdatasearch/SuggestSpecification.java | 2 +- .../gms/appdatasearch/SuggestionResults.java | 2 +- .../gms/auth/AccountChangeEventsRequest.java | 2 +- .../gms/auth/AccountChangeEventsResponse.java | 4 +- .../google/android/gms/auth/TokenData.java | 2 +- .../gms/auth/api/credentials/Credential.java | 4 +- .../credentials/CredentialPickerConfig.java | 2 +- .../api/credentials/CredentialRequest.java | 2 +- .../gms/auth/api/credentials/HintRequest.java | 2 +- .../gms/auth/api/credentials/IdToken.java | 2 +- .../gms/auth/api/proxy/ProxyRequest.java | 2 +- .../gms/auth/api/proxy/ProxyResponse.java | 2 +- .../AccountRecoveryGuidanceRequest.java | 2 +- .../dataservice/AccountRemovalRequest.java | 2 +- .../ConfirmCredentialsRequest.java | 2 +- .../firstparty/dataservice/TokenRequest.java | 2 +- .../ConfirmCredentialsWorkflowRequest.java | 2 +- .../firstparty/shared/AccountCredentials.java | 2 +- .../firstparty/shared/AppDescription.java | 2 +- .../firstparty/shared/CaptchaSolution.java | 2 +- .../gms/clearcut/LogEventParcelable.java | 9 +- .../clearcut/internal/PlayLoggerContext.java | 2 +- .../internal/AddEventListenerRequest.java | 23 - .../drive/internal/AddPermissionRequest.java | 23 - .../internal/AuthorizeAccessRequest.java | 23 - .../internal/CancelPendingActionsRequest.java | 23 - .../ChangeResourceParentsRequest.java | 23 - .../drive/internal/ChangeSequenceNumber.java | 23 - .../gms/drive/internal/ChangesResponse.java | 23 - .../CheckResourceIdsExistRequest.java | 23 - ...CloseContentsAndUpdateMetadataRequest.java | 23 - .../drive/internal/CloseContentsRequest.java | 23 - .../gms/drive/internal/ContentsResponse.java | 23 - .../internal/ControlProgressRequest.java | 23 - .../drive/internal/CreateContentsRequest.java | 23 - .../CreateFileIntentSenderRequest.java | 23 - .../gms/drive/internal/CreateFileRequest.java | 23 - .../drive/internal/CreateFolderRequest.java | 23 - .../drive/internal/DeleteResourceRequest.java | 23 - .../DeviceUsagePreferenceResponse.java | 23 - .../gms/drive/internal/DisconnectRequest.java | 23 - .../internal/DownloadProgressResponse.java | 23 - .../gms/drive/internal/DriveIdResponse.java | 23 - .../internal/DrivePreferencesResponse.java | 23 - .../drive/internal/DriveServiceResponse.java | 23 - .../gms/drive/internal/EventResponse.java | 23 - .../drive/internal/FetchThumbnailRequest.java | 23 - .../internal/FetchThumbnailResponse.java | 23 - .../gms/drive/internal/GetChangesRequest.java | 23 - .../GetDriveIdFromUniqueIdRequest.java | 23 - .../drive/internal/GetMetadataRequest.java | 23 - .../drive/internal/GetPermissionsRequest.java | 23 - .../internal/GetPermissionsResponse.java | 23 - .../drive/internal/ListEntriesResponse.java | 23 - .../drive/internal/ListParentsRequest.java | 23 - .../drive/internal/ListParentsResponse.java | 23 - .../drive/internal/LoadRealtimeRequest.java | 23 - .../drive/internal/LoadRealtimeResponse.java | 23 - .../gms/drive/internal/MetadataResponse.java | 23 - .../drive/internal/OpenContentsRequest.java | 23 - .../internal/OpenFileIntentSenderRequest.java | 23 - .../internal/RealtimeDocumentSyncRequest.java | 23 - .../internal/RemoveEventListenerRequest.java | 23 - .../internal/RemovePermissionRequest.java | 23 - .../drive/internal/ResourceIdSetResponse.java | 23 - .../internal/SetDrivePreferencesRequest.java | 23 - .../SetFileUploadPreferencesRequest.java | 23 - .../internal/SetResourceParentsRequest.java | 23 - .../drive/internal/StartStreamSession.java | 23 - .../drive/internal/StreamContentsRequest.java | 23 - .../drive/internal/StringListResponse.java | 23 - .../gms/drive/internal/SyncMoreResponse.java | 23 - .../drive/internal/TrashResourceRequest.java | 23 - .../internal/UnsubscribeResourceRequest.java | 23 - .../internal/UntrashResourceRequest.java | 23 - .../drive/internal/UpdateMetadataRequest.java | 23 - .../internal/UpdatePermissionRequest.java | 23 - .../metadata/internal/MetadataBundle.java | 20 - .../android/gms/fitness/data/DataPoint.java | 20 - .../android/gms/fitness/data/Device.java | 20 - .../android/gms/fitness/data/Field.java | 20 - .../android/gms/fitness/data/Value.java | 20 - .../multiplayer/realtime/RealTimeMessage.java | 74 --- .../android/gms/maps/GoogleMapOptions.java | 166 ------ .../gms/maps/StreetViewPanoramaOptions.java | 20 - .../android/gms/maps/internal/Point.java | 20 - .../gms/maps/model/BitmapDescriptor.java | 38 -- .../gms/maps/model/CameraPosition.java | 249 --------- .../android/gms/maps/model/CircleOptions.java | 221 -------- .../gms/maps/model/GroundOverlayOptions.java | 341 ----------- .../gms/maps/model/MapStyleOptions.java | 44 -- .../android/gms/maps/model/MarkerOptions.java | 342 ----------- .../gms/maps/model/PolygonOptions.java | 150 ----- .../gms/maps/model/PolylineOptions.java | 121 ---- .../maps/model/StreetViewPanoramaCamera.java | 23 - .../maps/model/StreetViewPanoramaLink.java | 23 - .../model/StreetViewPanoramaLocation.java | 23 - .../model/StreetViewPanoramaOrientation.java | 23 - .../google/android/gms/maps/model/Tile.java | 69 --- .../gms/maps/model/TileOverlayOptions.java | 141 ----- .../android/gms/maps/model/TileProvider.java | 41 -- .../android/gms/maps/model/VisibleRegion.java | 67 --- .../android/gms/maps/model/package-info.java | 20 - .../gms/measurement/internal/AppMetadata.java | 2 +- .../internal/ParcelableLoadImageOptions.java | 2 +- .../gms/people/model/AccountMetadata.java | 2 +- .../gms/playlog/internal/LogEvent.java | 2 +- .../gms/plus/internal/PlusCommonExtras.java | 20 - .../gms/plus/internal/PlusSession.java | 20 - .../model/smart_profile/CardsRequest.java | 20 - .../model/smart_profile/CardsResponse.java | 20 - .../PeopleForProfilesRequest.java | 20 - .../PeopleForProfilesResponse.java | 20 - .../android/gms/plus/model/posts/Comment.java | 20 - .../android/gms/plus/model/posts/Post.java | 20 - .../gms/plus/model/posts/Settings.java | 20 - .../android/gms/reminders/AccountState.java | 23 - .../CreateReminderOptionsInternal.java | 23 - .../gms/reminders/LoadRemindersOptions.java | 23 - .../gms/reminders/ReindexDueDatesOptions.java | 23 - .../reminders/UpdateRecurrenceOptions.java | 23 - .../model/CustomizedSnoozePresetEntity.java | 23 - .../gms/reminders/model/TaskEntity.java | 23 - .../gms/reminders/model/TaskIdEntity.java | 23 - .../corpora/GetCorpusStatusRequest.java | 2 +- .../corpora/RequestIndexingRequest.java | 2 +- .../GetCurrentExperimentIdsRequest.java | 2 +- .../GetCurrentExperimentIdsResponse.java | 2 +- .../global/GetGlobalSearchSourcesRequest.java | 2 +- .../GetGlobalSearchSourcesResponse.java | 2 +- .../GetPendingExperimentIdsRequest.java | 2 +- .../GetPendingExperimentIdsResponse.java | 2 +- .../global/SetExperimentIdsRequest.java | 2 +- .../global/SetExperimentIdsResponse.java | 2 +- .../SetIncludeInGlobalSearchRequest.java | 2 +- .../SetIncludeInGlobalSearchResponse.java | 2 +- .../gms/search/queries/QueryResponse.java | 2 +- .../gms/wallet/IsReadyToPayRequest.java | 161 ------ .../gms/wallet/IsReadyToPayResponse.java | 25 - .../android/gms/wallet/WalletConstants.java | 117 ---- .../idl/CompoundHashParcelable.java | 23 - .../connection/idl/ConnectionConfig.java | 23 - .../connection/idl/RangeParcelable.java | 23 - .../android/gms/phenotype/Configuration.java | 2 +- .../android/gms/phenotype/Configurations.java | 2 +- .../gms/phenotype/ExperimentToken.java | 2 +- .../android/gms/phenotype/Flag.java | 2 +- .../gms/phenotype/GenericDimension.java | 2 +- .../org/microg/gms/maps/MapsConstants.java | 40 -- .../android/gms/common/data/DataHolder.java | 2 +- .../android/gms/common/images/WebImage.java | 2 +- .../android/gms/common/api/GoogleApi.java | 2 +- .../android/gms/common/data/DataBuffer.java | 2 +- .../java/org/microg/gms/common/GmsClient.java | 2 +- .../gms/common/MultiConnectionKeeper.java | 2 +- .../gms/common/api/GoogleApiManager.java | 18 +- .../google/android/gms/common/api/Scope.java | 2 +- .../google/android/gms/common/api/Status.java | 2 +- .../common/internal/GetServiceRequest.java | 2 +- .../android/gms/cast/ApplicationMetadata.java | 2 +- .../android/gms/cast/ApplicationStatus.java | 2 +- .../google/android/gms/cast/CastDevice.java | 4 +- .../android/gms/cast/CastDeviceStatus.java | 2 +- .../google/android/gms/cast/JoinOptions.java | 4 +- .../android/gms/cast/LaunchOptions.java | 2 +- .../gms/cast/framework/CastOptions.java | 2 +- .../framework/media/CastMediaOptions.java | 2 +- .../framework/media/NotificationOptions.java | 2 +- .../android/gms/cast/CastRemoteDisplay.java | 8 +- .../java/org/microg/tools/ui/SwitchBar.java | 6 +- play-services-core/proguard-rules.pro | 2 + .../framework/internal/CastContextImpl.java | 10 +- .../framework/internal/CastSessionImpl.java | 6 +- .../internal/DiscoveryManagerImpl.java | 4 +- .../internal/MediaRouterCallbackImpl.java | 2 +- .../cast/framework/internal/SessionImpl.java | 6 +- .../internal/SessionManagerImpl.java | 8 +- .../chimera/container/DynamiteContext.java | 8 +- .../chimera/container/DynamiteModuleInfo.java | 2 +- .../microg/gms/auth/login/LoginActivity.java | 4 +- .../gms/cast/CastDeviceControllerImpl.java | 6 +- .../gms/cast/CastMediaRouteController.java | 6 +- .../gms/cast/CastMediaRouteProvider.java | 6 +- .../microg/gms/checkin/CheckinService.java | 2 +- .../gms/common/ForegroundServiceContext.java | 2 +- .../microg/gms/common/MultiListenerProxy.java | 4 +- .../gms/common/RemoteListenerProxy.java | 4 +- .../java/org/microg/gms/gcm/GcmDatabase.java | 4 +- .../org/microg/gms/gcm/GcmLegacyData.java | 4 +- .../org/microg/gms/gcm/McsInputStream.java | 2 +- .../org/microg/gms/gcm/McsOutputStream.java | 2 +- .../java/org/microg/gms/gcm/McsService.java | 4 +- .../org/microg/gms/gcm/RegisterRequest.java | 2 +- .../gms/gservices/GServicesProvider.java | 4 +- .../org/microg/gms/icing/IndexService.java | 8 +- .../gms/icing/LightweightIndexService.java | 2 +- .../microg/gms/icing/SearchCorporaImpl.java | 2 +- .../GoogleLocationManagerService.java | 2 +- .../gms/location/LocationChangeListener.java | 2 +- .../gms/location/RealLocationProvider.java | 2 +- .../gms/location/ReportingAndroidService.java | 2 +- .../org/microg/gms/people/PeopleService.java | 2 +- .../microg/gms/playlog/PlayLogService.java | 2 +- .../kotlin/org/microg/gms/gcm/GcmPrefs.kt | 6 +- .../microg/gms/phenotype/PhenotypeService.kt | 6 +- .../org/microg/gms/profile/ProfileManager.kt | 1 + .../DeviceRegistrationPreferencesFragment.kt | 6 +- .../ui/PushNotificationAdvancedFragment.kt | 2 + .../PushNotificationAppPreferencesFragment.kt | 2 + .../ui/PushNotificationPreferencesFragment.kt | 2 + .../org/microg/gms/ui/SettingsFragment.kt | 2 +- .../main/kotlin/org/microg/gms/ui/Utils.kt | 32 +- .../microg/gms/utils/PackageManagerWrapper.kt | 529 ------------------ .../location/ActivityRecognitionResult.java | 10 +- .../gms/location/DeviceOrientation.java | 2 +- .../gms/location/LocationAvailability.java | 2 +- .../android/gms/location/LocationRequest.java | 7 +- .../android/gms/location/LocationResult.java | 2 +- .../gms/location/LocationSettingsRequest.java | 4 +- .../gms/location/LocationSettingsResult.java | 4 +- .../gms/location/LocationSettingsStates.java | 14 +- .../android/gms/location/LocationStatus.java | 7 +- .../internal/FusedLocationProviderResult.java | 2 +- .../internal/LocationRequestInternal.java | 2 +- .../location/internal/ParcelableGeofence.java | 2 +- .../location/places/AutocompleteFilter.java | 2 +- .../gms/location/places/UserAddedPlace.java | 2 +- .../location/places/internal/PlaceImpl.java | 2 +- .../places/internal/PlacesParams.java | 2 +- .../google/android/gms/maps/model/LatLng.java | 7 +- .../android/gms/maps/model/LatLngBounds.java | 7 +- .../gms/location/LocationListener.java | 2 +- .../gms/location/LocationClientImpl.java | 2 +- .../location/NativeLocationClientImpl.java | 4 +- .../gms/tasks/CancellationTokenSource.java | 2 +- .../gms/tasks/TaskCompletionSource.java | 2 +- .../android/gms/tasks/TaskExecutors.java | 2 +- .../gms/tasks/CancellationTokenImpl.java | 2 +- .../java/org/microg/gms/tasks/TaskImpl.java | 2 +- .../UpdateListenerLifecycleObserver.java | 4 +- 382 files changed, 227 insertions(+), 6402 deletions(-) delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/ads/AdManagerCreator.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/ads/identifier/internal/IAdvertisingIdService.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AddEventListenerRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AddPermissionRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AuthorizeAccessRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CancelPendingActionsRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangeResourceParentsRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangeSequenceNumber.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangesResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CheckResourceIdsExistRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CloseContentsRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ContentsResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ControlProgressRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateContentsRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFileIntentSenderRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFileRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFolderRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DeleteResourceRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DeviceUsagePreferenceResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DisconnectRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DownloadProgressResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DriveIdResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DrivePreferencesResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DriveServiceResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/EventResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/FetchThumbnailRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/FetchThumbnailResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetChangesRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetDriveIdFromUniqueIdRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetMetadataRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetPermissionsRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetPermissionsResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IDriveService.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IDriveServiceCallbacks.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IEventCallback.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IRealtimeService.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListEntriesResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListParentsRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListParentsResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/LoadRealtimeRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/LoadRealtimeResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/MetadataResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/OpenContentsRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/OpenFileIntentSenderRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RealtimeDocumentSyncRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RemoveEventListenerRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RemovePermissionRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ResourceIdSetResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetDrivePreferencesRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetFileUploadPreferencesRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetResourceParentsRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StartStreamSession.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StreamContentsRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StringListResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SyncMoreResponse.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/TrashResourceRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UnsubscribeResourceRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UntrashResourceRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UpdateMetadataRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UpdatePermissionRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/games/internal/IGamesCallbacks.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/games/internal/IGamesService.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/location/places/internal/IGooglePlaceDetectionService.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/location/places/internal/IGooglePlacesService.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/GoogleMapOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICameraUpdateFactoryDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICancelableCallback.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICreator.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IGoogleMapDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IInfoWindowAdapter.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ILocationSourceDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapFragmentDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapViewDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraChangeListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraIdleListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveCanceledListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveStartedListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnInfoWindowClickListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapClickListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapLoadedCallback.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapLongClickListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapReadyCallback.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMarkerClickListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMarkerDragListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMyLocationButtonClickListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMyLocationChangeListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IProjectionDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ISnapshotReadyCallback.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IUiSettingsDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/CameraPosition.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/CircleOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/GroundOverlayOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/MapStyleOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/MarkerOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/PolygonOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/PolylineOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/Tile.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/TileOverlayOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/VisibleRegion.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IBitmapDescriptorFactoryDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ICircleDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IGroundOverlayDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IMarkerDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IPolygonDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IPolylineDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ITileOverlayDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ITileProviderDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/phenotype/Configurations.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/plus/internal/IPlusOneButtonCreator.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/AccountState.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/CreateReminderOptionsInternal.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/LoadRemindersOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/ReindexDueDatesOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/UpdateRecurrenceOptions.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersCallbacks.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersListener.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersService.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/model/CustomizedSnoozePresetEntity.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/model/TaskEntity.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/reminders/model/TaskIdEntity.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/wallet/IsReadyToPayRequest.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/wallet/internal/IOwService.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/android/gms/wallet/internal/IWalletServiceCallbacks.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/CompoundHashParcelable.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/ConnectionConfig.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IConnectionAuthTokenProvider.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IGetTokenCallback.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IListenHashProvider.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IPersistentConnection.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IPersistentConnectionDelegate.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IRequestResultCallback.aidl delete mode 100644 play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/RangeParcelable.aidl create mode 100644 play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/Configurations.aidl rename play-services-api/src/main/aidl/com/{google => mgoogle}/android/gms/phenotype/internal/IPhenotypeCallbacks.aidl (67%) rename play-services-api/src/main/aidl/com/{google => mgoogle}/android/gms/phenotype/internal/IPhenotypeService.aidl (74%) delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/AddEventListenerRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/AddPermissionRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/AuthorizeAccessRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/CancelPendingActionsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangeResourceParentsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangeSequenceNumber.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangesResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/CheckResourceIdsExistRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/CloseContentsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/ContentsResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/ControlProgressRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateContentsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFileIntentSenderRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFileRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFolderRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/DeleteResourceRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/DeviceUsagePreferenceResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/DisconnectRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/DownloadProgressResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/DriveIdResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/DrivePreferencesResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/DriveServiceResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/EventResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/FetchThumbnailRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/FetchThumbnailResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/GetChangesRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/GetDriveIdFromUniqueIdRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/GetMetadataRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/GetPermissionsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/GetPermissionsResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/ListEntriesResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/ListParentsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/ListParentsResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/LoadRealtimeRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/LoadRealtimeResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/MetadataResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/OpenContentsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/OpenFileIntentSenderRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/RealtimeDocumentSyncRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/RemoveEventListenerRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/RemovePermissionRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/ResourceIdSetResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/SetDrivePreferencesRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/SetFileUploadPreferencesRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/SetResourceParentsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/StartStreamSession.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/StreamContentsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/StringListResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/SyncMoreResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/TrashResourceRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/UnsubscribeResourceRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/UntrashResourceRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/UpdateMetadataRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/internal/UpdatePermissionRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/drive/metadata/internal/MetadataBundle.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/fitness/data/DataPoint.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/fitness/data/Device.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/fitness/data/Field.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/fitness/data/Value.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/GoogleMapOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/StreetViewPanoramaOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/internal/Point.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/BitmapDescriptor.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/CameraPosition.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/CircleOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/GroundOverlayOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/MapStyleOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/MarkerOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/PolygonOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/PolylineOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaCamera.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaLink.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaLocation.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaOrientation.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/Tile.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/TileOverlayOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/TileProvider.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/VisibleRegion.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/maps/model/package-info.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/plus/internal/PlusCommonExtras.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/plus/internal/PlusSession.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/CardsRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/CardsResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/PeopleForProfilesRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/PeopleForProfilesResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Comment.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Post.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Settings.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/reminders/AccountState.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/reminders/CreateReminderOptionsInternal.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/reminders/LoadRemindersOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/reminders/ReindexDueDatesOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/reminders/UpdateRecurrenceOptions.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/reminders/model/CustomizedSnoozePresetEntity.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/reminders/model/TaskEntity.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/reminders/model/TaskIdEntity.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/wallet/IsReadyToPayRequest.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/wallet/IsReadyToPayResponse.java delete mode 100644 play-services-api/src/main/java/com/google/android/gms/wallet/WalletConstants.java delete mode 100644 play-services-api/src/main/java/com/google/firebase/database/connection/idl/CompoundHashParcelable.java delete mode 100644 play-services-api/src/main/java/com/google/firebase/database/connection/idl/ConnectionConfig.java delete mode 100644 play-services-api/src/main/java/com/google/firebase/database/connection/idl/RangeParcelable.java rename play-services-api/src/main/java/com/{google => mgoogle}/android/gms/phenotype/Configuration.java (90%) rename play-services-api/src/main/java/com/{google => mgoogle}/android/gms/phenotype/Configurations.java (92%) rename play-services-api/src/main/java/com/{google => mgoogle}/android/gms/phenotype/ExperimentToken.java (87%) rename play-services-api/src/main/java/com/{google => mgoogle}/android/gms/phenotype/Flag.java (86%) rename play-services-api/src/main/java/com/{google => mgoogle}/android/gms/phenotype/GenericDimension.java (89%) delete mode 100644 play-services-api/src/main/java/org/microg/gms/maps/MapsConstants.java delete mode 100644 play-services-core/src/main/kotlin/org/microg/gms/utils/PackageManagerWrapper.kt diff --git a/play-services-api/src/main/aidl/com/google/android/gms/ads/AdManagerCreator.aidl b/play-services-api/src/main/aidl/com/google/android/gms/ads/AdManagerCreator.aidl deleted file mode 100644 index 7e07dd01..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/ads/AdManagerCreator.aidl +++ /dev/null @@ -1,4 +0,0 @@ -package com.google.android.gms.ads; - -interface AdManagerCreator { -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/ads/identifier/internal/IAdvertisingIdService.aidl b/play-services-api/src/main/aidl/com/google/android/gms/ads/identifier/internal/IAdvertisingIdService.aidl deleted file mode 100644 index 5f4f5c1f..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/ads/identifier/internal/IAdvertisingIdService.aidl +++ /dev/null @@ -1,8 +0,0 @@ -package com.google.android.gms.ads.identifier.internal; - -interface IAdvertisingIdService { - String getAdvertisingId() = 0; - boolean isAdTrackingLimited(boolean defaultHint) = 1; - String generateAdvertisingId(String packageName) = 2; - void setAdTrackingLimited(String packageName, boolean limited) = 3; -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AddEventListenerRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AddEventListenerRequest.aidl deleted file mode 100644 index 843b1e0a..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AddEventListenerRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable AddEventListenerRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AddPermissionRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AddPermissionRequest.aidl deleted file mode 100644 index ba0f503d..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AddPermissionRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable AddPermissionRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AuthorizeAccessRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AuthorizeAccessRequest.aidl deleted file mode 100644 index 70c19305..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/AuthorizeAccessRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable AuthorizeAccessRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CancelPendingActionsRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CancelPendingActionsRequest.aidl deleted file mode 100644 index 30696de0..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CancelPendingActionsRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable CancelPendingActionsRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangeResourceParentsRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangeResourceParentsRequest.aidl deleted file mode 100644 index dfd43f74..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangeResourceParentsRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable ChangeResourceParentsRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangeSequenceNumber.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangeSequenceNumber.aidl deleted file mode 100644 index 05f32cb3..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangeSequenceNumber.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable ChangeSequenceNumber; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangesResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangesResponse.aidl deleted file mode 100644 index b4107a0e..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ChangesResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable ChangesResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CheckResourceIdsExistRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CheckResourceIdsExistRequest.aidl deleted file mode 100644 index eb7001c0..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CheckResourceIdsExistRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable CheckResourceIdsExistRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest.aidl deleted file mode 100644 index b513f449..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable CloseContentsAndUpdateMetadataRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CloseContentsRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CloseContentsRequest.aidl deleted file mode 100644 index 43536051..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CloseContentsRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable CloseContentsRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ContentsResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ContentsResponse.aidl deleted file mode 100644 index bf226dc0..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ContentsResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable ContentsResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ControlProgressRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ControlProgressRequest.aidl deleted file mode 100644 index 7e330658..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ControlProgressRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable ControlProgressRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateContentsRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateContentsRequest.aidl deleted file mode 100644 index 7c7452f7..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateContentsRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable CreateContentsRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFileIntentSenderRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFileIntentSenderRequest.aidl deleted file mode 100644 index 300d82c6..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFileIntentSenderRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable CreateFileIntentSenderRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFileRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFileRequest.aidl deleted file mode 100644 index be852bc5..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFileRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable CreateFileRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFolderRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFolderRequest.aidl deleted file mode 100644 index a1b7c8f2..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/CreateFolderRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable CreateFolderRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DeleteResourceRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DeleteResourceRequest.aidl deleted file mode 100644 index c8bbef83..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DeleteResourceRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable DeleteResourceRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DeviceUsagePreferenceResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DeviceUsagePreferenceResponse.aidl deleted file mode 100644 index 1b85028b..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DeviceUsagePreferenceResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable DeviceUsagePreferenceResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DisconnectRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DisconnectRequest.aidl deleted file mode 100644 index 22cf3ad1..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DisconnectRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable DisconnectRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DownloadProgressResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DownloadProgressResponse.aidl deleted file mode 100644 index d3ead69d..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DownloadProgressResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable DownloadProgressResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DriveIdResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DriveIdResponse.aidl deleted file mode 100644 index 4655cb3f..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DriveIdResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable DriveIdResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DrivePreferencesResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DrivePreferencesResponse.aidl deleted file mode 100644 index e14152f2..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DrivePreferencesResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable DrivePreferencesResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DriveServiceResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DriveServiceResponse.aidl deleted file mode 100644 index 424c2cac..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/DriveServiceResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable DriveServiceResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/EventResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/EventResponse.aidl deleted file mode 100644 index 0f748bb9..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/EventResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable EventResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/FetchThumbnailRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/FetchThumbnailRequest.aidl deleted file mode 100644 index 06b38bd8..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/FetchThumbnailRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable FetchThumbnailRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/FetchThumbnailResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/FetchThumbnailResponse.aidl deleted file mode 100644 index 022ffda3..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/FetchThumbnailResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable FetchThumbnailResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetChangesRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetChangesRequest.aidl deleted file mode 100644 index 8992b053..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetChangesRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable GetChangesRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetDriveIdFromUniqueIdRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetDriveIdFromUniqueIdRequest.aidl deleted file mode 100644 index 821aefb5..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetDriveIdFromUniqueIdRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable GetDriveIdFromUniqueIdRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetMetadataRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetMetadataRequest.aidl deleted file mode 100644 index 9d1a31b9..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetMetadataRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable GetMetadataRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetPermissionsRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetPermissionsRequest.aidl deleted file mode 100644 index ae706840..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetPermissionsRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable GetPermissionsRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetPermissionsResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetPermissionsResponse.aidl deleted file mode 100644 index 845d8325..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/GetPermissionsResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable GetPermissionsResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IDriveService.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IDriveService.aidl deleted file mode 100644 index a1e2e085..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IDriveService.aidl +++ /dev/null @@ -1,95 +0,0 @@ -package com.google.android.gms.drive.internal; - -import com.google.android.gms.drive.internal.DriveServiceResponse; -import com.google.android.gms.drive.internal.IDriveServiceCallbacks; -import com.google.android.gms.drive.internal.IEventCallback; - -import com.google.android.gms.drive.internal.AddEventListenerRequest; -import com.google.android.gms.drive.internal.AddPermissionRequest; -import com.google.android.gms.drive.internal.AuthorizeAccessRequest; -import com.google.android.gms.drive.internal.CancelPendingActionsRequest; -import com.google.android.gms.drive.internal.ChangeResourceParentsRequest; -import com.google.android.gms.drive.internal.CheckResourceIdsExistRequest; -import com.google.android.gms.drive.internal.CloseContentsAndUpdateMetadataRequest; -import com.google.android.gms.drive.internal.CloseContentsRequest; -import com.google.android.gms.drive.internal.ControlProgressRequest; -import com.google.android.gms.drive.internal.CreateContentsRequest; -import com.google.android.gms.drive.internal.CreateFileRequest; -import com.google.android.gms.drive.internal.CreateFileIntentSenderRequest; -import com.google.android.gms.drive.internal.CreateFolderRequest; -import com.google.android.gms.drive.internal.DeleteResourceRequest; -import com.google.android.gms.drive.internal.DisconnectRequest; -import com.google.android.gms.drive.internal.FetchThumbnailRequest; -import com.google.android.gms.drive.internal.GetChangesRequest; -import com.google.android.gms.drive.internal.GetDriveIdFromUniqueIdRequest; -import com.google.android.gms.drive.internal.GetMetadataRequest; -import com.google.android.gms.drive.internal.GetPermissionsRequest; -import com.google.android.gms.drive.internal.ListParentsRequest; -import com.google.android.gms.drive.internal.LoadRealtimeRequest; -import com.google.android.gms.drive.internal.OpenContentsRequest; -import com.google.android.gms.drive.internal.OpenFileIntentSenderRequest; -import com.google.android.gms.drive.internal.RealtimeDocumentSyncRequest; -import com.google.android.gms.drive.internal.RemoveEventListenerRequest; -import com.google.android.gms.drive.internal.RemovePermissionRequest; -import com.google.android.gms.drive.internal.SetDrivePreferencesRequest; -import com.google.android.gms.drive.internal.SetFileUploadPreferencesRequest; -import com.google.android.gms.drive.internal.SetResourceParentsRequest; -import com.google.android.gms.drive.internal.StreamContentsRequest; -import com.google.android.gms.drive.internal.TrashResourceRequest; -import com.google.android.gms.drive.internal.UnsubscribeResourceRequest; -import com.google.android.gms.drive.internal.UntrashResourceRequest; -import com.google.android.gms.drive.internal.UpdateMetadataRequest; -import com.google.android.gms.drive.internal.UpdatePermissionRequest; - -interface IDriveService { - void getMetadata(in GetMetadataRequest request, IDriveServiceCallbacks callbacks) = 0; - - void updateMetadata(in UpdateMetadataRequest request, IDriveServiceCallbacks callbacks) = 2; - void createContents(in CreateContentsRequest request, IDriveServiceCallbacks callbacks) = 3; - void createFile(in CreateFileRequest request, IDriveServiceCallbacks callbacks) = 4; - void createFolder(in CreateFolderRequest request, IDriveServiceCallbacks callbacks) = 5; - DriveServiceResponse openContents(in OpenContentsRequest request, IDriveServiceCallbacks callbacks) = 6; - void closeContents(in CloseContentsRequest request, IDriveServiceCallbacks callbacks) = 7; - void requestSync(IDriveServiceCallbacks callbacks) = 8; - IntentSender openFileIntentSender(in OpenFileIntentSenderRequest request) = 9; - IntentSender createFileIntentSender(in CreateFileIntentSenderRequest request) = 10; - void authorizeAccess(in AuthorizeAccessRequest request, IDriveServiceCallbacks callbacks) = 11; - void listParents(in ListParentsRequest request, IDriveServiceCallbacks callbacks) = 12; - void addEventListener(in AddEventListenerRequest request, IEventCallback callback, String unused, IDriveServiceCallbacks callbacks) = 13; - void removeEventListener(in RemoveEventListenerRequest request, IEventCallback callback, String unused, IDriveServiceCallbacks callbacks) = 14; - void disconnect(in DisconnectRequest request) = 15; - void trashResource(in TrashResourceRequest request, IDriveServiceCallbacks callbacks) = 16; - void closeContentsAndUpdateMetadata(in CloseContentsAndUpdateMetadataRequest request, IDriveServiceCallbacks callbacks) = 17; - - void deleteResource(in DeleteResourceRequest request, IDriveServiceCallbacks callbacks) = 23; - - void loadRealtime(in LoadRealtimeRequest request, IDriveServiceCallbacks callbacks) = 26; - void setResourceParents(in SetResourceParentsRequest request, IDriveServiceCallbacks callbacks) = 27; - void getDriveIdFromUniqueId(in GetDriveIdFromUniqueIdRequest request, IDriveServiceCallbacks callbacks) = 28; - void checkResourceIdsExist(in CheckResourceIdsExistRequest request, IDriveServiceCallbacks callbacks) = 29; - void completePendingAction(IDriveServiceCallbacks callbacks) = 30; - void getDrivePreferences(IDriveServiceCallbacks callbacks) = 31; - void setDrivePreferences(in SetDrivePreferencesRequest request, IDriveServiceCallbacks callbacks) = 32; - void realtimeDocumentSync(in RealtimeDocumentSyncRequest request, IDriveServiceCallbacks callbacks) = 33; - void getDeviceUsagePreferences(IDriveServiceCallbacks callbacks) = 34; - void setFileUploadPreferences(in SetFileUploadPreferencesRequest request, IDriveServiceCallbacks callbacks) = 35; - void cancelPendingActions(in CancelPendingActionsRequest request, IDriveServiceCallbacks callbacks) = 36; - void untrashResource(in UntrashResourceRequest request, IDriveServiceCallbacks callbacks) = 37; - - void isAutoBackupEnabled(IDriveServiceCallbacks callbacks) = 40; - void fetchThumbnail(in FetchThumbnailRequest request, IDriveServiceCallbacks callbacks) = 41; - - void getChanges(in GetChangesRequest request, IDriveServiceCallbacks callbacks) = 43; - - void unsubscribeResource(in UnsubscribeResourceRequest request, IDriveServiceCallbacks callbacks) = 45; - void getPermissions(in GetPermissionsRequest request, IDriveServiceCallbacks callbacks) = 46; - void addPermission(in AddPermissionRequest request, IDriveServiceCallbacks callbacks) = 47; - void updatePermission(in UpdatePermissionRequest request, IDriveServiceCallbacks callbacks) = 48; - void removePermission(in RemovePermissionRequest request, IDriveServiceCallbacks callbacks) = 49; - - void removeQueryResultListener(IEventCallback callback, IDriveServiceCallbacks callbacks) = 51; - void controlProgress(in ControlProgressRequest request, IDriveServiceCallbacks callbacks) = 52; - - void changeResourceParents(in ChangeResourceParentsRequest request, IDriveServiceCallbacks callbacks) = 54; - DriveServiceResponse streamContents(in StreamContentsRequest request, IDriveServiceCallbacks callbacks) = 55; -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IDriveServiceCallbacks.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IDriveServiceCallbacks.aidl deleted file mode 100644 index 6fa1b204..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IDriveServiceCallbacks.aidl +++ /dev/null @@ -1,48 +0,0 @@ -package com.google.android.gms.drive.internal; - -import com.google.android.gms.drive.internal.IRealtimeService; - -import com.google.android.gms.drive.internal.DownloadProgressResponse; -import com.google.android.gms.drive.internal.ListEntriesResponse; -import com.google.android.gms.drive.internal.DriveIdResponse; -import com.google.android.gms.drive.internal.MetadataResponse; -import com.google.android.gms.drive.internal.ContentsResponse; -import com.google.android.gms.drive.internal.ListParentsResponse; -import com.google.android.gms.drive.internal.SyncMoreResponse; -import com.google.android.gms.drive.internal.LoadRealtimeResponse; -import com.google.android.gms.drive.internal.ResourceIdSetResponse; -import com.google.android.gms.drive.internal.DrivePreferencesResponse; -import com.google.android.gms.drive.internal.DeviceUsagePreferenceResponse; -import com.google.android.gms.drive.internal.FetchThumbnailResponse; -import com.google.android.gms.drive.internal.ChangeSequenceNumber; -import com.google.android.gms.drive.internal.ChangesResponse; -import com.google.android.gms.drive.internal.GetPermissionsResponse; -import com.google.android.gms.drive.internal.StringListResponse; -import com.google.android.gms.drive.internal.StartStreamSession; - -import com.google.android.gms.common.api.Status; - -interface IDriveServiceCallbacks { - void onDownloadProgress(in DownloadProgressResponse response) = 0; - void onListEntries(in ListEntriesResponse response) = 1; - void onDriveId(in DriveIdResponse response) = 2; - void onMetadata(in MetadataResponse response) = 3; - void onContents(in ContentsResponse response) = 4; - void onStatus(in Status status) = 5; - void onSuccess() = 6; - void onListParents(in ListParentsResponse response) = 7; - void onSyncMore(in SyncMoreResponse response) = 8; - - void onLoadRealtime(in LoadRealtimeResponse response, IRealtimeService realtimeService) = 10; - void onResourceIdSet(in ResourceIdSetResponse response) = 11; - void onDrivePreferences(in DrivePreferencesResponse response) = 12; - void onDeviceUsagePreference(in DeviceUsagePreferenceResponse response) = 13; - void onBooleanAnswer(boolean bool) = 14; - void onFetchThumbnail(in FetchThumbnailResponse response) = 15; - void onChangeSequenceNumber(in ChangeSequenceNumber csn) = 16; - void onChanges(in ChangesResponse response) = 17; - - void onGetPermissions(in GetPermissionsResponse response) = 19; - void onStringList(in StringListResponse response) = 20; - void onStartStreamSession(in StartStreamSession response) = 21; -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IEventCallback.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IEventCallback.aidl deleted file mode 100644 index e50999f1..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IEventCallback.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.drive.internal; - -import com.google.android.gms.drive.internal.EventResponse; - -interface IEventCallback { - void onEventResponse(in EventResponse response) = 0; -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IRealtimeService.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IRealtimeService.aidl deleted file mode 100644 index 14d7cf86..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/IRealtimeService.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.android.gms.drive.internal; - -interface IRealtimeService { - // TODO -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListEntriesResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListEntriesResponse.aidl deleted file mode 100644 index 9a3c5ac9..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListEntriesResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable ListEntriesResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListParentsRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListParentsRequest.aidl deleted file mode 100644 index b2271a98..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListParentsRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable ListParentsRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListParentsResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListParentsResponse.aidl deleted file mode 100644 index 04ebc591..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ListParentsResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable ListParentsResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/LoadRealtimeRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/LoadRealtimeRequest.aidl deleted file mode 100644 index b3b80b5d..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/LoadRealtimeRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable LoadRealtimeRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/LoadRealtimeResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/LoadRealtimeResponse.aidl deleted file mode 100644 index 3ebc2672..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/LoadRealtimeResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable LoadRealtimeResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/MetadataResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/MetadataResponse.aidl deleted file mode 100644 index 4bfd6f88..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/MetadataResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable MetadataResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/OpenContentsRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/OpenContentsRequest.aidl deleted file mode 100644 index 4fc8534f..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/OpenContentsRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable OpenContentsRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/OpenFileIntentSenderRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/OpenFileIntentSenderRequest.aidl deleted file mode 100644 index 836ba532..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/OpenFileIntentSenderRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable OpenFileIntentSenderRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RealtimeDocumentSyncRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RealtimeDocumentSyncRequest.aidl deleted file mode 100644 index c922b2da..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RealtimeDocumentSyncRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable RealtimeDocumentSyncRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RemoveEventListenerRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RemoveEventListenerRequest.aidl deleted file mode 100644 index e613b2e2..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RemoveEventListenerRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable RemoveEventListenerRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RemovePermissionRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RemovePermissionRequest.aidl deleted file mode 100644 index 5d2838c7..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/RemovePermissionRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable RemovePermissionRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ResourceIdSetResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ResourceIdSetResponse.aidl deleted file mode 100644 index 64cd51fe..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/ResourceIdSetResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable ResourceIdSetResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetDrivePreferencesRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetDrivePreferencesRequest.aidl deleted file mode 100644 index 76702969..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetDrivePreferencesRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable SetDrivePreferencesRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetFileUploadPreferencesRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetFileUploadPreferencesRequest.aidl deleted file mode 100644 index 0ceffc62..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetFileUploadPreferencesRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable SetFileUploadPreferencesRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetResourceParentsRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetResourceParentsRequest.aidl deleted file mode 100644 index 43b9c116..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SetResourceParentsRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable SetResourceParentsRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StartStreamSession.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StartStreamSession.aidl deleted file mode 100644 index 538c61e4..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StartStreamSession.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable StartStreamSession; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StreamContentsRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StreamContentsRequest.aidl deleted file mode 100644 index 2f20b495..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StreamContentsRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable StreamContentsRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StringListResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StringListResponse.aidl deleted file mode 100644 index 9099c4b6..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/StringListResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable StringListResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SyncMoreResponse.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SyncMoreResponse.aidl deleted file mode 100644 index ed495944..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/SyncMoreResponse.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable SyncMoreResponse; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/TrashResourceRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/TrashResourceRequest.aidl deleted file mode 100644 index 42480778..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/TrashResourceRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable TrashResourceRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UnsubscribeResourceRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UnsubscribeResourceRequest.aidl deleted file mode 100644 index a7fe04bc..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UnsubscribeResourceRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable UnsubscribeResourceRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UntrashResourceRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UntrashResourceRequest.aidl deleted file mode 100644 index 74fe7d32..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UntrashResourceRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable UntrashResourceRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UpdateMetadataRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UpdateMetadataRequest.aidl deleted file mode 100644 index 98f7d547..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UpdateMetadataRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable UpdateMetadataRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UpdatePermissionRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UpdatePermissionRequest.aidl deleted file mode 100644 index a866defd..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/drive/internal/UpdatePermissionRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.drive.internal; - -parcelable UpdatePermissionRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/games/internal/IGamesCallbacks.aidl b/play-services-api/src/main/aidl/com/google/android/gms/games/internal/IGamesCallbacks.aidl deleted file mode 100644 index fa1349db..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/games/internal/IGamesCallbacks.aidl +++ /dev/null @@ -1,47 +0,0 @@ -package com.google.android.gms.games.internal; - -import com.google.android.gms.common.data.DataHolder; -import com.google.android.gms.games.multiplayer.realtime.RealTimeMessage; - -interface IGamesCallbacks { - void onAuthTokenLoaded(int statusCode, String authToken) = 5000; - void onAchievementsLoaded(in DataHolder data) = 5001; - void onAchievementUpdated(int statusCode, String achievementId) = 5002; - void onLeaderboardsLoaded(in DataHolder data) = 5003; - void onLeaderboardScoresLoaded(in DataHolder leaderboard, in DataHolder scores) = 5004; - void onScoreSubmitted(in DataHolder data) = 5005; - void onPlayersLoaded(in DataHolder data) = 5006; - void onExtendedPlayersLoaded(in DataHolder data) = 5007; - void onGamesLoaded(in DataHolder data) = 5008; - void onExtendedGamesLoaded(in DataHolder data) = 5009; - void onGameInstancesLoaded(in DataHolder data) = 5010; - void onGameplayAclLoaded(in DataHolder data) = 5011; - void onGameplayAclUpdated(int statusCode) = 5012; - void onFAclLoaded(in DataHolder data) = 5013; - void onFAclUpdated(int statusCode) = 5014; - void onSignOutComplete() = 5015; - void onInvitationsLoaded(in DataHolder data) = 5016; - void onRoomCreated(in DataHolder data) = 5017; - void onJoinedRoom(in DataHolder data) = 5018; - void onLeftRoom(int statusCode, String roomId) = 5019; - void onRoomConnecting(in DataHolder data) = 5020; - void onRoomAutoMatching(in DataHolder data) = 5021; - void onRoomConnected(in DataHolder data) = 5022; - void onConnectedToRoom(in DataHolder data) = 5023; - void onDisconnectedFromRoom(in DataHolder data) = 5024; - void onPeerInvitedToRoom(in DataHolder data, in String[] participantIds) = 5025; - void onPeerJoinedRoom(in DataHolder data, in String[] participantIds) = 5026; - void onPeerLeftRoom(in DataHolder data, in String[] participantIds) = 5027; - void onPeerDeclined(in DataHolder data, in String[] participantIds) = 5028; - void onPeerConnected(in DataHolder data, in String[] participantIds) = 5029; - void onPeerDisconnected(in DataHolder data, in String[] participantIds) = 5030; - void onRealTimeMessageReceived(in RealTimeMessage message) = 5031; - void onMessageSent(int statusCode, int messageId, String recipientParticipantId) = 5032; - void onGameMuteStatusChanged(int statusCode, String externalGameId, boolean isMuted) = 5033; - void onNotifyAclLoaded(in DataHolder data) = 5034; - void onNotifyAclUpdated(int statusCode) = 5035; - void onInvitationReceived(in DataHolder data) = 5036; - void onGameMuteStatusLoaded(in DataHolder data) = 5037; - void onContactSettingsLoaded(in DataHolder data) = 5038; - void onContactSettingsUpdated(int statusCode) = 5039; -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/games/internal/IGamesService.aidl b/play-services-api/src/main/aidl/com/google/android/gms/games/internal/IGamesService.aidl deleted file mode 100644 index 1f8e7b4e..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/games/internal/IGamesService.aidl +++ /dev/null @@ -1,80 +0,0 @@ -package com.google.android.gms.games.internal; - -import android.net.Uri; -import android.os.Bundle; -import android.os.IBinder; -import com.google.android.gms.games.internal.IGamesCallbacks; -import com.google.android.gms.common.data.DataHolder; - -interface IGamesService { - void clientDisconnecting(long clientId) = 5000; - void signOut(IGamesCallbacks callbacks) = 5001; - String getAppId() = 5002; - Bundle getConnectionHint() = 5003; - void showWelcomePopup(IBinder windowToken, in Bundle extraArgs) = 5004; - void cancelPopups() = 5005; - String getCurrentAccountName() = 5006; - void loadGameplayAclInternal(IGamesCallbacks callbacks, String gameId) = 5007; - void updateGameplayAclInternal(IGamesCallbacks callbacks, String gameId, String aclData) = 5008; - void loadFAclInternal(IGamesCallbacks callbacks, String gameId) = 5009; - void updateFAclInternal(IGamesCallbacks callbacks, String gameId, boolean allCirclesVisible, in long[] circleIds) = 5010; - String getCurrentPlayerId() = 5011; - DataHolder getCurrentPlayer() = 5012; - void loadPlayer(IGamesCallbacks callbacks, String playerId) = 5013; - void loadInvitablePlayers(IGamesCallbacks callbacks, int pageSize, boolean expandCachedData, boolean forceReload) = 5014; - void submitScore(IGamesCallbacks callbacks, String leaderboardId, long score) = 5015; - void loadLeaderboards(IGamesCallbacks callbacks) = 5016; - void loadLeaderboard(IGamesCallbacks callbacks, String leaderboardId) = 5017; - void loadTopScores(IGamesCallbacks callbacks, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) = 5018; - void loadPlayerCenteredScores(IGamesCallbacks callbacks, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) = 5019; - void loadMoreScores(IGamesCallbacks callbacks, in Bundle previousheader, int maxResults, int pageDirection) = 5020; - void loadAchievements(IGamesCallbacks callbacks) = 5021; - void revealAchievement(IGamesCallbacks callbacks, String achievementId, IBinder windowToken, in Bundle extraArgs) = 5022; - void unlockAchievement(IGamesCallbacks callbacks, String achievementId, IBinder windowToken, in Bundle extraArgs) = 5023; - void incrementAchievement(IGamesCallbacks callbacks, String achievementId, int numSteps, IBinder windowToken, in Bundle extraArgs) = 5024; - void loadGame(IGamesCallbacks callbacks) = 5025; - void loadInvitations(IGamesCallbacks callbacks) = 5026; - void declineInvitation(String invitationId, int invitationType) = 5027; - void dismissInvitation(String invitationId, int invitationType) = 5028; - void createRoom(IGamesCallbacks callbacks, IBinder processBinder, int variant, in String[] invitedPlayerIds, in Bundle autoMatchCriteria, boolean enableSockets, long clientId) = 5029; - void joinRoom(IGamesCallbacks callbacks, IBinder processBinder, String matchId, boolean enableSockets, long clientId) = 5030; - void leaveRoom(IGamesCallbacks callbacks, String matchId) = 5031; - int sendReliableMessage(IGamesCallbacks callbacks, in byte[] messageData, String matchId, String recipientParticipantId) = 5032; - int sendUnreliableMessage(in byte[] messageData, String matchId, in String[] recipientParticipantIds) = 5033; - String createSocketConnection(String participantId) = 5034; - void clearNotifications(int notificationTypes) = 5035; - void loadLeaderboardsFirstParty(IGamesCallbacks callbacks, String gameId) = 5036; - void loadLeaderboardFirstParty(IGamesCallbacks callbacks, String gameId, String leaderboardId) = 5037; - void loadTopScoresFirstParty(IGamesCallbacks callbacks, String gameId, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) = 5038; - void loadPlayerCenteredScoresFirstParty(IGamesCallbacks callbacks, String gameId, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) = 5039; - void loadAchievementsFirstParty(IGamesCallbacks callbacks, String playerId, String gameId) = 5040; - void loadGameFirstParty(IGamesCallbacks callbacks, String gameId) = 5041; - void loadGameInstancesFirstParty(IGamesCallbacks callbacks, String gameId) = 5042; - void loadGameCollectionFirstParty(IGamesCallbacks callbacks, int pageSize, int collectionType, boolean expandCachedData, boolean forceReload) = 5043; - void loadRecentlyPlayedGamesFirstParty(IGamesCallbacks callbacks, String externalPlayerId, int pageSize, boolean expandCachedData, boolean forceReload) = 5044; - void loadInvitablePlayersFirstParty(IGamesCallbacks callbacks, int pageSize, boolean expandCachedData, boolean forceReload) = 5045; - void loadRecentPlayersFirstParty(IGamesCallbacks callbacks) = 5046; - void loadCircledPlayersFirstParty(IGamesCallbacks callbacks, int pageSize, boolean expandCachedData, boolean forceReload) = 5047; - void loadSuggestedPlayersFirstParty(IGamesCallbacks callbacks) = 5048; - void dismissPlayerSuggestionFirstParty(String playerIdToDismiss) = 5049; - void declineInvitationFirstParty(String gameId, String invitationId, int invitationType) = 5050; - void loadInvitationsFirstParty(IGamesCallbacks callbacks, String gameId) = 5051; - int registerWaitingRoomListenerRestricted(IGamesCallbacks callbacks, String roomId) = 5052; - void setGameMuteStatusInternal(IGamesCallbacks callbacks, String gameId, boolean muted) = 5053; - void clearNotificationsFirstParty(String gameId, int notificationTypes) = 5054; - void loadNotifyAclInternal(IGamesCallbacks callbacks) = 5055; - void updateNotifyAclInternal(IGamesCallbacks callbacks, String aclData) = 5056; - void registerInvitationListener(IGamesCallbacks callbacks, long clientId) = 5057; - void unregisterInvitationListener(long clientId) = 5058; - int unregisterWaitingRoomListenerRestricted(String roomId) = 5059; - void isGameMutedInternal(IGamesCallbacks callbacks, String gameId) = 5060; - void loadContactSettingsInternal(IGamesCallbacks callbacks) = 5061; - void updateContactSettingsInternal(IGamesCallbacks callbacks, boolean enableMobileNotifications) = 5062; - String getSelectedAccountForGameFirstParty(String gamePackageName) = 5063; - void updateSelectedAccountForGameFirstParty(String gamePackageName, String accountName) = 5064; - Uri getGamesContentUriRestricted(String gameId) = 5065; - boolean shouldUseNewPlayerNotificationsFirstParty() = 5066; - void setUseNewPlayerNotificationsFirstParty(boolean newPlayerStyle) = 5067; - void searchForPlayersFirstParty(IGamesCallbacks callbacks, String query, int pageSize, boolean expandCachedData, boolean forceReload) = 5500; - DataHolder getCurrentGame() = 5501; -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.aidl b/play-services-api/src/main/aidl/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.aidl deleted file mode 100644 index ae48b227..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.games.multiplayer.realtime; - -parcelable RealTimeMessage; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/location/places/internal/IGooglePlaceDetectionService.aidl b/play-services-api/src/main/aidl/com/google/android/gms/location/places/internal/IGooglePlaceDetectionService.aidl deleted file mode 100644 index 39b0a53f..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/location/places/internal/IGooglePlaceDetectionService.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.android.gms.location.places.internal; - -interface IGooglePlaceDetectionService { - -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/location/places/internal/IGooglePlacesService.aidl b/play-services-api/src/main/aidl/com/google/android/gms/location/places/internal/IGooglePlacesService.aidl deleted file mode 100644 index 854e921e..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/location/places/internal/IGooglePlacesService.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.android.gms.location.places.internal; - -interface IGooglePlacesService { - -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/GoogleMapOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/GoogleMapOptions.aidl deleted file mode 100644 index e2cf4afd..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/GoogleMapOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps; - -parcelable GoogleMapOptions; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICameraUpdateFactoryDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICameraUpdateFactoryDelegate.aidl deleted file mode 100644 index a8ea7626..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICameraUpdateFactoryDelegate.aidl +++ /dev/null @@ -1,20 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.dynamic.IObjectWrapper; -import com.google.android.gms.maps.model.CameraPosition; -import com.google.android.gms.maps.model.LatLng; -import com.google.android.gms.maps.model.LatLngBounds; - -interface ICameraUpdateFactoryDelegate { - IObjectWrapper zoomIn(); - IObjectWrapper zoomOut(); - IObjectWrapper scrollBy(float x, float y); - IObjectWrapper zoomTo(float zoom); - IObjectWrapper zoomBy(float zoomDelta); - IObjectWrapper zoomByWithFocus(float zoomDelta, int x, int y); - IObjectWrapper newCameraPosition(in CameraPosition cameraPosition); - IObjectWrapper newLatLng(in LatLng latLng); - IObjectWrapper newLatLngZoom(in LatLng latLng, float zoom); - IObjectWrapper newLatLngBounds(in LatLngBounds bounds, int padding); - IObjectWrapper newLatLngBoundsWithSize(in LatLngBounds bounds, int width, int height, int padding); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICancelableCallback.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICancelableCallback.aidl deleted file mode 100644 index 0cc5938f..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICancelableCallback.aidl +++ /dev/null @@ -1,6 +0,0 @@ -package com.google.android.gms.maps.internal; - -interface ICancelableCallback { - void onFinish(); - void onCancel(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICreator.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICreator.aidl deleted file mode 100644 index f10ab345..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ICreator.aidl +++ /dev/null @@ -1,17 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.dynamic.IObjectWrapper; -import com.google.android.gms.maps.GoogleMapOptions; -import com.google.android.gms.maps.internal.IMapFragmentDelegate; -import com.google.android.gms.maps.internal.IMapViewDelegate; -import com.google.android.gms.maps.internal.ICameraUpdateFactoryDelegate; -import com.google.android.gms.maps.model.internal.IBitmapDescriptorFactoryDelegate; - -interface ICreator { - void init(IObjectWrapper resources); - IMapFragmentDelegate newMapFragmentDelegate(IObjectWrapper activity); - IMapViewDelegate newMapViewDelegate(IObjectWrapper context, in GoogleMapOptions options); - ICameraUpdateFactoryDelegate newCameraUpdateFactoryDelegate(); - IBitmapDescriptorFactoryDelegate newBitmapDescriptorFactoryDelegate(); - void initV2(IObjectWrapper resources, int flags); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IGoogleMapDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IGoogleMapDelegate.aidl deleted file mode 100644 index af44f1c5..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IGoogleMapDelegate.aidl +++ /dev/null @@ -1,144 +0,0 @@ -package com.google.android.gms.maps.internal; - -import android.location.Location; - -import com.google.android.gms.dynamic.IObjectWrapper; -import com.google.android.gms.maps.model.CameraPosition; -import com.google.android.gms.maps.internal.ICancelableCallback; -import com.google.android.gms.maps.internal.ILocationSourceDelegate; -import com.google.android.gms.maps.internal.IUiSettingsDelegate; -import com.google.android.gms.maps.internal.IProjectionDelegate; -import com.google.android.gms.maps.internal.IOnCameraChangeListener; -import com.google.android.gms.maps.internal.IOnCameraIdleListener; -import com.google.android.gms.maps.internal.IOnCameraMoveCanceledListener; -import com.google.android.gms.maps.internal.IOnCameraMoveListener; -import com.google.android.gms.maps.internal.IOnCameraMoveStartedListener; -import com.google.android.gms.maps.internal.IOnMapClickListener; -import com.google.android.gms.maps.internal.IOnMapLongClickListener; -import com.google.android.gms.maps.internal.IOnMarkerClickListener; -import com.google.android.gms.maps.internal.IOnMarkerDragListener; -import com.google.android.gms.maps.internal.IOnInfoWindowClickListener; -import com.google.android.gms.maps.internal.IInfoWindowAdapter; -import com.google.android.gms.maps.internal.IOnMapLoadedCallback; -import com.google.android.gms.maps.internal.IOnMyLocationChangeListener; -import com.google.android.gms.maps.internal.IOnMyLocationButtonClickListener; -import com.google.android.gms.maps.internal.ISnapshotReadyCallback; -import com.google.android.gms.maps.model.CircleOptions; -import com.google.android.gms.maps.model.GroundOverlayOptions; -import com.google.android.gms.maps.model.LatLngBounds; -import com.google.android.gms.maps.model.MarkerOptions; -import com.google.android.gms.maps.model.MapStyleOptions; -import com.google.android.gms.maps.model.PolygonOptions; -import com.google.android.gms.maps.model.PolylineOptions; -import com.google.android.gms.maps.model.TileOverlayOptions; -import com.google.android.gms.maps.model.internal.IPolylineDelegate; -import com.google.android.gms.maps.model.internal.IPolygonDelegate; -import com.google.android.gms.maps.model.internal.IMarkerDelegate; -import com.google.android.gms.maps.model.internal.ICircleDelegate; -import com.google.android.gms.maps.model.internal.IGroundOverlayDelegate; -import com.google.android.gms.maps.model.internal.ITileOverlayDelegate; - -interface IGoogleMapDelegate { - CameraPosition getCameraPosition() = 0; - - float getMaxZoomLevel() = 1; - float getMinZoomLevel() = 2; - - void moveCamera(IObjectWrapper cameraUpdate) = 3; - void animateCamera(IObjectWrapper cameraUpdate) = 4; - void animateCameraWithCallback(IObjectWrapper cameraUpdate, ICancelableCallback callback) = 5; - void animateCameraWithDurationAndCallback(IObjectWrapper cameraUpdate, int duration, ICancelableCallback callback) = 6; - void stopAnimation() = 7; - - IPolylineDelegate addPolyline(in PolylineOptions options) = 8; - IPolygonDelegate addPolygon(in PolygonOptions options) = 9; - IMarkerDelegate addMarker(in MarkerOptions options) = 10; - IGroundOverlayDelegate addGroundOverlay(in GroundOverlayOptions options) = 11; - ITileOverlayDelegate addTileOverlay(in TileOverlayOptions options) = 12; - - void clear() = 13; - - int getMapType() = 14; - void setMapType(int type) = 15; - boolean isTrafficEnabled() = 16; - void setTrafficEnabled(boolean traffic) = 17; - boolean isIndoorEnabled() = 18; - void setIndoorEnabled(boolean indoor) = 19; - - boolean isMyLocationEnabled() = 20; - void setMyLocationEnabled(boolean myLocation) = 21; - Location getMyLocation() = 22; - void setLocationSource(ILocationSourceDelegate locationSource) = 23; - - IUiSettingsDelegate getUiSettings() = 24; - IProjectionDelegate getProjection() = 25; - - void setOnCameraChangeListener(IOnCameraChangeListener listener) = 26; - void setOnMapClickListener(IOnMapClickListener listener) = 27; - void setOnMapLongClickListener(IOnMapLongClickListener listener) = 28; - void setOnMarkerClickListener(IOnMarkerClickListener listener) = 29; - void setOnMarkerDragListener(IOnMarkerDragListener listener) = 30; - void setOnInfoWindowClickListener(IOnInfoWindowClickListener listener) = 31; - void setInfoWindowAdapter(IInfoWindowAdapter adapter) = 32; - - IObjectWrapper getTestingHelper() = 33; - - ICircleDelegate addCircle(in CircleOptions options) = 34; - - void setOnMyLocationChangeListener(IOnMyLocationChangeListener listener) = 35; - void setOnMyLocationButtonClickListener(IOnMyLocationButtonClickListener listener) = 36; - - void snapshot(ISnapshotReadyCallback callback, IObjectWrapper bitmap) = 37; - - void setPadding(int left, int top, int right, int bottom) = 38; - - boolean isBuildingsEnabled() = 39; - void setBuildingsEnabled(boolean buildings) = 40; - - void setOnMapLoadedCallback(IOnMapLoadedCallback callback) = 41; - - //IIndoorBuildingDelegate getFocusedBuilding() = 43; - //void setIndoorStateChangeListener(IOnIndoorStateChangeListener listener) = 44; - - void setWatermarkEnabled(boolean watermark) = 50; - - //void getMapAsync(IOnMapReadyCallback callback) = 52; - void onCreate(in Bundle savedInstanceState) = 53; - void onResume() = 54; - void onPause() = 55; - void onDestroy() = 56; - void onLowMemory() = 57; - boolean useViewLifecycleWhenInFragment() = 58; - void onSaveInstanceState(out Bundle outState) = 59; - - void setContentDescription(String desc) = 60; - - //void snapshotForTest(ISnapshotReadyCallback callback) = 70; - - //void setPoiClickListener(IOnPoiClickListener listener) = 79; - void onEnterAmbient(in Bundle bundle) = 80; - void onExitAmbient() = 81; - - //void setOnGroundOverlayClickListener(IOnGroundOverlayClickListener listener) = 82; - //void setInfoWindowLongClickListener(IOnInfoWindowLongClickListener listener) = 83; - //void setPolygonClickListener(IOnPolygonClickListener listener) = 84; - //void setInfoWindowCloseListener(IOnInfoWindowCloseListener listener) = 85; - //void setPolylineClickListener(IOnPolylineClickListener listener) = 86; - //void setCircleClickListener(IOnCircleClickListener listener) = 88; - - boolean setMapStyle(in MapStyleOptions options) = 90; - void setMinZoomPreference(float minZoom) = 91; - void setMaxZoomPreference(float maxZoom) = 92; - void resetMinMaxZoomPreference() = 93; - void setLatLngBoundsForCameraTarget(in LatLngBounds bounds) = 94; - - void setCameraMoveStartedListener(IOnCameraMoveStartedListener listener) = 95; - void setCameraMoveListener(IOnCameraMoveListener listener) = 96; - void setCameraMoveCanceledListener(IOnCameraMoveCanceledListener listener) = 97; - void setCameraIdleListener(IOnCameraIdleListener listener) = 98; - - void onStart() = 100; - void onStop() = 101; - - //void setOnMyLocationClickListener(IOnMyLocationClickListener listener) = 106; -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IInfoWindowAdapter.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IInfoWindowAdapter.aidl deleted file mode 100644 index d11d71d4..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IInfoWindowAdapter.aidl +++ /dev/null @@ -1,9 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.dynamic.IObjectWrapper; -import com.google.android.gms.maps.model.internal.IMarkerDelegate; - -interface IInfoWindowAdapter { - IObjectWrapper getInfoWindow(IMarkerDelegate marker); - IObjectWrapper getInfoContents(IMarkerDelegate marker); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ILocationSourceDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ILocationSourceDelegate.aidl deleted file mode 100644 index 203ec69f..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ILocationSourceDelegate.aidl +++ /dev/null @@ -1,4 +0,0 @@ -package com.google.android.gms.maps.internal; - -interface ILocationSourceDelegate { -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapFragmentDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapFragmentDelegate.aidl deleted file mode 100644 index c08c987b..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapFragmentDelegate.aidl +++ /dev/null @@ -1,27 +0,0 @@ -package com.google.android.gms.maps.internal; - -import android.os.Bundle; - -import com.google.android.gms.maps.internal.IGoogleMapDelegate; -import com.google.android.gms.maps.internal.IOnMapReadyCallback; -import com.google.android.gms.maps.GoogleMapOptions; -import com.google.android.gms.dynamic.IObjectWrapper; - -interface IMapFragmentDelegate { - IGoogleMapDelegate getMap(); - void onInflate(IObjectWrapper activity, in GoogleMapOptions options, in Bundle savedInstanceState); - void onCreate(in Bundle savedInstanceState); - IObjectWrapper onCreateView(IObjectWrapper layoutInflater, IObjectWrapper container, in Bundle savedInstanceState); - void onResume(); - void onPause(); - void onDestroyView(); - void onDestroy(); - void onLowMemory(); - void onSaveInstanceState(inout Bundle outState); - boolean isReady(); - void getMapAsync(IOnMapReadyCallback callback); - void onEnterAmbient(in Bundle bundle); - void onExitAmbient(); - void onStart(); - void onStop(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapViewDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapViewDelegate.aidl deleted file mode 100644 index d22db6c6..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IMapViewDelegate.aidl +++ /dev/null @@ -1,23 +0,0 @@ -package com.google.android.gms.maps.internal; - -import android.os.Bundle; - -import com.google.android.gms.maps.internal.IGoogleMapDelegate; -import com.google.android.gms.maps.internal.IOnMapReadyCallback; -import com.google.android.gms.dynamic.IObjectWrapper; - -interface IMapViewDelegate { - IGoogleMapDelegate getMap(); - void onCreate(in Bundle savedInstanceState); - void onResume(); - void onPause(); - void onDestroy(); - void onLowMemory(); - void onSaveInstanceState(inout Bundle outState); - IObjectWrapper getView(); - void getMapAsync(IOnMapReadyCallback callback); - void onEnterAmbient(in Bundle bundle); - void onExitAmbient(); - void onStart(); - void onStop(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraChangeListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraChangeListener.aidl deleted file mode 100644 index 8abd2929..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraChangeListener.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.maps.model.CameraPosition; - -interface IOnCameraChangeListener { - void onCameraChange(in CameraPosition update); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraIdleListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraIdleListener.aidl deleted file mode 100644 index caa686a8..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraIdleListener.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.android.gms.maps.internal; - -interface IOnCameraIdleListener { - void onCameraIdle(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveCanceledListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveCanceledListener.aidl deleted file mode 100644 index bb1494e8..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveCanceledListener.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.android.gms.maps.internal; - -interface IOnCameraMoveCanceledListener { - void onCameraMoveCanceled(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveListener.aidl deleted file mode 100644 index 6b404d65..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveListener.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.android.gms.maps.internal; - -interface IOnCameraMoveListener { - void onCameraMove(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveStartedListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveStartedListener.aidl deleted file mode 100644 index 2a5f65d9..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnCameraMoveStartedListener.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.android.gms.maps.internal; - -interface IOnCameraMoveStartedListener { - void onCameraMoveStarted(int i); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnInfoWindowClickListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnInfoWindowClickListener.aidl deleted file mode 100644 index 7c396ce7..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnInfoWindowClickListener.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.maps.model.internal.IMarkerDelegate; - -interface IOnInfoWindowClickListener { - void onInfoWindowClick(IMarkerDelegate marker); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapClickListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapClickListener.aidl deleted file mode 100644 index 6b3b2ec8..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapClickListener.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.maps.model.LatLng; - -interface IOnMapClickListener { - void onMapClick(in LatLng latLng); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapLoadedCallback.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapLoadedCallback.aidl deleted file mode 100644 index d3fc105d..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapLoadedCallback.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.android.gms.maps.internal; - -interface IOnMapLoadedCallback { - void onMapLoaded(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapLongClickListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapLongClickListener.aidl deleted file mode 100644 index 11201b2c..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapLongClickListener.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.maps.model.LatLng; - -interface IOnMapLongClickListener { - void onMapLongClick(in LatLng latLng); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapReadyCallback.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapReadyCallback.aidl deleted file mode 100644 index 1e6760ef..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMapReadyCallback.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.maps.internal.IGoogleMapDelegate; - -interface IOnMapReadyCallback { - void onMapReady(IGoogleMapDelegate map); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMarkerClickListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMarkerClickListener.aidl deleted file mode 100644 index 94c4465d..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMarkerClickListener.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.maps.model.internal.IMarkerDelegate; - -interface IOnMarkerClickListener { - boolean onMarkerClick(IMarkerDelegate marker); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMarkerDragListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMarkerDragListener.aidl deleted file mode 100644 index b4601a7a..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMarkerDragListener.aidl +++ /dev/null @@ -1,9 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.maps.model.internal.IMarkerDelegate; - -interface IOnMarkerDragListener { - void onMarkerDragStart(IMarkerDelegate marker) = 0; - void onMarkerDrag(IMarkerDelegate marker) = 1; - void onMarkerDragEnd(IMarkerDelegate marker) = 2; -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMyLocationButtonClickListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMyLocationButtonClickListener.aidl deleted file mode 100644 index b10880dd..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMyLocationButtonClickListener.aidl +++ /dev/null @@ -1,4 +0,0 @@ -package com.google.android.gms.maps.internal; - -interface IOnMyLocationButtonClickListener { -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMyLocationChangeListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMyLocationChangeListener.aidl deleted file mode 100644 index 35a6b6c2..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IOnMyLocationChangeListener.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.dynamic.IObjectWrapper; - -interface IOnMyLocationChangeListener { - void onMyLocationChanged(IObjectWrapper location); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IProjectionDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IProjectionDelegate.aidl deleted file mode 100644 index 9b2da90b..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IProjectionDelegate.aidl +++ /dev/null @@ -1,11 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.dynamic.IObjectWrapper; -import com.google.android.gms.maps.model.LatLng; -import com.google.android.gms.maps.model.VisibleRegion; - -interface IProjectionDelegate { - LatLng fromScreenLocation(IObjectWrapper obj); - IObjectWrapper toScreenLocation(in LatLng latLng); - VisibleRegion getVisibleRegion(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ISnapshotReadyCallback.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ISnapshotReadyCallback.aidl deleted file mode 100644 index f907e336..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/ISnapshotReadyCallback.aidl +++ /dev/null @@ -1,9 +0,0 @@ -package com.google.android.gms.maps.internal; - -import com.google.android.gms.dynamic.IObjectWrapper; -import android.graphics.Bitmap; - -interface ISnapshotReadyCallback { - void onBitmapReady(in Bitmap bitmap); - void onBitmapWrappedReady(IObjectWrapper wrapper); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IUiSettingsDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IUiSettingsDelegate.aidl deleted file mode 100644 index 12c78123..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/internal/IUiSettingsDelegate.aidl +++ /dev/null @@ -1,25 +0,0 @@ -package com.google.android.gms.maps.internal; - -interface IUiSettingsDelegate { - void setZoomControlsEnabled(boolean zoom); - void setCompassEnabled(boolean compass); - void setMyLocationButtonEnabled(boolean locationButton); - void setScrollGesturesEnabled(boolean scrollGestures); - void setZoomGesturesEnabled(boolean zoomGestures); - void setTiltGesturesEnabled(boolean tiltGestures); - void setRotateGesturesEnabled(boolean rotateGestures); - void setAllGesturesEnabled(boolean gestures); - boolean isZoomControlsEnabled(); - boolean isCompassEnabled(); - boolean isMyLocationButtonEnabled(); - boolean isScrollGesturesEnabled(); - boolean isZoomGesturesEnabled(); - boolean isTiltGesturesEnabled(); - boolean isRotateGesturesEnabled(); - void setIndoorLevelPickerEnabled(boolean indoorLevelPicker); - boolean isIndoorLevelPickerEnabled(); - void setMapToolbarEnabled(boolean mapToolbar); - boolean isMapToolbarEnabled(); - void setScrollGesturesEnabledDuringRotateOrZoom(boolean scrollDuringZoom); - boolean isScrollGesturesEnabledDuringRotateOrZoom(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/CameraPosition.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/CameraPosition.aidl deleted file mode 100644 index bb5ab701..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/CameraPosition.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable CameraPosition; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/CircleOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/CircleOptions.aidl deleted file mode 100644 index 33ae4542..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/CircleOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable CircleOptions; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/GroundOverlayOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/GroundOverlayOptions.aidl deleted file mode 100644 index 5bdbefaf..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/GroundOverlayOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable GroundOverlayOptions; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/MapStyleOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/MapStyleOptions.aidl deleted file mode 100644 index 04312ebf..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/MapStyleOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable MapStyleOptions; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/MarkerOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/MarkerOptions.aidl deleted file mode 100644 index dc4abbcf..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/MarkerOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable MarkerOptions; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/PolygonOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/PolygonOptions.aidl deleted file mode 100644 index adac82a0..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/PolygonOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable PolygonOptions; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/PolylineOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/PolylineOptions.aidl deleted file mode 100644 index 7c165891..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/PolylineOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable PolylineOptions; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/Tile.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/Tile.aidl deleted file mode 100644 index 54f1872f..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/Tile.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable Tile; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/TileOverlayOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/TileOverlayOptions.aidl deleted file mode 100644 index 85f5ac32..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/TileOverlayOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable TileOverlayOptions; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/VisibleRegion.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/VisibleRegion.aidl deleted file mode 100644 index 09d22101..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/VisibleRegion.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.maps.model; - -parcelable VisibleRegion; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IBitmapDescriptorFactoryDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IBitmapDescriptorFactoryDelegate.aidl deleted file mode 100644 index dca49b60..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IBitmapDescriptorFactoryDelegate.aidl +++ /dev/null @@ -1,14 +0,0 @@ -package com.google.android.gms.maps.model.internal; - -import android.graphics.Bitmap; -import com.google.android.gms.dynamic.IObjectWrapper; - -interface IBitmapDescriptorFactoryDelegate { - IObjectWrapper fromResource(int resourceId); - IObjectWrapper fromAsset(String assetName); - IObjectWrapper fromFile(String fileName); - IObjectWrapper defaultMarker(); - IObjectWrapper defaultMarkerWithHue(float hue); - IObjectWrapper fromBitmap(in Bitmap bitmap); - IObjectWrapper fromPath(String absolutePath); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ICircleDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ICircleDelegate.aidl deleted file mode 100644 index 719d8eab..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ICircleDelegate.aidl +++ /dev/null @@ -1,24 +0,0 @@ -package com.google.android.gms.maps.model.internal; - -import com.google.android.gms.maps.model.LatLng; - -interface ICircleDelegate { - void remove(); - String getId(); - void setCenter(in LatLng center); - LatLng getCenter(); - void setRadius(double radius); - double getRadius(); - void setStrokeWidth(float width); - float getStrokeWidth(); - void setStrokeColor(int color); - int getStrokeColor(); - void setFillColor(int color); - int getFillColor(); - void setZIndex(float zIndex); - float getZIndex(); - void setVisible(boolean visible); - boolean isVisible(); - boolean equalsRemote(ICircleDelegate other); - int hashCodeRemote(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IGroundOverlayDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IGroundOverlayDelegate.aidl deleted file mode 100644 index 0a1a0632..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IGroundOverlayDelegate.aidl +++ /dev/null @@ -1,29 +0,0 @@ -package com.google.android.gms.maps.model.internal; - -import com.google.android.gms.dynamic.IObjectWrapper; -import com.google.android.gms.maps.model.LatLng; -import com.google.android.gms.maps.model.LatLngBounds; - -interface IGroundOverlayDelegate { - void remove(); - String getId(); - void setPosition(in LatLng pos); - LatLng getPosition(); - void setDimension(float dimension); - void setDimensions(float width, float height); - float getWidth(); - float getHeight(); - void setPositionFromBounds(in LatLngBounds bounds); - LatLngBounds getBounds(); - void setBearing(float bearing); - float getBearing(); - void setZIndex(float zIndex); - float getZIndex(); - void setVisible(boolean visible); - boolean isVisible(); - void setTransparency(float transparency); - float getTransparency(); - boolean equalsRemote(IGroundOverlayDelegate other); - int hashCodeRemote(); - void todo(IObjectWrapper obj); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IMarkerDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IMarkerDelegate.aidl deleted file mode 100644 index ca2d2603..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IMarkerDelegate.aidl +++ /dev/null @@ -1,37 +0,0 @@ -package com.google.android.gms.maps.model.internal; - -import com.google.android.gms.dynamic.IObjectWrapper; -import com.google.android.gms.maps.model.LatLng; - -interface IMarkerDelegate { - void remove(); - String getId(); - void setPosition(in LatLng pos); - LatLng getPosition(); - void setTitle(String title); - String getTitle(); - void setSnippet(String snippet); - String getSnippet(); - void setDraggable(boolean drag); - boolean isDraggable(); - void showInfoWindow(); - void hideInfoWindow(); - boolean isInfoWindowShown(); - void setVisible(boolean visible); - boolean isVisible(); - boolean equalsRemote(IMarkerDelegate other); - int hashCodeRemote(); - void setIcon(IObjectWrapper obj); - void setAnchor(float x, float y); - void setFlat(boolean flat); - boolean isFlat(); - void setRotation(float rotation); - float getRotation(); - void setInfoWindowAnchor(float x, float y); - void setAlpha(float alpha); - float getAlpha(); - void setZIndex(float zIndex); - float getZIndex(); - void setTag(IObjectWrapper obj); - IObjectWrapper getTag(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IPolygonDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IPolygonDelegate.aidl deleted file mode 100644 index 67f0517b..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IPolygonDelegate.aidl +++ /dev/null @@ -1,27 +0,0 @@ -package com.google.android.gms.maps.model.internal; - -import com.google.android.gms.maps.model.LatLng; - -interface IPolygonDelegate { - void remove(); - String getId(); - void setPoints(in List points); - List getPoints(); - void setHoles(in List holes); - List getHoles(); - void setStrokeWidth(float width); - float getStrokeWidth(); - void setStrokeColor(int color); - int getStrokeColor(); - void setFillColor(int color); - int getFillColor(); - void setZIndex(float zIndex); - float getZIndex(); - void setVisible(boolean visible); - boolean isVisible(); - void setGeodesic(boolean geod); - boolean isGeodesic(); - boolean equalsRemote(IPolygonDelegate other); - int hashCodeRemote(); - -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IPolylineDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IPolylineDelegate.aidl deleted file mode 100644 index ebbb336b..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/IPolylineDelegate.aidl +++ /dev/null @@ -1,22 +0,0 @@ -package com.google.android.gms.maps.model.internal; - -import com.google.android.gms.maps.model.LatLng; - -interface IPolylineDelegate { - void remove(); - String getId(); - void setPoints(in List points); - List getPoints(); - void setWidth(float width); - float getWidth(); - void setColor(int color); - int getColor(); - void setZIndex(float zIndex); - float getZIndex(); - void setVisible(boolean visible); - boolean isVisible(); - void setGeodesic(boolean geod); - boolean isGeodesic(); - boolean equalsRemote(IPolylineDelegate other); - int hashCodeRemote(); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ITileOverlayDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ITileOverlayDelegate.aidl deleted file mode 100644 index 417cb024..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ITileOverlayDelegate.aidl +++ /dev/null @@ -1,4 +0,0 @@ -package com.google.android.gms.maps.model.internal; - -interface ITileOverlayDelegate { -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ITileProviderDelegate.aidl b/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ITileProviderDelegate.aidl deleted file mode 100644 index d6dc516b..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/maps/model/internal/ITileProviderDelegate.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.maps.model.internal; - -import com.google.android.gms.maps.model.Tile; - -interface ITileProviderDelegate { - Tile getTile(int x, int y, int zoom); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/phenotype/Configurations.aidl b/play-services-api/src/main/aidl/com/google/android/gms/phenotype/Configurations.aidl deleted file mode 100644 index 33ccf3d7..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/phenotype/Configurations.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.phenotype; - -parcelable Configurations; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/plus/internal/IPlusOneButtonCreator.aidl b/play-services-api/src/main/aidl/com/google/android/gms/plus/internal/IPlusOneButtonCreator.aidl deleted file mode 100644 index 7e2121d2..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/plus/internal/IPlusOneButtonCreator.aidl +++ /dev/null @@ -1,8 +0,0 @@ -package com.google.android.gms.plus.internal; - -import com.google.android.gms.dynamic.IObjectWrapper; - -interface IPlusOneButtonCreator { - IObjectWrapper create(IObjectWrapper context, int size, int annotation, String url, int activityRequestCode); - IObjectWrapper createForAccount(IObjectWrapper context, int size, int annotation, String url, String account); -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/AccountState.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/AccountState.aidl deleted file mode 100644 index 24ae0ffd..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/AccountState.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.reminders; - -parcelable AccountState; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/CreateReminderOptionsInternal.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/CreateReminderOptionsInternal.aidl deleted file mode 100644 index 142ddedf..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/CreateReminderOptionsInternal.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.reminders; - -parcelable CreateReminderOptionsInternal; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/LoadRemindersOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/LoadRemindersOptions.aidl deleted file mode 100644 index ff418443..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/LoadRemindersOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.reminders; - -parcelable LoadRemindersOptions; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/ReindexDueDatesOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/ReindexDueDatesOptions.aidl deleted file mode 100644 index 55ac1beb..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/ReindexDueDatesOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.reminders; - -parcelable ReindexDueDatesOptions; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/UpdateRecurrenceOptions.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/UpdateRecurrenceOptions.aidl deleted file mode 100644 index 79f91dec..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/UpdateRecurrenceOptions.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.reminders; - -parcelable UpdateRecurrenceOptions; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersCallbacks.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersCallbacks.aidl deleted file mode 100644 index 5e5506ee..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersCallbacks.aidl +++ /dev/null @@ -1,17 +0,0 @@ -package com.google.android.gms.reminders.internal; - -import com.google.android.gms.common.api.Status; -import com.google.android.gms.common.data.DataHolder; - -import com.google.android.gms.reminders.AccountState; - -interface IRemindersCallbacks { - void onDataHolder(in DataHolder data, in Status status) = 0; - void onStatus(in Status status) = 1; - void onNoStatus() = 2; - void onDataHolderNoStatus(in DataHolder data, in Status status) = 3; - void onBool(boolean b, in Status status) = 4; - void onString(in String s, in Status status) = 5; - void onAccountState(in AccountState accountState, in Status status) = 6; - void onAsyncDataHolder(in DataHolder data) = 7; -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersListener.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersListener.aidl deleted file mode 100644 index 2added91..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersListener.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.android.gms.reminders.internal; - -interface IRemindersListener { - -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersService.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersService.aidl deleted file mode 100644 index f9986484..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/internal/IRemindersService.aidl +++ /dev/null @@ -1,37 +0,0 @@ -package com.google.android.gms.reminders.internal; - -import com.google.android.gms.reminders.internal.IRemindersCallbacks; - -import com.google.android.gms.reminders.AccountState; -import com.google.android.gms.reminders.CreateReminderOptionsInternal; -import com.google.android.gms.reminders.LoadRemindersOptions; -import com.google.android.gms.reminders.ReindexDueDatesOptions; -import com.google.android.gms.reminders.UpdateRecurrenceOptions; -import com.google.android.gms.reminders.model.CustomizedSnoozePresetEntity; -import com.google.android.gms.reminders.model.TaskEntity; -import com.google.android.gms.reminders.model.TaskIdEntity; - -interface IRemindersService { - void loadReminders(IRemindersCallbacks callbacks, in LoadRemindersOptions options) = 0; - void addListener(IRemindersCallbacks callbacks) = 1; - void createReminder(IRemindersCallbacks callbacks, in TaskEntity task) = 2; - void updateReminder(IRemindersCallbacks callbacks, in TaskEntity task) = 3; - void deleteReminder(IRemindersCallbacks callbacks, in TaskIdEntity taskId) = 4; - void bumpReminder(IRemindersCallbacks callbacks, in TaskIdEntity taskId) = 5; - void hasUpcomingReminders(IRemindersCallbacks callbacks) = 6; - void createRecurrence(IRemindersCallbacks callbacks, in TaskEntity task) = 7; - void updateRecurrence(IRemindersCallbacks callbacks, String s1, in TaskEntity task, in UpdateRecurrenceOptions options) = 8; - void deleteRecurrence(IRemindersCallbacks callbacks, String s1, in UpdateRecurrenceOptions options) = 9; - void changeRecurrence(IRemindersCallbacks callbacks, String s1, in TaskEntity task, in UpdateRecurrenceOptions options) = 10; - void makeTaskRecurring(IRemindersCallbacks callbacks, in TaskEntity task) = 11; - void makeRecurrenceSingleInstance(IRemindersCallbacks callbacks, String s1, in TaskEntity task, in UpdateRecurrenceOptions options) = 12; - void clearListeners() = 13; - void batchUpdateReminders(IRemindersCallbacks callbacks, in List tasks) = 14; - void createReminderWithOptions(IRemindersCallbacks callbacks, in TaskEntity task, in CreateReminderOptionsInternal options) = 15; - void getCustomizedSnoozePreset(IRemindersCallbacks callbacks) = 16; - void setCustomizedSnoozePreset(IRemindersCallbacks callbacks, in CustomizedSnoozePresetEntity preset) = 17; - void setAccountState(IRemindersCallbacks callbacks, in AccountState accountState) = 18; - void getAccountState(IRemindersCallbacks callbacks) = 19; - void checkReindexDueDatesNeeded(IRemindersCallbacks callbacks, in ReindexDueDatesOptions options) = 20; - void reindexDueDates(IRemindersCallbacks callbacks, in ReindexDueDatesOptions options) = 21; -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/model/CustomizedSnoozePresetEntity.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/model/CustomizedSnoozePresetEntity.aidl deleted file mode 100644 index bbb90836..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/model/CustomizedSnoozePresetEntity.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.reminders.model; - -parcelable CustomizedSnoozePresetEntity; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/model/TaskEntity.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/model/TaskEntity.aidl deleted file mode 100644 index 9a3883c2..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/model/TaskEntity.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.reminders.model; - -parcelable TaskEntity; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/reminders/model/TaskIdEntity.aidl b/play-services-api/src/main/aidl/com/google/android/gms/reminders/model/TaskIdEntity.aidl deleted file mode 100644 index a4c41481..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/reminders/model/TaskIdEntity.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.reminders.model; - -parcelable TaskIdEntity; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/android/gms/wallet/IsReadyToPayRequest.aidl b/play-services-api/src/main/aidl/com/google/android/gms/wallet/IsReadyToPayRequest.aidl deleted file mode 100644 index da1b0344..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/wallet/IsReadyToPayRequest.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.android.gms.wallet; - -parcelable IsReadyToPayRequest; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/wallet/internal/IOwService.aidl b/play-services-api/src/main/aidl/com/google/android/gms/wallet/internal/IOwService.aidl deleted file mode 100644 index ae55cffb..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/wallet/internal/IOwService.aidl +++ /dev/null @@ -1,8 +0,0 @@ -package com.google.android.gms.wallet.internal; - -import com.google.android.gms.wallet.internal.IWalletServiceCallbacks; -import com.google.android.gms.wallet.IsReadyToPayRequest; - -interface IOwService { - void isReadyToPay(in IsReadyToPayRequest request, in Bundle args, IWalletServiceCallbacks callbacks) = 13; -} diff --git a/play-services-api/src/main/aidl/com/google/android/gms/wallet/internal/IWalletServiceCallbacks.aidl b/play-services-api/src/main/aidl/com/google/android/gms/wallet/internal/IWalletServiceCallbacks.aidl deleted file mode 100644 index aae5209f..00000000 --- a/play-services-api/src/main/aidl/com/google/android/gms/wallet/internal/IWalletServiceCallbacks.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.android.gms.wallet.internal; - -import com.google.android.gms.common.api.Status; - -interface IWalletServiceCallbacks { - void onIsReadyToPayResponse(in Status status, boolean result, in Bundle args) = 8; -} diff --git a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/CompoundHashParcelable.aidl b/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/CompoundHashParcelable.aidl deleted file mode 100644 index 689e5918..00000000 --- a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/CompoundHashParcelable.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.firebase.database.connection.idl; - -parcelable CompoundHashParcelable; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/ConnectionConfig.aidl b/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/ConnectionConfig.aidl deleted file mode 100644 index d6c1fc31..00000000 --- a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/ConnectionConfig.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.firebase.database.connection.idl; - -parcelable ConnectionConfig; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IConnectionAuthTokenProvider.aidl b/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IConnectionAuthTokenProvider.aidl deleted file mode 100644 index 447f9f4a..00000000 --- a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IConnectionAuthTokenProvider.aidl +++ /dev/null @@ -1,7 +0,0 @@ -package com.google.firebase.database.connection.idl; - -import com.google.firebase.database.connection.idl.IGetTokenCallback; - -interface IConnectionAuthTokenProvider { - void zero(boolean var1, IGetTokenCallback var2) = 0; -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IGetTokenCallback.aidl b/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IGetTokenCallback.aidl deleted file mode 100644 index c4d45cdd..00000000 --- a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IGetTokenCallback.aidl +++ /dev/null @@ -1,6 +0,0 @@ -package com.google.firebase.database.connection.idl; - -interface IGetTokenCallback { - void zero(String s) = 0; - void onError(String s) = 1; -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IListenHashProvider.aidl b/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IListenHashProvider.aidl deleted file mode 100644 index a5aaa187..00000000 --- a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IListenHashProvider.aidl +++ /dev/null @@ -1,11 +0,0 @@ -package com.google.firebase.database.connection.idl; - -import com.google.firebase.database.connection.idl.CompoundHashParcelable; - -interface IListenHashProvider { - String zzPY() = 0; - - boolean zzPZ() = 1; - - CompoundHashParcelable zzQF() = 2; -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IPersistentConnection.aidl b/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IPersistentConnection.aidl deleted file mode 100644 index 21e00b1c..00000000 --- a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IPersistentConnection.aidl +++ /dev/null @@ -1,44 +0,0 @@ -package com.google.firebase.database.connection.idl; - -import com.google.android.gms.dynamic.IObjectWrapper; - -import com.google.firebase.database.connection.idl.ConnectionConfig; -import com.google.firebase.database.connection.idl.IConnectionAuthTokenProvider; -import com.google.firebase.database.connection.idl.IListenHashProvider; -import com.google.firebase.database.connection.idl.IPersistentConnectionDelegate; -import com.google.firebase.database.connection.idl.IRequestResultCallback; - - -interface IPersistentConnection { - void setup(in ConnectionConfig var1, IConnectionAuthTokenProvider var2, IObjectWrapper var3, IPersistentConnectionDelegate var4) = 0; - - void initialize() = 1; - - void shutdown() = 2; - - void refreshAuthToken() = 3; - - void listen(in List var1, IObjectWrapper var2, IListenHashProvider var3, long var4, IRequestResultCallback var6) = 4; - - void unlisten(in List var1, IObjectWrapper var2) = 5; - - void purgeOutstandingWrites() = 6; - - void put(in List var1, IObjectWrapper var2, IRequestResultCallback var3) = 7; - - void compareAndPut(in List var1, IObjectWrapper var2, String var3, IRequestResultCallback var4) = 8; - - void merge(in List var1, IObjectWrapper var2, IRequestResultCallback var3) = 9; - - void onDisconnectPut(in List var1, IObjectWrapper var2, IRequestResultCallback var3) = 10; - - void onDisconnectMerge(in List var1, IObjectWrapper var2, IRequestResultCallback var3) = 11; - - void onDisconnectCancel(in List var1, IRequestResultCallback var2) = 12; - - void interrupt(String var1) = 13; - - void resume(String var1) = 14; - - boolean isInterrupted(String var1) = 15; -} diff --git a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IPersistentConnectionDelegate.aidl b/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IPersistentConnectionDelegate.aidl deleted file mode 100644 index 9ae649d0..00000000 --- a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IPersistentConnectionDelegate.aidl +++ /dev/null @@ -1,19 +0,0 @@ -package com.google.firebase.database.connection.idl; - -import com.google.android.gms.dynamic.IObjectWrapper; - -import com.google.firebase.database.connection.idl.RangeParcelable; - -interface IPersistentConnectionDelegate { - void zero(in List var1, IObjectWrapper var2, boolean var3, long var4) = 0; - - void one(in List var1, in List var2, IObjectWrapper var3, long var4) = 1; - - void two() = 2; - - void onDisconnect() = 3; - - void four(boolean var1) = 4; - - void five(IObjectWrapper var1) = 5; -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IRequestResultCallback.aidl b/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IRequestResultCallback.aidl deleted file mode 100644 index 5806bc35..00000000 --- a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/IRequestResultCallback.aidl +++ /dev/null @@ -1,5 +0,0 @@ -package com.google.firebase.database.connection.idl; - -interface IRequestResultCallback { - void zero(String var1, String var2) = 0; -} \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/RangeParcelable.aidl b/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/RangeParcelable.aidl deleted file mode 100644 index 08d6df18..00000000 --- a/play-services-api/src/main/aidl/com/google/firebase/database/connection/idl/RangeParcelable.aidl +++ /dev/null @@ -1,3 +0,0 @@ -package com.google.firebase.database.connection.idl; - -parcelable RangeParcelable; \ No newline at end of file diff --git a/play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/Configurations.aidl b/play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/Configurations.aidl new file mode 100644 index 00000000..b6487fc3 --- /dev/null +++ b/play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/Configurations.aidl @@ -0,0 +1,3 @@ +package com.mgoogle.android.gms.phenotype; + +parcelable Configurations; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/phenotype/internal/IPhenotypeCallbacks.aidl b/play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/internal/IPhenotypeCallbacks.aidl similarity index 67% rename from play-services-api/src/main/aidl/com/google/android/gms/phenotype/internal/IPhenotypeCallbacks.aidl rename to play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/internal/IPhenotypeCallbacks.aidl index acda3c57..d7cb4bad 100644 --- a/play-services-api/src/main/aidl/com/google/android/gms/phenotype/internal/IPhenotypeCallbacks.aidl +++ b/play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/internal/IPhenotypeCallbacks.aidl @@ -1,7 +1,7 @@ -package com.google.android.gms.phenotype.internal; +package com.mgoogle.android.gms.phenotype.internal; import com.google.android.gms.common.api.Status; -import com.google.android.gms.phenotype.Configurations; +import com.mgoogle.android.gms.phenotype.Configurations; interface IPhenotypeCallbacks { oneway void onRegister(in Status status) = 0; diff --git a/play-services-api/src/main/aidl/com/google/android/gms/phenotype/internal/IPhenotypeService.aidl b/play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/internal/IPhenotypeService.aidl similarity index 74% rename from play-services-api/src/main/aidl/com/google/android/gms/phenotype/internal/IPhenotypeService.aidl rename to play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/internal/IPhenotypeService.aidl index abba647d..51cdf17f 100644 --- a/play-services-api/src/main/aidl/com/google/android/gms/phenotype/internal/IPhenotypeService.aidl +++ b/play-services-api/src/main/aidl/com/mgoogle/android/gms/phenotype/internal/IPhenotypeService.aidl @@ -1,6 +1,6 @@ -package com.google.android.gms.phenotype.internal; +package com.mgoogle.android.gms.phenotype.internal; -import com.google.android.gms.phenotype.internal.IPhenotypeCallbacks; +import com.mgoogle.android.gms.phenotype.internal.IPhenotypeCallbacks; interface IPhenotypeService { void register(IPhenotypeCallbacks callbacks, String p1, int p2, in String[] p3, in byte[] p4) = 0; diff --git a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/CorpusStatus.java b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/CorpusStatus.java index 5c71ea0c..ecfbbd0d 100644 --- a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/CorpusStatus.java +++ b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/CorpusStatus.java @@ -24,7 +24,7 @@ import org.microg.safeparcel.SafeParceled; public class CorpusStatus extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode; + private final int versionCode; @SafeParceled(1) public boolean found; @SafeParceled(2) diff --git a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/PIMEUpdateResponse.java b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/PIMEUpdateResponse.java index d542f48f..6bb080ba 100644 --- a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/PIMEUpdateResponse.java +++ b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/PIMEUpdateResponse.java @@ -21,7 +21,7 @@ import org.microg.safeparcel.SafeParceled; public class PIMEUpdateResponse extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode; + private final int versionCode; @SafeParceled(1) private String b; diff --git a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/QuerySpecification.java b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/QuerySpecification.java index 1be52c8f..cddcd2ab 100644 --- a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/QuerySpecification.java +++ b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/QuerySpecification.java @@ -24,7 +24,7 @@ import java.util.List; public class QuerySpecification extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 2; + private final int versionCode = 2; @SafeParceled(1) public final boolean b; //@SafeParceled(value = 2, subType = "TODO") diff --git a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SearchResults.java b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SearchResults.java index fec25f00..3fc9a6f8 100644 --- a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SearchResults.java +++ b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SearchResults.java @@ -21,7 +21,7 @@ import org.microg.safeparcel.SafeParceled; public class SearchResults extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 2; + private final int versionCode = 2; public static Creator CREATOR = new AutoCreator(SearchResults.class); } diff --git a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SuggestSpecification.java b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SuggestSpecification.java index 0f80a053..34dc8333 100644 --- a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SuggestSpecification.java +++ b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SuggestSpecification.java @@ -21,7 +21,7 @@ import org.microg.safeparcel.SafeParceled; public class SuggestSpecification extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode; + private final int versionCode; public SuggestSpecification() { versionCode = 2; diff --git a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SuggestionResults.java b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SuggestionResults.java index f616d51d..6ff68066 100644 --- a/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SuggestionResults.java +++ b/play-services-api/src/main/java/com/google/android/gms/appdatasearch/SuggestionResults.java @@ -21,7 +21,7 @@ import org.microg.safeparcel.SafeParceled; public class SuggestionResults extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode; + private final int versionCode; @SafeParceled(1) public final String errorMessage; diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/AccountChangeEventsRequest.java b/play-services-api/src/main/java/com/google/android/gms/auth/AccountChangeEventsRequest.java index 0d7f5cd8..dce80fc1 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/AccountChangeEventsRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/AccountChangeEventsRequest.java @@ -21,7 +21,7 @@ import org.microg.safeparcel.SafeParceled; public class AccountChangeEventsRequest extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) private int i; @SafeParceled(3) diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/AccountChangeEventsResponse.java b/play-services-api/src/main/java/com/google/android/gms/auth/AccountChangeEventsResponse.java index 0bff57a8..763e5d42 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/AccountChangeEventsResponse.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/AccountChangeEventsResponse.java @@ -24,9 +24,9 @@ import java.util.List; public class AccountChangeEventsResponse extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(value = 2, subClass = AccountChangeEvent.class) - private List events; + private final List events; public AccountChangeEventsResponse() { events = new ArrayList(); diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/TokenData.java b/play-services-api/src/main/java/com/google/android/gms/auth/TokenData.java index 3b7d45f5..c6fbe9e5 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/TokenData.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/TokenData.java @@ -25,7 +25,7 @@ import java.util.List; public class TokenData extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) public final String token; diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/Credential.java b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/Credential.java index 3be9e900..5a92ddc5 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/Credential.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/Credential.java @@ -22,7 +22,7 @@ import java.util.Locale; public class Credential extends AutoSafeParcelable { @Field(1000) - private int versionCode = 1; + private final int versionCode = 1; @Field(1) private String id; @@ -146,7 +146,7 @@ public class Credential extends AutoSafeParcelable { } public static class Builder { - private String id; + private final String id; private String name; private Uri profilePictureUri; private String password; diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/CredentialPickerConfig.java b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/CredentialPickerConfig.java index fac74463..4cb1bbc9 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/CredentialPickerConfig.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/CredentialPickerConfig.java @@ -15,7 +15,7 @@ import org.microg.safeparcel.AutoSafeParcelable; public class CredentialPickerConfig extends AutoSafeParcelable { @Field(1000) - private int versionCode = 1; + private final int versionCode = 1; @Field(1) private boolean showAddAccountButton; diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/CredentialRequest.java b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/CredentialRequest.java index 599dd387..6255fbf9 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/CredentialRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/CredentialRequest.java @@ -17,7 +17,7 @@ import org.microg.safeparcel.AutoSafeParcelable; public class CredentialRequest extends AutoSafeParcelable { @Field(1000) - private int versionCode = 1; + private final int versionCode = 1; @Field(1) private boolean passwordLoginSupported; diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/HintRequest.java b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/HintRequest.java index e6a4f1b8..1f1cae80 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/HintRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/HintRequest.java @@ -20,7 +20,7 @@ import java.util.Arrays; @PublicApi public class HintRequest extends AutoSafeParcelable { @Field(1000) - private int versionCode = 2; + private final int versionCode = 2; @Field(1) private CredentialPickerConfig hintPickerConfig; diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/IdToken.java b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/IdToken.java index 8b4a65d6..aa6d19d4 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/IdToken.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/api/credentials/IdToken.java @@ -15,7 +15,7 @@ import org.microg.safeparcel.AutoSafeParcelable; public class IdToken extends AutoSafeParcelable { @Field(1000) - private int versionCode = 1; + private final int versionCode = 1; @Field(1) private String accountType; diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/api/proxy/ProxyRequest.java b/play-services-api/src/main/java/com/google/android/gms/auth/api/proxy/ProxyRequest.java index 71270ebb..acca03a4 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/api/proxy/ProxyRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/api/proxy/ProxyRequest.java @@ -20,7 +20,7 @@ public class ProxyRequest extends AutoSafeParcelable { public static final int HTTP_METHOD_PATCH = 7; @Field(1000) - private int versionCode = 2; + private final int versionCode = 2; @Field(1) public String url; @Field(2) diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/api/proxy/ProxyResponse.java b/play-services-api/src/main/java/com/google/android/gms/auth/api/proxy/ProxyResponse.java index 951210cb..b18d21be 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/api/proxy/ProxyResponse.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/api/proxy/ProxyResponse.java @@ -14,7 +14,7 @@ public class ProxyResponse extends AutoSafeParcelable { public static final int STATUS_CODE_NO_CONNECTION = -1; @Field(1000) - private int versionCode = 1; + private final int versionCode = 1; @Field(1) public int gmsStatusCode; @Field(2) diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/AccountRecoveryGuidanceRequest.java b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/AccountRecoveryGuidanceRequest.java index 6c73b4bc..d5f1d054 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/AccountRecoveryGuidanceRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/AccountRecoveryGuidanceRequest.java @@ -25,7 +25,7 @@ import org.microg.safeparcel.SafeParceled; public class AccountRecoveryGuidanceRequest extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) @Deprecated public final String accountName; diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/AccountRemovalRequest.java b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/AccountRemovalRequest.java index cd56eb1a..439825c2 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/AccountRemovalRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/AccountRemovalRequest.java @@ -25,7 +25,7 @@ import org.microg.safeparcel.SafeParceled; public class AccountRemovalRequest extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) @Deprecated public final String accountName; diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/ConfirmCredentialsRequest.java b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/ConfirmCredentialsRequest.java index c7db433b..16142d6a 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/ConfirmCredentialsRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/ConfirmCredentialsRequest.java @@ -24,7 +24,7 @@ import org.microg.safeparcel.SafeParceled; public class ConfirmCredentialsRequest extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) public AccountCredentials accountCredentials; @SafeParceled(3) diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/TokenRequest.java b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/TokenRequest.java index 4a200050..099e56f4 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/TokenRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/dataservice/TokenRequest.java @@ -26,7 +26,7 @@ import org.microg.safeparcel.SafeParceled; public class TokenRequest extends AutoSafeParcelable{ @SafeParceled(1) - private int versionCode = 4; + private final int versionCode = 4; @SafeParceled(3) public String accountName; @SafeParceled(4) diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/delegate/ConfirmCredentialsWorkflowRequest.java b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/delegate/ConfirmCredentialsWorkflowRequest.java index 0091dee5..d4308ef7 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/delegate/ConfirmCredentialsWorkflowRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/delegate/ConfirmCredentialsWorkflowRequest.java @@ -27,7 +27,7 @@ import org.microg.safeparcel.SafeParceled; public class ConfirmCredentialsWorkflowRequest extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 3; + private final int versionCode = 3; @SafeParceled(2) public String accountName; @SafeParceled(3) diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/AccountCredentials.java b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/AccountCredentials.java index 4b57130d..33995a9a 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/AccountCredentials.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/AccountCredentials.java @@ -24,7 +24,7 @@ import org.microg.safeparcel.SafeParceled; // TODO public class AccountCredentials extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 2; + private final int versionCode = 2; @SafeParceled(3) public String accountName; @SafeParceled(9) diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/AppDescription.java b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/AppDescription.java index 9e339e81..efa4b2bc 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/AppDescription.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/AppDescription.java @@ -21,7 +21,7 @@ import org.microg.safeparcel.SafeParceled; public class AppDescription extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) public int callingUid; @SafeParceled(3) diff --git a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/CaptchaSolution.java b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/CaptchaSolution.java index 9563798e..c0cb9326 100644 --- a/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/CaptchaSolution.java +++ b/play-services-api/src/main/java/com/google/android/gms/auth/firstparty/shared/CaptchaSolution.java @@ -23,7 +23,7 @@ import org.microg.safeparcel.SafeParceled; public class CaptchaSolution extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; public static final Creator CREATOR = new AutoCreator(CaptchaSolution.class); } diff --git a/play-services-api/src/main/java/com/google/android/gms/clearcut/LogEventParcelable.java b/play-services-api/src/main/java/com/google/android/gms/clearcut/LogEventParcelable.java index faf12e33..f275f206 100644 --- a/play-services-api/src/main/java/com/google/android/gms/clearcut/LogEventParcelable.java +++ b/play-services-api/src/main/java/com/google/android/gms/clearcut/LogEventParcelable.java @@ -20,8 +20,8 @@ import android.util.Base64; import com.google.android.gms.clearcut.internal.LogVerifierResultParcelable; import com.google.android.gms.clearcut.internal.PlayLoggerContext; -import com.google.android.gms.phenotype.ExperimentToken; -import com.google.android.gms.phenotype.GenericDimension; +import com.mgoogle.android.gms.phenotype.ExperimentToken; +import com.mgoogle.android.gms.phenotype.GenericDimension; import org.microg.safeparcel.AutoSafeParcelable; @@ -29,11 +29,12 @@ import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; +import java.nio.charset.StandardCharsets; import java.util.Arrays; public class LogEventParcelable extends AutoSafeParcelable { @Field(1) - private int versionCode = 1; + private final int versionCode = 1; @Field(2) public final PlayLoggerContext context; @@ -109,7 +110,7 @@ public class LogEventParcelable extends AutoSafeParcelable { private String getBytesAsString() { if (bytes == null) return "null"; try { - CharsetDecoder d = Charset.forName("US-ASCII").newDecoder(); + CharsetDecoder d = StandardCharsets.US_ASCII.newDecoder(); CharBuffer r = d.decode(ByteBuffer.wrap(bytes)); return r.toString(); } catch (Exception e) { diff --git a/play-services-api/src/main/java/com/google/android/gms/clearcut/internal/PlayLoggerContext.java b/play-services-api/src/main/java/com/google/android/gms/clearcut/internal/PlayLoggerContext.java index 0827632d..85799407 100644 --- a/play-services-api/src/main/java/com/google/android/gms/clearcut/internal/PlayLoggerContext.java +++ b/play-services-api/src/main/java/com/google/android/gms/clearcut/internal/PlayLoggerContext.java @@ -10,7 +10,7 @@ import org.microg.safeparcel.AutoSafeParcelable; public class PlayLoggerContext extends AutoSafeParcelable { @Field(1) - private int versionCode = 1; + private final int versionCode = 1; @Field(2) public final String packageName; diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/AddEventListenerRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/AddEventListenerRequest.java deleted file mode 100644 index bce9276b..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/AddEventListenerRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class AddEventListenerRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(AddEventListenerRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/AddPermissionRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/AddPermissionRequest.java deleted file mode 100644 index 559d52d3..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/AddPermissionRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class AddPermissionRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(AddPermissionRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/AuthorizeAccessRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/AuthorizeAccessRequest.java deleted file mode 100644 index b99fb5f8..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/AuthorizeAccessRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class AuthorizeAccessRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(AuthorizeAccessRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CancelPendingActionsRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/CancelPendingActionsRequest.java deleted file mode 100644 index fb18670d..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CancelPendingActionsRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CancelPendingActionsRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CancelPendingActionsRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangeResourceParentsRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangeResourceParentsRequest.java deleted file mode 100644 index a7e4630a..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangeResourceParentsRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ChangeResourceParentsRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ChangeResourceParentsRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangeSequenceNumber.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangeSequenceNumber.java deleted file mode 100644 index 70892fac..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangeSequenceNumber.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ChangeSequenceNumber extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ChangeSequenceNumber.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangesResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangesResponse.java deleted file mode 100644 index 3a43cad4..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ChangesResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ChangesResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ChangesResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CheckResourceIdsExistRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/CheckResourceIdsExistRequest.java deleted file mode 100644 index d892262f..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CheckResourceIdsExistRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CheckResourceIdsExistRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CheckResourceIdsExistRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest.java deleted file mode 100644 index cb5e8e65..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CloseContentsAndUpdateMetadataRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CloseContentsAndUpdateMetadataRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CloseContentsAndUpdateMetadataRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CloseContentsRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/CloseContentsRequest.java deleted file mode 100644 index 334c98d8..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CloseContentsRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CloseContentsRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CloseContentsRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ContentsResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/ContentsResponse.java deleted file mode 100644 index f59029b8..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ContentsResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ContentsResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ContentsResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ControlProgressRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/ControlProgressRequest.java deleted file mode 100644 index 2812eb27..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ControlProgressRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ControlProgressRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ControlProgressRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateContentsRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateContentsRequest.java deleted file mode 100644 index 46b5c419..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateContentsRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CreateContentsRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CreateContentsRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFileIntentSenderRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFileIntentSenderRequest.java deleted file mode 100644 index 260283eb..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFileIntentSenderRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CreateFileIntentSenderRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CreateFileIntentSenderRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFileRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFileRequest.java deleted file mode 100644 index 0e914da0..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFileRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CreateFileRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CreateFileRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFolderRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFolderRequest.java deleted file mode 100644 index b1e7e79c..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/CreateFolderRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CreateFolderRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CreateFolderRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DeleteResourceRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/DeleteResourceRequest.java deleted file mode 100644 index 562d7b37..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DeleteResourceRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class DeleteResourceRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(DeleteResourceRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DeviceUsagePreferenceResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/DeviceUsagePreferenceResponse.java deleted file mode 100644 index c2aae15f..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DeviceUsagePreferenceResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class DeviceUsagePreferenceResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(DeviceUsagePreferenceResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DisconnectRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/DisconnectRequest.java deleted file mode 100644 index abbebd38..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DisconnectRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class DisconnectRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(DisconnectRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DownloadProgressResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/DownloadProgressResponse.java deleted file mode 100644 index 52d2a5ec..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DownloadProgressResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class DownloadProgressResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(DownloadProgressResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DriveIdResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/DriveIdResponse.java deleted file mode 100644 index 7aaf7c63..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DriveIdResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class DriveIdResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(DriveIdResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DrivePreferencesResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/DrivePreferencesResponse.java deleted file mode 100644 index 3a96d337..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DrivePreferencesResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class DrivePreferencesResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(DrivePreferencesResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DriveServiceResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/DriveServiceResponse.java deleted file mode 100644 index 40cb34d5..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/DriveServiceResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class DriveServiceResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(DriveServiceResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/EventResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/EventResponse.java deleted file mode 100644 index 6e83957a..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/EventResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class EventResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(EventResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/FetchThumbnailRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/FetchThumbnailRequest.java deleted file mode 100644 index 5b8c5c14..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/FetchThumbnailRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class FetchThumbnailRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(FetchThumbnailRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/FetchThumbnailResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/FetchThumbnailResponse.java deleted file mode 100644 index 99499f52..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/FetchThumbnailResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class FetchThumbnailResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(FetchThumbnailResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetChangesRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetChangesRequest.java deleted file mode 100644 index 6d338d2e..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetChangesRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class GetChangesRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(GetChangesRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetDriveIdFromUniqueIdRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetDriveIdFromUniqueIdRequest.java deleted file mode 100644 index cb56b4f5..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetDriveIdFromUniqueIdRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class GetDriveIdFromUniqueIdRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(GetDriveIdFromUniqueIdRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetMetadataRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetMetadataRequest.java deleted file mode 100644 index 8f0e8c4f..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetMetadataRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class GetMetadataRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(GetMetadataRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetPermissionsRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetPermissionsRequest.java deleted file mode 100644 index d63fa651..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetPermissionsRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class GetPermissionsRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(GetPermissionsRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetPermissionsResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetPermissionsResponse.java deleted file mode 100644 index b407068a..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/GetPermissionsResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class GetPermissionsResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(GetPermissionsResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ListEntriesResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/ListEntriesResponse.java deleted file mode 100644 index a6413483..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ListEntriesResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ListEntriesResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ListEntriesResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ListParentsRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/ListParentsRequest.java deleted file mode 100644 index b417a604..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ListParentsRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ListParentsRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ListParentsRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ListParentsResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/ListParentsResponse.java deleted file mode 100644 index e0c532cd..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ListParentsResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ListParentsResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ListParentsResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/LoadRealtimeRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/LoadRealtimeRequest.java deleted file mode 100644 index fd326195..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/LoadRealtimeRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class LoadRealtimeRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(LoadRealtimeRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/LoadRealtimeResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/LoadRealtimeResponse.java deleted file mode 100644 index 8d6ec093..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/LoadRealtimeResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class LoadRealtimeResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(LoadRealtimeResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/MetadataResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/MetadataResponse.java deleted file mode 100644 index 61e1e656..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/MetadataResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class MetadataResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(MetadataResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/OpenContentsRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/OpenContentsRequest.java deleted file mode 100644 index 478a8800..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/OpenContentsRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class OpenContentsRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(OpenContentsRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/OpenFileIntentSenderRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/OpenFileIntentSenderRequest.java deleted file mode 100644 index de7df066..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/OpenFileIntentSenderRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class OpenFileIntentSenderRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(OpenFileIntentSenderRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/RealtimeDocumentSyncRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/RealtimeDocumentSyncRequest.java deleted file mode 100644 index e9d152f5..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/RealtimeDocumentSyncRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class RealtimeDocumentSyncRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(RealtimeDocumentSyncRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/RemoveEventListenerRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/RemoveEventListenerRequest.java deleted file mode 100644 index 3a0a03c2..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/RemoveEventListenerRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class RemoveEventListenerRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(RemoveEventListenerRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/RemovePermissionRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/RemovePermissionRequest.java deleted file mode 100644 index 8df27d1f..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/RemovePermissionRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class RemovePermissionRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(RemovePermissionRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ResourceIdSetResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/ResourceIdSetResponse.java deleted file mode 100644 index 1db6cd07..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/ResourceIdSetResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ResourceIdSetResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ResourceIdSetResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/SetDrivePreferencesRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/SetDrivePreferencesRequest.java deleted file mode 100644 index 44a1bad1..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/SetDrivePreferencesRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class SetDrivePreferencesRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(SetDrivePreferencesRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/SetFileUploadPreferencesRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/SetFileUploadPreferencesRequest.java deleted file mode 100644 index cdb9827c..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/SetFileUploadPreferencesRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class SetFileUploadPreferencesRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(SetFileUploadPreferencesRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/SetResourceParentsRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/SetResourceParentsRequest.java deleted file mode 100644 index 084a1e7a..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/SetResourceParentsRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class SetResourceParentsRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(SetResourceParentsRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/StartStreamSession.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/StartStreamSession.java deleted file mode 100644 index 767de36d..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/StartStreamSession.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class StartStreamSession extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(StartStreamSession.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/StreamContentsRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/StreamContentsRequest.java deleted file mode 100644 index 83c82274..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/StreamContentsRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class StreamContentsRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(StreamContentsRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/StringListResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/StringListResponse.java deleted file mode 100644 index 38728f08..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/StringListResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class StringListResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(StringListResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/SyncMoreResponse.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/SyncMoreResponse.java deleted file mode 100644 index aed23394..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/SyncMoreResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class SyncMoreResponse extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(SyncMoreResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/TrashResourceRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/TrashResourceRequest.java deleted file mode 100644 index bfb8f7be..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/TrashResourceRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class TrashResourceRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(TrashResourceRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/UnsubscribeResourceRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/UnsubscribeResourceRequest.java deleted file mode 100644 index 61cfed64..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/UnsubscribeResourceRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class UnsubscribeResourceRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(UnsubscribeResourceRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/UntrashResourceRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/UntrashResourceRequest.java deleted file mode 100644 index cce6e6ae..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/UntrashResourceRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class UntrashResourceRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(UntrashResourceRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/UpdateMetadataRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/UpdateMetadataRequest.java deleted file mode 100644 index f71093f4..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/UpdateMetadataRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class UpdateMetadataRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(UpdateMetadataRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/internal/UpdatePermissionRequest.java b/play-services-api/src/main/java/com/google/android/gms/drive/internal/UpdatePermissionRequest.java deleted file mode 100644 index 61587e3a..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/internal/UpdatePermissionRequest.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.internal; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class UpdatePermissionRequest extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(UpdatePermissionRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/drive/metadata/internal/MetadataBundle.java b/play-services-api/src/main/java/com/google/android/gms/drive/metadata/internal/MetadataBundle.java deleted file mode 100644 index 9752627e..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/drive/metadata/internal/MetadataBundle.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.drive.metadata.internal; - -public class MetadataBundle { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/fitness/data/DataPoint.java b/play-services-api/src/main/java/com/google/android/gms/fitness/data/DataPoint.java deleted file mode 100644 index cc63ed7b..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/fitness/data/DataPoint.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.fitness.data; - -public class DataPoint { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/fitness/data/Device.java b/play-services-api/src/main/java/com/google/android/gms/fitness/data/Device.java deleted file mode 100644 index 9566ef23..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/fitness/data/Device.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.fitness.data; - -public class Device { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/fitness/data/Field.java b/play-services-api/src/main/java/com/google/android/gms/fitness/data/Field.java deleted file mode 100644 index e0e56bb7..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/fitness/data/Field.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.fitness.data; - -public class Field { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/fitness/data/Value.java b/play-services-api/src/main/java/com/google/android/gms/fitness/data/Value.java deleted file mode 100644 index fc1b706c..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/fitness/data/Value.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.fitness.data; - -public class Value { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.java b/play-services-api/src/main/java/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.java deleted file mode 100644 index 5522dfae..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/games/multiplayer/realtime/RealTimeMessage.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (C) 2013-2019 microG Project Team - * - * 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.android.gms.games.multiplayer.realtime; - -import android.os.Parcel; -import android.os.Parcelable; - -public final class RealTimeMessage implements Parcelable { - public static final int RELIABLE = 1; - public static final int UNRELIABLE = 0; - - private final String mSenderParticipantId; - private final byte[] mMessageData; - private final int mIsReliable; - - public RealTimeMessage(String senderParticipantId, byte[] messageData, int isReliable) { - this.mSenderParticipantId = senderParticipantId; - this.mMessageData = messageData.clone(); - this.mIsReliable = isReliable; - } - - private RealTimeMessage(Parcel parcel) { - this(parcel.readString(), parcel.createByteArray(), parcel.readInt()); - } - - public static final Creator CREATOR = new Creator() { - @Override - public RealTimeMessage createFromParcel(Parcel in) { - return new RealTimeMessage(in); - } - @Override - public RealTimeMessage[] newArray(int size) { - return new RealTimeMessage[size]; - } - }; - - public byte[] getMessageData() { - return this.mMessageData; - } - - public String getSenderParticipantId() { - return this.mSenderParticipantId; - } - - public boolean isReliable() { - return this.mIsReliable == RELIABLE; - } - - @Override - public void writeToParcel(Parcel parcel, int flag) { - parcel.writeString(this.mSenderParticipantId); - parcel.writeByteArray(this.mMessageData); - parcel.writeInt(this.mIsReliable); - } - - @Override - public int describeContents() { - return 0; - } -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/GoogleMapOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/GoogleMapOptions.java deleted file mode 100644 index 405f31d1..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/GoogleMapOptions.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps; - -import com.google.android.gms.maps.model.CameraPosition; -import com.google.android.gms.maps.model.LatLngBounds; - -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -public final class GoogleMapOptions extends AutoSafeParcelable { - @SafeParceled(1) - private int versionCode; - @SafeParceled(2) - private int zOrderOnTop; - @SafeParceled(3) - private boolean useViewLifecycleInFragment; - @SafeParceled(4) - private int mapType; - @SafeParceled(5) - private CameraPosition camera; - @SafeParceled(6) - private boolean zoomControlsEnabled; - @SafeParceled(7) - private boolean compassEnabled; - @SafeParceled(8) - private boolean scrollGesturesEnabled = true; - @SafeParceled(9) - private boolean zoomGesturesEnabled = true; - @SafeParceled(10) - private boolean tiltGesturesEnabled = true; - @SafeParceled(11) - private boolean rotateGesturesEnabled = true; - @SafeParceled(12) - private boolean liteMode = false; - @SafeParceled(14) - private boolean mapToobarEnabled = false; - @SafeParceled(15) - private boolean ambientEnabled = false; - @SafeParceled(16) - private float minZoom; - @SafeParceled(17) - private float maxZoom; - @SafeParceled(18) - private LatLngBounds boundsForCamera; - @SafeParceled(19) - private boolean scrollGesturesEnabledDuringRotateOrZoom = true; - - public GoogleMapOptions() { - } - - public Boolean getAmbientEnabled() { - return ambientEnabled; - } - - public CameraPosition getCamera() { - return camera; - } - - public Boolean getCompassEnabled() { - return compassEnabled; - } - - public LatLngBounds getLatLngBoundsForCameraTarget() { - return boundsForCamera; - } - - public Boolean getLiteMode() { - return liteMode; - } - - public Boolean getMapToolbarEnabled() { - return mapToobarEnabled; - } - - public int getMapType() { - return mapType; - } - - public Float getMaxZoomPreference() { - return maxZoom; - } - - public Float getMinZoomPreference() { - return minZoom; - } - - public Boolean getRotateGesturesEnabled() { - return rotateGesturesEnabled; - } - - public Boolean getScrollGesturesEnabled() { - return scrollGesturesEnabled; - } - - public Boolean getScrollGesturesEnabledDuringRotateOrZoom() { - return scrollGesturesEnabledDuringRotateOrZoom; - } - - public Boolean getTiltGesturesEnabled() { - return tiltGesturesEnabled; - } - - public Boolean getUseViewLifecycleInFragment() { - return useViewLifecycleInFragment; - } - - public Boolean getZOrderOnTop() { - return zOrderOnTop == 1; // TODO - } - - public Boolean getZoomControlsEnabled() { - return zoomControlsEnabled; - } - - public Boolean getZoomGesturesEnabled() { - return zoomGesturesEnabled; - } - - @Deprecated - public boolean isCompassEnabled() { - return compassEnabled; - } - - @Deprecated - public boolean isZoomControlsEnabled() { - return zoomControlsEnabled; - } - - @Deprecated - public boolean isScrollGesturesEnabled() { - return scrollGesturesEnabled; - } - - @Deprecated - public boolean isZoomGesturesEnabled() { - return zoomGesturesEnabled; - } - - @Deprecated - public boolean isTiltGesturesEnabled() { - return tiltGesturesEnabled; - } - - @Deprecated - public boolean isRotateGesturesEnabled() { - return rotateGesturesEnabled; - } - - - public static Creator CREATOR = new AutoCreator(GoogleMapOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/StreetViewPanoramaOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/StreetViewPanoramaOptions.java deleted file mode 100644 index e59c7935..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/StreetViewPanoramaOptions.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps; - -public class StreetViewPanoramaOptions { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/internal/Point.java b/play-services-api/src/main/java/com/google/android/gms/maps/internal/Point.java deleted file mode 100644 index 9d31c133..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/internal/Point.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.internal; - -public class Point { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/BitmapDescriptor.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/BitmapDescriptor.java deleted file mode 100644 index 881c8abb..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/BitmapDescriptor.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import com.google.android.gms.dynamic.IObjectWrapper; - -import org.microg.gms.common.PublicApi; - -/** - * Defines an image. For a marker, it can be used to set the image of the marker icon. For a ground - * overlay, it can be used to set the image to place on the surface of the earth. - */ -@PublicApi -public class BitmapDescriptor { - private final IObjectWrapper remoteObject; - - public BitmapDescriptor(IObjectWrapper remoteObject) { - this.remoteObject = remoteObject; - } - - public IObjectWrapper getRemoteObject() { - return remoteObject; - } -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/CameraPosition.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/CameraPosition.java deleted file mode 100644 index c6fbe415..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/CameraPosition.java +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import android.content.Context; -import android.util.AttributeSet; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -import java.util.Arrays; - -/** - * An immutable class that aggregates all camera position parameters. - */ -@PublicApi -public final class CameraPosition extends AutoSafeParcelable { - @SafeParceled(1) - private int versionCode = 1; - /** - * The location that the camera is pointing at. - */ - @SafeParceled(2) - public final LatLng target; - /** - * Zoom level near the center of the screen. - * See {@link Builder#zoom(float)} for the definition of the camera's zoom level. - */ - @SafeParceled(3) - public final float zoom; - /** - * The angle, in degrees, of the camera angle from the nadir (directly facing the Earth). - * See {@link Builder#tilt(float)} for details of restrictions on the range of values. - */ - @SafeParceled(4) - public final float tilt; - /** - * Direction that the camera is pointing in, in degrees clockwise from north. - */ - @SafeParceled(5) - public final float bearing; - - /** - * This constructor is dirty setting the final fields to make the compiler happy. - * In fact, those are replaced by their real values later using SafeParcelUtil. - */ - private CameraPosition() { - target = null; - zoom = tilt = bearing = 0; - } - - /** - * Constructs a CameraPosition. - * - * @param target The target location to align with the center of the screen. - * @param zoom Zoom level at target. See {@link #zoom} for details of restrictions. - * @param tilt The camera angle, in degrees, from the nadir (directly down). See - * {@link #tilt} for details of restrictions. - * @param bearing Direction that the camera is pointing in, in degrees clockwise from north. - * This value will be normalized to be within 0 degrees inclusive and 360 - * degrees exclusive. - * @throws NullPointerException if {@code target} is {@code null} - * @throws IllegalArgumentException if {@code tilt} is outside range of {@code 0} to {@code 90} - * degrees inclusive - */ - public CameraPosition(LatLng target, float zoom, float tilt, float bearing) - throws NullPointerException, IllegalArgumentException { - if (target == null) { - throw new NullPointerException("null camera target"); - } - this.target = target; - this.zoom = zoom; - if (tilt < 0 || 90 < tilt) { - throw new IllegalArgumentException("Tilt needs to be between 0 and 90 inclusive"); - } - this.tilt = tilt; - if (bearing <= 0) { - bearing += 360; - } - this.bearing = bearing % 360; - } - - /** - * Creates a builder for a camera position. - */ - public static Builder builder() { - return new Builder(); - } - - /** - * Creates a builder for a camera position, initialized to a given position. - */ - public static Builder builder(CameraPosition camera) { - return new Builder(camera); - } - - /** - * Creates a CameraPostion from the attribute set - * - * @throws UnsupportedOperationException - */ - public static CameraPosition createFromAttributes(Context context, AttributeSet attrs) { - return null; // TODO - } - - @Override - public boolean equals(Object o) { - if (this == o) - return true; - if (o == null || getClass() != o.getClass()) - return false; - - CameraPosition that = (CameraPosition) o; - - if (Float.compare(that.bearing, bearing) != 0) - return false; - if (Float.compare(that.tilt, tilt) != 0) - return false; - if (Float.compare(that.zoom, zoom) != 0) - return false; - if (!target.equals(that.target)) - return false; - - return true; - } - - /** - * Constructs a CameraPosition pointed for a particular target and zoom level. The resultant - * bearing is North, and the viewing angle is perpendicular to the Earth's surface. i.e., - * directly facing the Earth's surface, with the top of the screen pointing North. - * - * @param target The target location to align with the center of the screen. - * @param zoom Zoom level at target. See {@link Builder#zoom(float)} for details on the range - * the value will be clamped to. The larger the value the more zoomed in the - * camera is. - */ - public static final CameraPosition fromLatLngZoom(LatLng target, float zoom) { - return builder().target(target).zoom(zoom).build(); - } - - @Override - public int hashCode() { - return Arrays.hashCode(new Object[] { target, zoom, tilt, bearing }); - } - - @Override - public String toString() { - return "CameraPosition{" + - "target=" + target + - ", zoom=" + zoom + - ", tilt=" + tilt + - ", bearing=" + bearing + - '}'; - } - - public static Creator CREATOR = new AutoCreator(CameraPosition.class); - - /** - * Builds camera position. - */ - public static final class Builder { - private LatLng target; - private float zoom; - private float tilt; - private float bearing; - - public Builder() { - } - - public Builder(CameraPosition previous) { - target = previous.target; - zoom = previous.zoom; - tilt = previous.tilt; - bearing = previous.bearing; - } - - /** - * Sets the direction that the camera is pointing in, in degrees clockwise from north. - */ - public Builder bearing(float bearing) { - this.bearing = bearing; - return this; - } - - /** - * Builds a {@link CameraPosition}. - */ - public CameraPosition build() { - return new CameraPosition(target, zoom, tilt, bearing); - } - - /** - * Sets the location that the camera is pointing at. - */ - public Builder target(LatLng target) { - this.target = target; - return this; - } - - /** - * Sets the angle, in degrees, of the camera from the nadir (directly facing the Earth). - * When changing the camera position for a map, this value is restricted depending on the - * zoom level of the camera. The restrictions are as follows: - *
    - *
  • For zoom levels less than 10 the maximum is 30.
  • - *
  • For zoom levels from 10 to 14 the maximum increases linearly from 30 to 45 (e.g. at - * zoom level 12, the maximum is 37.5).
  • - *
  • For zoom levels from 14 to 15.5 the maximum increases linearly from 45 to 67.5.
  • - *
  • For zoom levels greater than 15.5 the maximum is 67.5.
  • - *
- * The minimum is always 0 (directly down). If you specify a value outside this range and try to move the camera to this camera position it will be clamped to these bounds. - */ - public Builder tilt(float tilt) { - this.tilt = tilt; - return this; - } - - /** - * Sets the zoom level of the camera. Zoom level is defined such that at zoom level 0, the - * whole world is approximately 256dp wide (assuming that the camera is not tilted). - * Increasing the zoom level by 1 doubles the width of the world on the screen. Hence at - * zoom level N, the width of the world is approximately 256 * 2 N dp, i.e., at zoom level - * 2, the whole world is approximately 1024dp wide. - *

- * When changing the camera position for a map, the zoom level of the camera is restricted - * to a certain range depending on various factors including location, map type and map - * size. Note that the camera zoom need not be an integer value. - */ - public Builder zoom(float zoom) { - this.zoom = zoom; - return this; - } - } -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/CircleOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/CircleOptions.java deleted file mode 100644 index 9f611060..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/CircleOptions.java +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import android.graphics.Color; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -/** - * Defines options for a Circle. - */ -@PublicApi -public class CircleOptions extends AutoSafeParcelable { - @SafeParceled(1) - private int versionCode; - @SafeParceled(2) - private LatLng center; - @SafeParceled(3) - private double radius = 0; - @SafeParceled(4) - private float strokeWidth = 10; - @SafeParceled(5) - private int strokeColor = Color.BLACK; - @SafeParceled(6) - private int fillColor = Color.TRANSPARENT; - @SafeParceled(7) - private float zIndex = 0; - @SafeParceled(8) - private boolean visible = true; - - /** - * Creates circle options. - */ - public CircleOptions() { - } - - /** - * Sets the center using a {@link LatLng}. - *

- * The center must not be {@code null}. - *

- * This method is mandatory because there is no default center. - * - * @param center The geographic center as a {@link LatLng}. - * @return this {@link CircleOptions} object - */ - public CircleOptions center(LatLng center) { - this.center = center; - return this; - } - - /** - * Sets the fill color. - *

- * The fill color is the color inside the circle, in the integer format specified by - * {@link Color}. If TRANSPARENT is used then no fill is drawn. - *

- * By default the fill color is transparent ({@code 0x00000000}). - * - * @param color color in the {@link Color} format - * @return this {@link CircleOptions} object - */ - public CircleOptions fillColor(int color) { - this.fillColor = color; - return this; - } - - /** - * Returns the center as a {@link LatLng}. - * - * @return The geographic center as a {@link LatLng}. - */ - public LatLng getCenter() { - return center; - } - - /** - * Returns the fill color. - * - * @return The color in the {@link Color} format. - */ - public int getFillColor() { - return fillColor; - } - - /** - * Returns the circle's radius, in meters. - * - * @return The radius in meters. - */ - public double getRadius() { - return radius; - } - - /** - * Returns the stroke color. - * - * @return The color in the {@link Color} format. - */ - public int getStrokeColor() { - return strokeColor; - } - - /** - * Returns the stroke width. - * - * @return The width in screen pixels. - */ - public float getStrokeWidth() { - return strokeWidth; - } - - /** - * Returns the zIndex. - * - * @return The zIndex value. - */ - public float getZIndex() { - return zIndex; - } - - /** - * Checks whether the circle is visible. - * - * @return {code true} if the circle is visible; {@code false} if it is invisible. - */ - public boolean isVisible() { - return visible; - } - - /** - * Sets the radius in meters. - *

- * The radius must be zero or greater. The default radius is zero. - * - * @param radius radius in meters - * @return this {@link CircleOptions} object - */ - public CircleOptions radius(double radius) { - this.radius = radius; - return this; - } - - /** - * Sets the stroke color. - *

- * The stroke color is the color of this circle's outline, in the integer format specified by - * {@link Color}. If TRANSPARENT is used then no outline is drawn. - *

- * By default the stroke color is black ({@code 0xff000000}). - * - * @param color color in the {@link Color} format - * @return this {@link CircleOptions} object - */ - public CircleOptions strokeColor(int color) { - this.strokeColor = color; - return this; - } - - /** - * Sets the stroke width. - *

- * The stroke width is the width (in screen pixels) of the circle's outline. It must be zero or - * greater. If it is zero then no outline is drawn. - *

- * The default width is 10 pixels. - * - * @param width width in screen pixels - * @return this {@link CircleOptions} object - */ - public CircleOptions strokeWidth(float width) { - this.strokeWidth = width; - return this; - } - - /** - * Sets the visibility. - *

- * If this circle is not visible then it is not drawn, but all other state is preserved. - * - * @param visible {@code false} to make this circle invisible - * @return this {@link CircleOptions} object - */ - public CircleOptions visible(boolean visible) { - this.visible = visible; - return this; - } - - /** - * Sets the zIndex. - *

- * Overlays (such as circles) with higher zIndices are drawn above those with lower indices. - *

- * By default the zIndex is {@code 0.0}. - * - * @param zIndex zIndex value - * @return this {@link CircleOptions} object - */ - public CircleOptions zIndex(float zIndex) { - this.zIndex = zIndex; - return this; - } - - public static Creator CREATOR = new AutoCreator(CircleOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/GroundOverlayOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/GroundOverlayOptions.java deleted file mode 100644 index b29afdf7..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/GroundOverlayOptions.java +++ /dev/null @@ -1,341 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import android.os.IBinder; - -import com.google.android.gms.dynamic.ObjectWrapper; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -/** - * Defines options for a ground overlay. - */ -@PublicApi -public class GroundOverlayOptions extends AutoSafeParcelable { - /** - * Flag for when no dimension is specified for the height. - */ - public static final float NO_DIMENSION = -1; - - @SafeParceled(1) - private int versionCode; - @SafeParceled(2) - private IBinder image; - private BitmapDescriptor imageDescriptor; - @SafeParceled(3) - private LatLng location; - @SafeParceled(4) - private float width; - @SafeParceled(5) - private float height; - @SafeParceled(6) - private LatLngBounds bounds; - @SafeParceled(7) - private float bearing; - @SafeParceled(8) - private float zIndex; - @SafeParceled(9) - private boolean visible; - @SafeParceled(10) - private float transparency = 0; - @SafeParceled(11) - private float anchorU; - @SafeParceled(12) - private float anchorV; - - /** - * Creates a new set of ground overlay options. - */ - public GroundOverlayOptions() { - } - - /** - * Specifies the anchor to be at a particular point in the image. - *

- * The anchor specifies the point in the image that aligns with the ground overlay's location. - *

- * The anchor point is specified in the continuous space [0.0, 1.0] x [0.0, 1.0], where (0, 0) - * is the top-left corner of the image, and (1, 1) is the bottom-right corner. - * - * @param u u-coordinate of the anchor, as a ratio of the image width (in the range [0, 1]) - * @param v v-coordinate of the anchor, as a ratio of the image height (in the range [0, 1]) - * @return this {@link GroundOverlayOptions} object with a new anchor set. - */ - public GroundOverlayOptions anchor(float u, float v) { - this.anchorU = u; - this.anchorV = v; - return this; - } - - /** - * Specifies the bearing of the ground overlay in degrees clockwise from north. The rotation is - * performed about the anchor point. If not specified, the default is 0 (i.e., up on the image - * points north). - *

- * If a ground overlay with position set using {@link #positionFromBounds(LatLngBounds)} is - * rotated, its size will preserved and it will no longer be guaranteed to fit inside the - * bounds. - * - * @param bearing the bearing in degrees clockwise from north. Values outside the range - * [0, 360) will be normalized. - * @return this {@link GroundOverlayOptions} object with a new bearing set. - */ - public GroundOverlayOptions bearing(float bearing) { - this.bearing = bearing; - return this; - } - - /** - * Horizontal distance, normalized to [0, 1], of the anchor from the left edge. - * - * @return the u value of the anchor. - */ - public float getAnchorU() { - return anchorU; - } - - /** - * Vertical distance, normalized to [0, 1], of the anchor from the top edge. - * - * @return the v value of the anchor. - */ - public float getAnchorV() { - return anchorV; - } - - /** - * Gets the bearing set for this options object. - * - * @return the bearing of the ground overlay. - */ - public float getBearing() { - return bearing; - } - - /** - * Gets the bounds set for this options object. - * - * @return the bounds of the ground overlay. This will be {@code null} if the position was set - * using {@link #position(LatLng, float)} or {@link #position(LatLng, float, float)} - */ - public LatLngBounds getBounds() { - return bounds; - } - - /** - * Gets the height set for this options object. - * - * @return the height of the ground overlay. - */ - public float getHeight() { - return height; - } - - /** - * Gets the image set for this options object. - * - * @return the image of the ground overlay. - */ - public BitmapDescriptor getImage() { - if (imageDescriptor == null && image != null) { - imageDescriptor = new BitmapDescriptor(ObjectWrapper.asInterface(image)); - } - return imageDescriptor; - } - - /** - * Gets the location set for this options object. - * - * @return the location to place the anchor of the ground overlay. This will be {@code null} - * if the position was set using {@link #positionFromBounds(LatLngBounds)}. - */ - public LatLng getLocation() { - return location; - } - - /** - * Gets the transparency set for this options object. - * - * @return the transparency of the ground overlay. - */ - public float getTransparency() { - return transparency; - } - - /** - * Gets the width set for this options object. - * - * @return the width of the ground overlay. - */ - public float getWidth() { - return width; - } - - /** - * Gets the zIndex set for this options object. - * - * @return the zIndex of the ground overlay. - */ - public float getZIndex() { - return zIndex; - } - - /** - * Specifies the image for this ground overlay. - *

- * To load an image as a texture (which is used to draw the image on a map), it must be - * converted into an image with sides that are powers of two. This is so that a mipmap can be - * created in order to render the texture at various zoom levels - see - * Mipmap (Wikipedia) for details. Hence, to - * conserve memory by avoiding this conversion, it is advised that the dimensions of the image - * are powers of two. - * - * @param image the {@link BitmapDescriptor} to use for this ground overlay - * @return this {@link GroundOverlayOptions} object with a new image set. - */ - public GroundOverlayOptions image(BitmapDescriptor image) { - this.imageDescriptor = image; - this.image = imageDescriptor.getRemoteObject().asBinder(); - return this; - } - - /** - * Gets the visibility setting for this options object. - * - * @return {@code true} if the ground overlay is to be visible; {@code false} if it is not. - */ - public boolean isVisible() { - return visible; - } - - /** - * Specifies the position for this ground overlay using an anchor point (a {@link LatLng}), - * width and height (both in meters). When rendered, the image will be scaled to fit the - * dimensions specified (i.e., its proportions will not necessarily be preserved). - * - * @param location the location on the map {@code LatLng} to which the anchor point in the - * given image will remain fixed. The anchor will remain fixed to the position - * on the ground when transformations are applied (e.g., setDimensions, - * setBearing, etc.). - * @param width the width of the overlay (in meters) - * @param height the height of the overlay (in meters) - * @return this {@link GroundOverlayOptions} object with a new position set. - * @throws IllegalArgumentException if anchor is null - * @throws IllegalArgumentException if width or height are negative - * @throws IllegalStateException if the position was already set using - * {@link #positionFromBounds(LatLngBounds)} - */ - public GroundOverlayOptions position(LatLng location, float width, float height) - throws IllegalArgumentException, IllegalStateException { - position(location, width); - if (height < 0) - throw new IllegalArgumentException("height must not be negative"); - this.height = height; - return this; - } - - /** - * Specifies the position for this ground overlay using an anchor point (a {@link LatLng}) and - * the width (in meters). When rendered, the image will retain its proportions from the bitmap, - * i.e., the height will be calculated to preserve the original proportions of the image. - * - * @param location the location on the map {@link LatLng} to which the anchor point in the - * given image will remain fixed. The anchor will remain fixed to the position - * on the ground when transformations are applied (e.g., setDimensions, - * setBearing, etc.). - * @param width the width of the overlay (in meters). The height will be determined - * automatically based on the image proportions. - * @return this {@link GroundOverlayOptions} object with a new position set. - * @throws IllegalArgumentException if anchor is null - * @throws IllegalArgumentException if width is negative - * @throws IllegalStateException if the position was already set using - * {@link #positionFromBounds(LatLngBounds)} - */ - public GroundOverlayOptions position(LatLng location, float width) - throws IllegalArgumentException, IllegalStateException { - if (location == null) - throw new IllegalArgumentException("location must not be null"); - if (width < 0) - throw new IllegalArgumentException("width must not be negative"); - if (bounds != null) - throw new IllegalStateException("Position already set using positionFromBounds()"); - this.location = location; - this.width = width; - return this; - } - - /** - * Specifies the position for this ground overlay. When rendered, the image will be scaled to - * fit the bounds (i.e., its proportions will not necessarily be preserved). - * - * @param bounds a {@link LatLngBounds} in which to place the ground overlay - * @return this {@link GroundOverlayOptions} object with a new position set. - * @throws IllegalStateException if the position was already set using - * {@link #position(LatLng, float)} or - * {@link #position(LatLng, float, float)} - */ - public GroundOverlayOptions positionFromBounds(LatLngBounds bounds) - throws IllegalStateException { - if (location != null) - throw new IllegalStateException("Position already set using position()"); - this.bounds = bounds; - return this; - } - - /** - * Specifies the transparency of the ground overlay. The default transparency is {code 0} - * (opaque). - * - * @param transparency a float in the range {@code [0..1]} where {@code 0} means that the - * ground overlay is opaque and {code 1} means that the ground overlay is - * transparent - * @return this {@link GroundOverlayOptions} object with a new visibility setting. - * @throws IllegalArgumentException if the transparency is outside the range [0..1]. - */ - public GroundOverlayOptions transparency(float transparency) throws IllegalArgumentException { - if (transparency < 0 || transparency > 1) - throw new IllegalArgumentException("transparency must be in range [0..1]"); - this.transparency = transparency; - return this; - } - - /** - * Specifies the visibility for the ground overlay. The default visibility is {@code true}. - * - * @return this {@link GroundOverlayOptions} object with a new visibility setting. - */ - public GroundOverlayOptions visible(boolean visible) { - this.visible = visible; - return this; - } - - /** - * Specifies the ground overlay's zIndex, i.e., the order in which it will be drawn. See the - * documentation at the top of this class for more information about zIndex. - * - * @return this {@link GroundOverlayOptions} object with a new zIndex set. - */ - public GroundOverlayOptions zIndex(float zIndex) { - this.zIndex = zIndex; - return this; - } - - public static Creator CREATOR = new AutoCreator(GroundOverlayOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/MapStyleOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/MapStyleOptions.java deleted file mode 100644 index 78e80314..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/MapStyleOptions.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2020 e Foundation - * - * 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.android.gms.maps.model; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -@PublicApi -public class MapStyleOptions extends AutoSafeParcelable { - - @SafeParceled(1) - private int versionCode = 1; - @SafeParceled(2) - private String json; - - public MapStyleOptions() { - } - - public MapStyleOptions (String json) { - this.json = json; - } - - public String getJson() { - return this.json; - } - - public static Creator CREATOR = new AutoCreator(MapStyleOptions.class); - -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/MarkerOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/MarkerOptions.java deleted file mode 100644 index b765406a..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/MarkerOptions.java +++ /dev/null @@ -1,342 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import android.os.IBinder; - -import com.google.android.gms.dynamic.ObjectWrapper; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -@PublicApi -public class MarkerOptions extends AutoSafeParcelable { - - @SafeParceled(1) - private int versionCode = 1; - @SafeParceled(2) - private LatLng position; - @SafeParceled(3) - private String title; - @SafeParceled(4) - private String snippet; - /** - * This is a IBinder to the remote BitmapDescriptor created using BitmapDescriptorFactory - */ - @SafeParceled(5) - private IBinder iconBinder; - private BitmapDescriptor icon; - @SafeParceled(6) - private float anchorU = 0.5F; - @SafeParceled(7) - private float anchorV = 1F; - @SafeParceled(8) - private boolean draggable; - @SafeParceled(9) - private boolean visible; - @SafeParceled(10) - private boolean flat; - @SafeParceled(11) - private float rotation = 0F; - @SafeParceled(12) - private float infoWindowAnchorU = 0F; - @SafeParceled(13) - private float infoWindowAnchorV = 1F; - @SafeParceled(14) - private float alpha = 1F; - @SafeParceled(15) - private float zIndex = 0F; - - /** - * Creates a new set of marker options. - */ - public MarkerOptions() { - } - - /** - * Sets the alpha (opacity) of the marker. This is a value from 0 to 1, where 0 means the - * marker is completely transparent and 1 means the marker is completely opaque. - * - * @return the object for which the method was called, with the new alpha set. - */ - public MarkerOptions alpha(float alpha) { - this.alpha = alpha; - return this; - } - - /** - * Specifies the anchor to be at a particular point in the marker image. - *

- * The anchor specifies the point in the icon image that is anchored to the marker's position - * on the Earth's surface. - *

- * The anchor point is specified in the continuous space [0.0, 1.0] x [0.0, 1.0], where (0, 0) - * is the top-left corner of the image, and (1, 1) is the bottom-right corner. The anchoring - * point in a W x H image is the nearest discrete grid point in a (W + 1) x (H + 1) grid, - * obtained by scaling the then rounding. For example, in a 4 x 2 image, the anchor point - * (0.7, 0.6) resolves to the grid point at (3, 1). - * - * @param u u-coordinate of the anchor, as a ratio of the image width (in the range [0, 1]) - * @param v v-coordinate of the anchor, as a ratio of the image height (in the range [0, 1]) - * @return the object for which the method was called, with the new anchor set. - */ - public MarkerOptions anchor(float u, float v) { - this.anchorU = u; - this.anchorV = v; - return this; - } - - /** - * Sets the draggability for the marker. - * - * @return the object for which the method was called, with the new draggable state set. - */ - public MarkerOptions draggable(boolean draggable) { - this.draggable = draggable; - return this; - } - - /** - * Sets whether this marker should be flat against the map true or a billboard facing the - * camera false. If the marker is flat against the map, it will remain stuck to the map as the - * camera rotates and tilts but will still remain the same size as the camera zooms, unlike a - * GroundOverlay. If the marker is a billboard, it will always be drawn facing the camera - * and will rotate and tilt with the camera. The default value is false. - * - * @return the object for which the method was called, with the new flat state set. - */ - public MarkerOptions flat(boolean flat) { - this.flat = flat; - return this; - } - - /** - * Gets the alpha set for this MarkerOptions object. - * - * @return the alpha of the marker in the range [0, 1]. - */ - public float getAlpha() { - return alpha; - } - - /** - * Horizontal distance, normalized to [0, 1], of the anchor from the left edge. - * - * @return the u value of the anchor. - */ - public float getAnchorU() { - return anchorU; - } - - /** - * Vertical distance, normalized to [0, 1], of the anchor from the top edge. - * - * @return the v value of the anchor. - */ - public float getAnchorV() { - return anchorV; - } - - /** - * Gets the custom icon set for this MarkerOptions object. - * - * @return An {@link BitmapDescriptor} representing the custom icon, or {@code null} if no - * custom icon is set. - */ - public BitmapDescriptor getIcon() { - if (icon == null && iconBinder != null) { - icon = new BitmapDescriptor(ObjectWrapper.asInterface(iconBinder)); - } - return icon; - } - - /** - * Horizontal distance, normalized to [0, 1], of the info window anchor from the left edge. - * - * @return the u value of the info window anchor. - */ - public float getInfoWindowAnchorU() { - return infoWindowAnchorU; - } - - /** - * Vertical distance, normalized to [0, 1], of the info window anchor from the top edge. - * - * @return the v value of the info window anchor. - */ - public float getInfoWindowAnchorV() { - return infoWindowAnchorV; - } - - /** - * Returns the position set for this MarkerOptions object. - * - * @return A {@link LatLng} object specifying the marker's current position. - */ - public LatLng getPosition() { - return position; - } - - /** - * Gets the rotation set for this MarkerOptions object. - * - * @return the rotation of the marker in degrees clockwise from the default position. - */ - public float getRotation() { - return rotation; - } - - /** - * Gets the snippet set for this MarkerOptions object. - * - * @return A string containing the marker's snippet. - */ - public String getSnippet() { - return snippet; - } - - /** - * Gets the title set for this MarkerOptions object. - * - * @return A string containing the marker's title. - */ - public String getTitle() { - return title; - } - - /** - * Sets the icon for the marker. - * - * @param icon if null, the default marker is used. - * @return the object for which the method was called, with the new icon set. - */ - public MarkerOptions icon(BitmapDescriptor icon) { - this.icon = icon; - this.iconBinder = icon == null ? null : icon.getRemoteObject().asBinder(); - return this; - } - - /** - * Specifies the anchor point of the info window on the marker image. This is specified in the - * same coordinate system as the anchor. See {@link MarkerOptions#anchor(float, float)} for - * more details. The default is the top middle of the image. - * - * @param u u-coordinate of the info window anchor, as a ratio of the image width (in the range [0, 1]) - * @param v v-coordinate of the info window anchor, as a ratio of the image height (in the range [0, 1]) - * @return the object for which the method was called, with the new info window anchor set. - */ - public MarkerOptions infoWindowAnchor(float u, float v) { - this.infoWindowAnchorU = u; - this.infoWindowAnchorV = v; - return this; - } - - /** - * Gets the draggability setting for this MarkerOptions object. - * - * @return {@code true} if the marker is draggable; otherwise, returns {@code false}. - */ - public boolean isDraggable() { - return draggable; - } - - /** - * Gets the flat setting for this MarkerOptions object. - * - * @return {@code true} if the marker is flat against the map; {@code false} if the marker - * should face the camera. - */ - public boolean isFlat() { - return flat; - } - - /** - * Gets the visibility setting for this MarkerOptions object. - * - * @return {@code true} if the marker is visible; otherwise, returns {@code false}. - */ - public boolean isVisible() { - return visible; - } - - /** - * Sets the location for the marker. - * - * @return the object for which the method was called, with the new position set. - */ - public MarkerOptions position(LatLng position) { - this.position = position; - return this; - } - - /** - * Sets the rotation of the marker in degrees clockwise about the marker's anchor point. The - * axis of rotation is perpendicular to the marker. A rotation of 0 corresponds to the default - * position of the marker. When the marker is flat on the map, the default position is North - * aligned and the rotation is such that the marker always remains flat on the map. When the - * marker is a billboard, the default position is pointing up and the rotation is such that - * the marker is always facing the camera. The default value is 0. - * - * @return the object for which the method was called, with the new rotation set. - */ - public MarkerOptions rotation(float rotation) { - this.rotation = rotation; - return this; - } - - /** - * Sets the snippet for the marker. - * - * @return the object for which the method was called, with the new snippet set. - */ - public MarkerOptions snippet(String snippet) { - this.snippet = snippet; - return this; - } - - /** - * Sets the title for the marker. - * - * @return the object for which the method was called, with the new title set. - */ - public MarkerOptions title(String title) { - this.title = title; - return this; - } - - /** - * Sets the visibility for the marker. - * - * @return the object for which the method was called, with the new visibility state set. - */ - public MarkerOptions visible(boolean visible) { - this.visible = visible; - return this; - } - - public MarkerOptions zIndex(float zIndex) { - this.zIndex = zIndex; - return this; - } - - public float getZIndex() { - return this.zIndex; - } - - public static Creator CREATOR = new AutoCreator(MarkerOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/PolygonOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/PolygonOptions.java deleted file mode 100644 index 94fca7e1..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/PolygonOptions.java +++ /dev/null @@ -1,150 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import android.graphics.Color; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -import java.util.ArrayList; -import java.util.List; - -/** - * Defines options for a polygon. - * TODO: Docs - */ -@PublicApi -public class PolygonOptions extends AutoSafeParcelable { - @SafeParceled(1) - private int versionCode = 1; - @SafeParceled(value = 2, subClass = LatLng.class) - private List points = new ArrayList(); - @SafeParceled(value = 3, subClass = LatLng.class, useClassLoader = true) - private List> holes = new ArrayList>(); - @SafeParceled(4) - private float strokeWidth = 10; - @SafeParceled(5) - private int strokeColor = Color.BLACK; - @SafeParceled(6) - private int fillColor = Color.TRANSPARENT; - @SafeParceled(7) - private float zIndex = 0; - @SafeParceled(8) - private boolean visible = true; - @SafeParceled(9) - private boolean geodesic = false; - - /** - * Creates polygon options. - */ - public PolygonOptions() { - } - - public PolygonOptions add(LatLng point) { - points.add(point); - return this; - } - - public PolygonOptions add(LatLng... points) { - for (LatLng point : points) { - this.points.add(point); - } - return this; - } - - public PolygonOptions add(Iterable points) { - for (LatLng point : points) { - this.points.add(point); - } - return this; - } - - public PolygonOptions addHole(Iterable points) { - ArrayList hole = new ArrayList(); - for (LatLng point : points) { - hole.add(point); - } - holes.add(hole); - return this; - } - - public PolygonOptions fillColor(int color) { - this.fillColor = color; - return this; - } - - public PolygonOptions geodesic(boolean geodesic) { - this.geodesic = geodesic; - return this; - } - - public int getFillColor() { - return fillColor; - } - - public List> getHoles() { - return holes; - } - - public List getPoints() { - return points; - } - - public int getStrokeColor() { - return strokeColor; - } - - public float getStrokeWidth() { - return strokeWidth; - } - - public float getZIndex() { - return zIndex; - } - - public boolean isGeodesic() { - return geodesic; - } - - public boolean isVisible() { - return visible; - } - - public PolygonOptions strokeColor(int color) { - this.strokeColor = color; - return this; - } - - public PolygonOptions strokeWidth(float width) { - this.strokeWidth = width; - return this; - } - - public PolygonOptions visible(boolean visible) { - this.visible = visible; - return this; - } - - public PolygonOptions zIndex(float zIndex) { - this.zIndex = zIndex; - return this; - } - - public static Creator CREATOR = new AutoCreator(PolygonOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/PolylineOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/PolylineOptions.java deleted file mode 100644 index d9a9dc5b..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/PolylineOptions.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import android.graphics.Color; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -import java.util.ArrayList; -import java.util.List; - -/** - * Defines options for a polyline. - * TODO - */ -@PublicApi -public class PolylineOptions extends AutoSafeParcelable { - @SafeParceled(1) - private int versionCode = 1; - @SafeParceled(value = 2, subClass = LatLng.class) - private List points = new ArrayList(); - @SafeParceled(3) - private float width = 10; - @SafeParceled(4) - private int color = Color.BLACK; - @SafeParceled(5) - private float zIndex = 0; - @SafeParceled(6) - private boolean visible = true; - @SafeParceled(7) - private boolean geodesic = false; - - public PolylineOptions() { - } - - public PolylineOptions add(LatLng point) { - points.add(point); - return this; - } - - public PolylineOptions add(LatLng... points) { - for (LatLng point : points) { - this.points.add(point); - } - return this; - } - - public PolylineOptions addAll(Iterable points) { - for (LatLng point : points) { - this.points.add(point); - } - return this; - } - - public PolylineOptions color(int color) { - this.color = color; - return this; - } - - public PolylineOptions geodesic(boolean geodesic) { - this.geodesic = geodesic; - return this; - } - - public int getColor() { - return color; - } - - public List getPoints() { - return points; - } - - public float getWidth() { - return width; - } - - public float getZIndex() { - return zIndex; - } - - public boolean isGeodesic() { - return geodesic; - } - - public boolean isVisible() { - return visible; - } - - public PolylineOptions visible(boolean visible) { - this.visible = visible; - return this; - } - - public PolylineOptions width(float width) { - this.width = width; - return this; - } - - public PolylineOptions zIndex(float zIndex) { - this.zIndex = zIndex; - return this; - } - - public static Creator CREATOR = new AutoCreator(PolylineOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaCamera.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaCamera.java deleted file mode 100644 index 2737de9d..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaCamera.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import org.microg.gms.common.PublicApi; - -@PublicApi -public class StreetViewPanoramaCamera { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaLink.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaLink.java deleted file mode 100644 index 2dfcbd03..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaLink.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import org.microg.gms.common.PublicApi; - -@PublicApi -public class StreetViewPanoramaLink { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaLocation.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaLocation.java deleted file mode 100644 index b1254689..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaLocation.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import org.microg.gms.common.PublicApi; - -@PublicApi -public class StreetViewPanoramaLocation { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaOrientation.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaOrientation.java deleted file mode 100644 index fa7f657f..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/StreetViewPanoramaOrientation.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import org.microg.gms.common.PublicApi; - -@PublicApi -public class StreetViewPanoramaOrientation { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/Tile.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/Tile.java deleted file mode 100644 index 3f0deea5..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/Tile.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -/** - * Contains information about a Tile that is returned by a {@link TileProvider}. - * TODO SafeParceled - */ -@PublicApi -public class Tile extends AutoSafeParcelable { - @SafeParceled(1) - private int versionCode = 1; - /** - * The width of the image encoded by {@link #data} in pixels. - */ - @SafeParceled(2) - public final int width; - /** - * The height of the image encoded by {@link #data} in pixels. - */ - @SafeParceled(3) - public final int height; - /** - * A byte array containing the image data. The image will be created from this data by calling - * {@link android.graphics.BitmapFactory#decodeByteArray(byte[], int, int)}. - */ - @SafeParceled(4) - public final byte[] data; - - private Tile() { - width = height = 0; - data = null; - } - - /** - * Constructs a {@link Tile}. - * - * @param width the width of the image in pixels - * @param height the height of the image in pixels - * @param data A byte array containing the image data. The image will be created from this - * data by calling - * {@link android.graphics.BitmapFactory#decodeByteArray(byte[], int, int)}. - */ - public Tile(int width, int height, byte[] data) { - this.width = width; - this.height = height; - this.data = data; - } - - public static Creator CREATOR = new AutoCreator(Tile.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/TileOverlayOptions.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/TileOverlayOptions.java deleted file mode 100644 index 1fdffe36..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/TileOverlayOptions.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import android.os.IBinder; -import android.os.RemoteException; - -import com.google.android.gms.maps.model.internal.ITileProviderDelegate; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -/** - * Defines options for a TileOverlay. - */ -@PublicApi -public class TileOverlayOptions extends AutoSafeParcelable { - - @SafeParceled(1) - private int versionCode = 1; - /** - * This is a IBinder to the {@link #tileProvider}, built using {@link ITileProviderDelegate}. - */ - @SafeParceled(2) - private IBinder tileProviderBinder; - private TileProvider tileProvider; - @SafeParceled(3) - private boolean visible = true; - @SafeParceled(4) - private float zIndex; - @SafeParceled(5) - private boolean fadeIn = true; - - /** - * Creates a new set of tile overlay options. - */ - public TileOverlayOptions() { - } - - /** - * Specifies whether the tiles should fade in. The default is {@code true}. - * - * @return this {@link TileOverlayOptions} object with a new fadeIn setting. - */ - public TileOverlayOptions fadeIn(boolean fadeIn) { - this.fadeIn = fadeIn; - return this; - } - - /** - * Gets whether the tiles should fade in. - * - * @return {@code true} if the tiles are to fade in; {@code false} if it is not. - */ - public boolean getFadeIn() { - return fadeIn; - } - - /** - * Gets the tile provider set for this {@link TileOverlayOptions} object. - * - * @return the {@link TileProvider} of the tile overlay. - */ - public TileProvider getTileProvider() { - return tileProvider; - } - - /** - * Gets the zIndex set for this {@link TileOverlayOptions} object. - * - * @return the zIndex of the tile overlay. - */ - public float getZIndex() { - return zIndex; - } - - /** - * Gets the visibility setting for this {@link TileOverlayOptions} object. - * - * @return {@code true} if the tile overlay is to be visible; {@code false} if it is not. - */ - public boolean isVisible() { - return visible; - } - - /** - * Specifies the tile provider to use for this tile overlay. - * - * @param tileProvider the {@link TileProvider} to use for this tile overlay. - * @return the object for which the method was called, with the new tile provider set. - */ - public TileOverlayOptions tileProvider(final TileProvider tileProvider) { - this.tileProvider = tileProvider; - this.tileProviderBinder = new ITileProviderDelegate.Stub() { - @Override - public Tile getTile(int x, int y, int zoom) throws RemoteException { - return tileProvider.getTile(x, y, zoom); - } - }; - return this; - } - - /** - * Specifies the visibility for the tile overlay. The default visibility is {@code true}. - * - * @return this {@link TileOverlayOptions} object with a new visibility setting. - */ - public TileOverlayOptions visible(boolean visible) { - this.visible = visible; - return this; - } - - /** - * Specifies the tile overlay's zIndex, i.e., the order in which it will be drawn where - * overlays with larger values are drawn above those with lower values. See the documentation - * at the top of this class for more information about zIndex. - * - * @return this {@link TileOverlayOptions} object with a new zIndex set. - */ - public TileOverlayOptions zIndex(float zIndex) { - this.zIndex = zIndex; - return this; - } - - public static Creator CREATOR = new AutoCreator(TileOverlayOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/TileProvider.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/TileProvider.java deleted file mode 100644 index 9a1e930d..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/TileProvider.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -/** - * An interface for a class that provides the tile images for a TileOverlay. For information about - * the tile coordinate system, see TileOverlay. - *

- * Calls to methods in this interface might be made from multiple threads so implementations of - * this interface must be threadsafe. - */ -public interface TileProvider { - public static final Tile NO_TILE = new Tile(-1, -1, null); - - /** - * Returns the tile to be used for this tile coordinate. - * - * @param x The x coordinate of the tile. This will be in the range [0, 2^(zoom - 1)] inclusive. - * @param y The y coordinate of the tile. This will be in the range [0, 2^(zoom - 1)] inclusive. - * @param zoom The zoom level of the tile. - * @return the {@link Tile} to be used for this tile coordinate. If you do not wish to provide - * a tile for this tile coordinate, return {@link #NO_TILE}. If the tile could not be found at - * this point in time, return null and further requests might be made with an exponential - * backoff. - */ - public Tile getTile(int x, int y, int zoom); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/VisibleRegion.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/VisibleRegion.java deleted file mode 100644 index 93c4d813..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/VisibleRegion.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.maps.model; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; -import org.microg.safeparcel.SafeParceled; - -@PublicApi -public class VisibleRegion extends AutoSafeParcelable { - @SafeParceled(1) - private int versionCode; - @SafeParceled(2) - private LatLng nearLeft; - @SafeParceled(3) - private LatLng nearRight; - @SafeParceled(4) - private LatLng farLeft; - @SafeParceled(5) - private LatLng farRight; - @SafeParceled(6) - private LatLngBounds bounds; - - private VisibleRegion() { - } - - public VisibleRegion(int versionCode, LatLng nearLeft, LatLng nearRight, LatLng farLeft, - LatLng farRight, LatLngBounds bounds) { - this.versionCode = versionCode; - this.nearLeft = nearLeft; - this.nearRight = nearRight; - this.farLeft = farLeft; - this.farRight = farRight; - this.bounds = bounds; - } - - public VisibleRegion(LatLng nearLeft, LatLng nearRight, LatLng farLeft, LatLng farRight, - LatLngBounds bounds) { - this(1, nearLeft, nearRight, farLeft, farRight, bounds); - } - - /** - * This is assuming that the visible region matches the bounds, which means that it's a north - * orientated top view - */ - public VisibleRegion(LatLngBounds bounds) { - this(bounds.southwest, new LatLng(bounds.southwest.latitude, bounds.northeast.longitude), - new LatLng(bounds.northeast.latitude, bounds.southwest.longitude), bounds.northeast, - bounds); - } - - public static Creator CREATOR = new AutoCreator(VisibleRegion.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/maps/model/package-info.java b/play-services-api/src/main/java/com/google/android/gms/maps/model/package-info.java deleted file mode 100644 index 8c40c393..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/maps/model/package-info.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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. - */ - -/** - * Contains the Google Maps Android API model classes. - */ -package com.google.android.gms.maps.model; diff --git a/play-services-api/src/main/java/com/google/android/gms/measurement/internal/AppMetadata.java b/play-services-api/src/main/java/com/google/android/gms/measurement/internal/AppMetadata.java index 9c7c3671..b2b38f33 100644 --- a/play-services-api/src/main/java/com/google/android/gms/measurement/internal/AppMetadata.java +++ b/play-services-api/src/main/java/com/google/android/gms/measurement/internal/AppMetadata.java @@ -25,7 +25,7 @@ public class AppMetadata extends AutoSafeParcelable { @Field(8) private String field8; @Field(9) - private boolean field9 = true; + private final boolean field9 = true; @Field(10) private boolean field10; @Field(11) diff --git a/play-services-api/src/main/java/com/google/android/gms/people/internal/ParcelableLoadImageOptions.java b/play-services-api/src/main/java/com/google/android/gms/people/internal/ParcelableLoadImageOptions.java index 61180fd4..d0a7a742 100644 --- a/play-services-api/src/main/java/com/google/android/gms/people/internal/ParcelableLoadImageOptions.java +++ b/play-services-api/src/main/java/com/google/android/gms/people/internal/ParcelableLoadImageOptions.java @@ -21,7 +21,7 @@ import org.microg.safeparcel.SafeParceled; public class ParcelableLoadImageOptions extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public int imageSize; diff --git a/play-services-api/src/main/java/com/google/android/gms/people/model/AccountMetadata.java b/play-services-api/src/main/java/com/google/android/gms/people/model/AccountMetadata.java index 814a6574..53038bbc 100644 --- a/play-services-api/src/main/java/com/google/android/gms/people/model/AccountMetadata.java +++ b/play-services-api/src/main/java/com/google/android/gms/people/model/AccountMetadata.java @@ -22,7 +22,7 @@ import org.microg.safeparcel.SafeParceled; public class AccountMetadata extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 2; + private final int versionCode = 2; @SafeParceled(2) public boolean hasGooglePlus = true; diff --git a/play-services-api/src/main/java/com/google/android/gms/playlog/internal/LogEvent.java b/play-services-api/src/main/java/com/google/android/gms/playlog/internal/LogEvent.java index 03ccbbc5..5b129ba3 100644 --- a/play-services-api/src/main/java/com/google/android/gms/playlog/internal/LogEvent.java +++ b/play-services-api/src/main/java/com/google/android/gms/playlog/internal/LogEvent.java @@ -25,7 +25,7 @@ import java.util.Date; public class LogEvent extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) public final long eventTime; diff --git a/play-services-api/src/main/java/com/google/android/gms/plus/internal/PlusCommonExtras.java b/play-services-api/src/main/java/com/google/android/gms/plus/internal/PlusCommonExtras.java deleted file mode 100644 index 72d908e3..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/plus/internal/PlusCommonExtras.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.plus.internal; - -public class PlusCommonExtras { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/plus/internal/PlusSession.java b/play-services-api/src/main/java/com/google/android/gms/plus/internal/PlusSession.java deleted file mode 100644 index b5b3f8a0..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/plus/internal/PlusSession.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.plus.internal; - -public class PlusSession { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/CardsRequest.java b/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/CardsRequest.java deleted file mode 100644 index aee4d0b6..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/CardsRequest.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.plus.internal.model.smart_profile; - -public class CardsRequest { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/CardsResponse.java b/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/CardsResponse.java deleted file mode 100644 index bf6c9670..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/CardsResponse.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.plus.internal.model.smart_profile; - -public class CardsResponse { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/PeopleForProfilesRequest.java b/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/PeopleForProfilesRequest.java deleted file mode 100644 index c45512d4..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/PeopleForProfilesRequest.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.plus.internal.model.smart_profile; - -public class PeopleForProfilesRequest { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/PeopleForProfilesResponse.java b/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/PeopleForProfilesResponse.java deleted file mode 100644 index 4c108aa5..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/plus/internal/model/smart_profile/PeopleForProfilesResponse.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.plus.internal.model.smart_profile; - -public class PeopleForProfilesResponse { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Comment.java b/play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Comment.java deleted file mode 100644 index 37a215c0..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Comment.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.plus.model.posts; - -public class Comment { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Post.java b/play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Post.java deleted file mode 100644 index 3b9c3466..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Post.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.plus.model.posts; - -public class Post { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Settings.java b/play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Settings.java deleted file mode 100644 index a7045a3c..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/plus/model/posts/Settings.java +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.plus.model.posts; - -public class Settings { -} diff --git a/play-services-api/src/main/java/com/google/android/gms/reminders/AccountState.java b/play-services-api/src/main/java/com/google/android/gms/reminders/AccountState.java deleted file mode 100644 index 4ad0101f..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/reminders/AccountState.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.reminders; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class AccountState extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(AccountState.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/reminders/CreateReminderOptionsInternal.java b/play-services-api/src/main/java/com/google/android/gms/reminders/CreateReminderOptionsInternal.java deleted file mode 100644 index cc0d81c6..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/reminders/CreateReminderOptionsInternal.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.reminders; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CreateReminderOptionsInternal extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CreateReminderOptionsInternal.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/reminders/LoadRemindersOptions.java b/play-services-api/src/main/java/com/google/android/gms/reminders/LoadRemindersOptions.java deleted file mode 100644 index fd69c55a..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/reminders/LoadRemindersOptions.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.reminders; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class LoadRemindersOptions extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(LoadRemindersOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/reminders/ReindexDueDatesOptions.java b/play-services-api/src/main/java/com/google/android/gms/reminders/ReindexDueDatesOptions.java deleted file mode 100644 index e6a4eba3..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/reminders/ReindexDueDatesOptions.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.reminders; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ReindexDueDatesOptions extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(ReindexDueDatesOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/reminders/UpdateRecurrenceOptions.java b/play-services-api/src/main/java/com/google/android/gms/reminders/UpdateRecurrenceOptions.java deleted file mode 100644 index ae708746..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/reminders/UpdateRecurrenceOptions.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.reminders; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class UpdateRecurrenceOptions extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(UpdateRecurrenceOptions.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/reminders/model/CustomizedSnoozePresetEntity.java b/play-services-api/src/main/java/com/google/android/gms/reminders/model/CustomizedSnoozePresetEntity.java deleted file mode 100644 index 29ee864e..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/reminders/model/CustomizedSnoozePresetEntity.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.reminders.model; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CustomizedSnoozePresetEntity extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(CustomizedSnoozePresetEntity.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/reminders/model/TaskEntity.java b/play-services-api/src/main/java/com/google/android/gms/reminders/model/TaskEntity.java deleted file mode 100644 index 4062335a..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/reminders/model/TaskEntity.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.reminders.model; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class TaskEntity extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(TaskEntity.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/reminders/model/TaskIdEntity.java b/play-services-api/src/main/java/com/google/android/gms/reminders/model/TaskIdEntity.java deleted file mode 100644 index 1816b1f3..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/reminders/model/TaskIdEntity.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.android.gms.reminders.model; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class TaskIdEntity extends AutoSafeParcelable { - public static Creator CREATOR = new AutoCreator(TaskIdEntity.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/search/corpora/GetCorpusStatusRequest.java b/play-services-api/src/main/java/com/google/android/gms/search/corpora/GetCorpusStatusRequest.java index 051a5332..923fa08d 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/corpora/GetCorpusStatusRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/corpora/GetCorpusStatusRequest.java @@ -22,7 +22,7 @@ import org.microg.safeparcel.SafeParceled; public class GetCorpusStatusRequest extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public final String packageName; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/corpora/RequestIndexingRequest.java b/play-services-api/src/main/java/com/google/android/gms/search/corpora/RequestIndexingRequest.java index 4fa3396b..5ad820ee 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/corpora/RequestIndexingRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/corpora/RequestIndexingRequest.java @@ -22,7 +22,7 @@ import org.microg.safeparcel.SafeParceled; public class RequestIndexingRequest extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public final String packageName; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/GetCurrentExperimentIdsRequest.java b/play-services-api/src/main/java/com/google/android/gms/search/global/GetCurrentExperimentIdsRequest.java index 6cc364e9..4f4fb2f2 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/GetCurrentExperimentIdsRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/GetCurrentExperimentIdsRequest.java @@ -22,7 +22,7 @@ import org.microg.safeparcel.SafeParceled; public class GetCurrentExperimentIdsRequest extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; public static final Creator CREATOR = new AutoCreator(GetCurrentExperimentIdsRequest.class); } diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/GetCurrentExperimentIdsResponse.java b/play-services-api/src/main/java/com/google/android/gms/search/global/GetCurrentExperimentIdsResponse.java index 6fa3ef70..d7c03e83 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/GetCurrentExperimentIdsResponse.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/GetCurrentExperimentIdsResponse.java @@ -26,7 +26,7 @@ import java.util.Arrays; public class GetCurrentExperimentIdsResponse extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public final Status status; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/GetGlobalSearchSourcesRequest.java b/play-services-api/src/main/java/com/google/android/gms/search/global/GetGlobalSearchSourcesRequest.java index 6c062611..d00af636 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/GetGlobalSearchSourcesRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/GetGlobalSearchSourcesRequest.java @@ -22,7 +22,7 @@ import org.microg.safeparcel.SafeParceled; public class GetGlobalSearchSourcesRequest extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public boolean bool; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/GetGlobalSearchSourcesResponse.java b/play-services-api/src/main/java/com/google/android/gms/search/global/GetGlobalSearchSourcesResponse.java index 3aa8e3b2..e972d4e2 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/GetGlobalSearchSourcesResponse.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/GetGlobalSearchSourcesResponse.java @@ -28,7 +28,7 @@ import java.util.Arrays; public class GetGlobalSearchSourcesResponse extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public final Status status; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/GetPendingExperimentIdsRequest.java b/play-services-api/src/main/java/com/google/android/gms/search/global/GetPendingExperimentIdsRequest.java index 3df0a0cc..38c0a3b1 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/GetPendingExperimentIdsRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/GetPendingExperimentIdsRequest.java @@ -22,7 +22,7 @@ import org.microg.safeparcel.SafeParceled; public class GetPendingExperimentIdsRequest extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; public static final Creator CREATOR = new AutoCreator(GetPendingExperimentIdsRequest.class); } diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/GetPendingExperimentIdsResponse.java b/play-services-api/src/main/java/com/google/android/gms/search/global/GetPendingExperimentIdsResponse.java index cd98184a..0f05c33c 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/GetPendingExperimentIdsResponse.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/GetPendingExperimentIdsResponse.java @@ -26,7 +26,7 @@ import java.util.Arrays; public class GetPendingExperimentIdsResponse extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public final Status status; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/SetExperimentIdsRequest.java b/play-services-api/src/main/java/com/google/android/gms/search/global/SetExperimentIdsRequest.java index dd6982f2..c1c5001d 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/SetExperimentIdsRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/SetExperimentIdsRequest.java @@ -24,7 +24,7 @@ import java.util.Arrays; public class SetExperimentIdsRequest extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public byte[] experimentIds; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/SetExperimentIdsResponse.java b/play-services-api/src/main/java/com/google/android/gms/search/global/SetExperimentIdsResponse.java index 17fb679f..ae31e4fd 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/SetExperimentIdsResponse.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/SetExperimentIdsResponse.java @@ -24,7 +24,7 @@ import org.microg.safeparcel.SafeParceled; public class SetExperimentIdsResponse extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public final Status status; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/SetIncludeInGlobalSearchRequest.java b/play-services-api/src/main/java/com/google/android/gms/search/global/SetIncludeInGlobalSearchRequest.java index 4e4fe7b6..ca8ef82a 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/SetIncludeInGlobalSearchRequest.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/SetIncludeInGlobalSearchRequest.java @@ -22,7 +22,7 @@ import org.microg.safeparcel.SafeParceled; public class SetIncludeInGlobalSearchRequest extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public String packageName; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/global/SetIncludeInGlobalSearchResponse.java b/play-services-api/src/main/java/com/google/android/gms/search/global/SetIncludeInGlobalSearchResponse.java index c9671038..d31ea040 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/global/SetIncludeInGlobalSearchResponse.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/global/SetIncludeInGlobalSearchResponse.java @@ -24,7 +24,7 @@ import org.microg.safeparcel.SafeParceled; public class SetIncludeInGlobalSearchResponse extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public final Status status; diff --git a/play-services-api/src/main/java/com/google/android/gms/search/queries/QueryResponse.java b/play-services-api/src/main/java/com/google/android/gms/search/queries/QueryResponse.java index a3f1ce55..6b9132b7 100644 --- a/play-services-api/src/main/java/com/google/android/gms/search/queries/QueryResponse.java +++ b/play-services-api/src/main/java/com/google/android/gms/search/queries/QueryResponse.java @@ -25,7 +25,7 @@ import org.microg.safeparcel.SafeParceled; public class QueryResponse extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public final Status status; diff --git a/play-services-api/src/main/java/com/google/android/gms/wallet/IsReadyToPayRequest.java b/play-services-api/src/main/java/com/google/android/gms/wallet/IsReadyToPayRequest.java deleted file mode 100644 index 2f9fde8b..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/wallet/IsReadyToPayRequest.java +++ /dev/null @@ -1,161 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2020, microG Project Team - * SPDX-License-Identifier: Apache-2.0 AND CC-BY-4.0 - * Notice: Portions of this file are reproduced from work created and shared by Google and used - * according to terms described in the Creative Commons 4.0 Attribution License. - * See https://developers.google.com/readme/policies for details. - */ - -package com.google.android.gms.wallet; - -import org.microg.gms.common.PublicApi; -import org.microg.safeparcel.AutoSafeParcelable; - -import java.util.ArrayList; -import java.util.Collection; - -/** - * A Parcelable request that can optionally be passed to {@link PaymentsClient#isReadyToPay(IsReadyToPayRequest)} to specify additional filtering criteria for determining if a user is considered ready to pay. - */ -@PublicApi -public class IsReadyToPayRequest extends AutoSafeParcelable { - @Field(value = 2, useDirectList = true) - private ArrayList allowedCardNetworks; - @Field(4) - private String unknown4; - @Field(5) - private String unknown5; - @Field(value = 6, useDirectList = true) - private ArrayList allowedPaymentMethods; - @Field(7) - private boolean existingPaymentMethodRequired; - @Field(8) - private String json; - - private IsReadyToPayRequest() { - } - - private IsReadyToPayRequest(String json) { - this.json = json; - } - - /** - * Constructs {@link IsReadyToPayRequest} from a JSON object serialized as a string. - *

- * To convert back to a JSON object serialized as string use {@link #toJson()}. - *

- * Note that you shouldn't rely on the values returned by getters in {@link IsReadyToPayRequest} as they will not be populated with the data set in the given JSON. - *

- * For the expected format of this JSON, please see IsReadyToPayRequest object reference documentation. - */ - public static IsReadyToPayRequest fromJson(String isReadyToPayRequestJson) { - return new IsReadyToPayRequest(isReadyToPayRequestJson); - } - - /** - * @return a builder for constructing the {@link IsReadyToPayRequest} object. - * @deprecated Use the JSON request format instead, see {@link #fromJson(String)}. - */ - public static IsReadyToPayRequest.Builder newBuilder() { - return new IsReadyToPayRequest().new Builder(); - } - - /** - * Returns {@link IsReadyToPayRequest} in JSON format. - *

- * Note that this will be {@code null} if this request was not constructed using {@link #fromJson(String)}. - *

- * For the expected format of this JSON, please see IsReadyToPayRequest object reference documentation. - */ - public String toJson() { - return json; - } - - /** - * @return the {@link WalletConstants.CardNetwork} that will be used to filter the instruments deemed acceptable by {@link PaymentsClient#isReadyToPay(IsReadyToPayRequest)}. If not explicitly set, the default supported networks will be {@link WalletConstants#CARD_NETWORK_AMEX}, {@link WalletConstants#CARD_NETWORK_DISCOVER}, {@link WalletConstants#CARD_NETWORK_MASTERCARD}, and {@link WalletConstants#CARD_NETWORK_VISA}. - * @deprecated Use the JSON request format instead, see {@link #fromJson(String)}. - */ - public ArrayList getAllowedCardNetworks() { - return allowedCardNetworks; - } - - /** - * @return the supported payment credential types defined in {@link WalletConstants.PaymentMethod}, or {@code null} if no restrictions were specified. - * @deprecated Use the JSON request format instead, see {@link #fromJson(String)}. - */ - public ArrayList getAllowedPaymentMethods() { - return allowedPaymentMethods; - } - - /** - * @return whether or not IsReadyToPay will be determined by the user having an existing payment method that matches the other criteria specified in the IsReadyToPayRequest. - * @deprecated Use the JSON request format instead, see {@link #fromJson(String)}. - */ - public boolean isExistingPaymentMethodRequired() { - return existingPaymentMethodRequired; - } - - /** - * Builder for creating an {@link IsReadyToPayRequest}. - * - * @deprecated Use the JSON request format instead, see {@link #fromJson(String)}. - */ - public class Builder { - /** - * Adds a card network for cards allowed in the purchase. See {@link WalletConstants.CardNetwork} for available options. If not explicitly set via this or {@link #addAllowedCardNetworks(Collection)}, the default supported networks will be {@link WalletConstants#CARD_NETWORK_AMEX}, {@link WalletConstants#CARD_NETWORK_DISCOVER}, {@link WalletConstants#CARD_NETWORK_MASTERCARD}, and {@link WalletConstants#CARD_NETWORK_VISA}. - */ - public Builder addAllowedCardNetwork(int allowedCardNetwork) { - if (allowedCardNetworks == null) allowedCardNetworks = new ArrayList<>(); - allowedCardNetworks.add(allowedCardNetwork); - return this; - } - - /** - * Adds a collection of card networks for cards allowed in the purchase. See {@link WalletConstants.CardNetwork} for available options. If not explicitly set via this or {@link #addAllowedCardNetwork(int)}, the default supported networks will be {@link WalletConstants#CARD_NETWORK_AMEX}, {@link WalletConstants#CARD_NETWORK_DISCOVER}, {@link WalletConstants#CARD_NETWORK_MASTERCARD}, and {@link WalletConstants#CARD_NETWORK_VISA}. - */ - public Builder addAllowedCardNetworks(Collection allowedCardNetworks) { - if (IsReadyToPayRequest.this.allowedCardNetworks == null) - IsReadyToPayRequest.this.allowedCardNetworks = new ArrayList<>(); - IsReadyToPayRequest.this.allowedCardNetworks.addAll(allowedCardNetworks); - return this; - } - - /** - * Adds an allowed payment method. See {@link WalletConstants.PaymentMethod} for available options. If not explicitly set via this or {@link #addAllowedPaymentMethods(Collection)}, then the default allowed payment method will be {@link WalletConstants#PAYMENT_METHOD_TOKENIZED_CARD}. - */ - public Builder addAllowedPaymentMethod(int allowedPaymentMethod) { - if (allowedPaymentMethods == null) allowedPaymentMethods = new ArrayList<>(); - allowedPaymentMethods.add(allowedPaymentMethod); - return this; - } - - /** - * Adds a collection of allowed payment methods. See {@link WalletConstants.PaymentMethod} for available options. If not explicitly set via this or {@link #addAllowedPaymentMethod(int)}, then the default allowed payment method will be {@link WalletConstants#PAYMENT_METHOD_TOKENIZED_CARD}. - */ - public Builder addAllowedPaymentMethods(Collection allowedPaymentMethods) { - if (IsReadyToPayRequest.this.allowedPaymentMethods == null) - IsReadyToPayRequest.this.allowedPaymentMethods = new ArrayList<>(); - IsReadyToPayRequest.this.allowedPaymentMethods.addAll(allowedPaymentMethods); - return this; - } - - /** - * @return The actual {@link IsReadyToPayRequest} created using the data passed to the Builder object. - */ - public IsReadyToPayRequest build() { - return IsReadyToPayRequest.this; - } - - /** - * If set to true, then IsReadyToPay will only return true if the user has an existing payment method that matches the other criteria specified in the IsReadyToPayRequest. - *

- * If you set this to true, make sure to call {@link PaymentsClient#isReadyToPay(IsReadyToPayRequest)} as early as possible in your flow as the call may take longer to resolve due to the extra check for an existing payment method. - */ - public Builder setExistingPaymentMethodRequired(boolean existingPaymentMethodRequired) { - IsReadyToPayRequest.this.existingPaymentMethodRequired = existingPaymentMethodRequired; - return this; - } - } - - public static final Creator CREATOR = new AutoCreator<>(IsReadyToPayRequest.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/wallet/IsReadyToPayResponse.java b/play-services-api/src/main/java/com/google/android/gms/wallet/IsReadyToPayResponse.java deleted file mode 100644 index 96b02404..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/wallet/IsReadyToPayResponse.java +++ /dev/null @@ -1,25 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2020, microG Project Team - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.google.android.gms.wallet; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class IsReadyToPayResponse extends AutoSafeParcelable { - @Field(1) - public boolean result; - @Field(2) - public String json; - - private IsReadyToPayResponse() { - } - - public IsReadyToPayResponse(boolean result, String json) { - this.result = result; - this.json = json; - } - - public static final Creator CREATOR = new AutoCreator<>(IsReadyToPayResponse.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/wallet/WalletConstants.java b/play-services-api/src/main/java/com/google/android/gms/wallet/WalletConstants.java deleted file mode 100644 index 0e3e2056..00000000 --- a/play-services-api/src/main/java/com/google/android/gms/wallet/WalletConstants.java +++ /dev/null @@ -1,117 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2020, microG Project Team - * SPDX-License-Identifier: Apache-2.0 AND CC-BY-4.0 - * Notice: Portions of this file are reproduced from work created and shared by Google and used - * according to terms described in the Creative Commons 4.0 Attribution License. - * See https://developers.google.com/readme/policies for details. - */ - -package com.google.android.gms.wallet; - -import org.microg.gms.common.PublicApi; - -/** - * Collection of constant values used by the ClientLibrary. - */ -@PublicApi -public class WalletConstants { - /** - * Credit card networks. Different APIs may support only a subset of these. - *

- * Available options: - *

    - *
  • {@link #CARD_NETWORK_AMEX}
  • - *
  • {@link #CARD_NETWORK_DISCOVER}
  • - *
  • {@link #CARD_NETWORK_JCB}
  • - *
  • {@link #CARD_NETWORK_MASTERCARD}
  • - *
  • {@link #CARD_NETWORK_VISA}
  • - *
  • {@link #CARD_NETWORK_INTERAC}
  • - *
  • {@link #CARD_NETWORK_OTHER}
  • - *
- * When used with Google Pay, the following networks use EMV cryptograms instead of 3DS cryptograms as part of the payment credentials: - *
    - *
  • {@link #CARD_NETWORK_INTERAC}
  • - *
- */ - public @interface CardNetwork { - /** - * @deprecated Use {@link #CARD_NETWORK_AMEX} instead. - */ - int AMEX = 1; - /** - * @deprecated Use {@link #CARD_NETWORK_DISCOVER} instead. - */ - int DISCOVER = 2; - /** - * @deprecated Use {@link #CARD_NETWORK_JCB} instead. - */ - int JCB = 3; - /** - * @deprecated Use {@link #CARD_NETWORK_MASTERCARD} instead. - */ - int MASTERCARD = 4; - /** - * @deprecated Use {@link #CARD_NETWORK_VISA} instead. - */ - int VISA = 5; - /** - * @deprecated Use {@link #CARD_NETWORK_INTERAC} instead. - */ - int INTERAC = 6; - /** - * @deprecated Use {@link #CARD_NETWORK_OTHER} instead. - */ - int OTHER = 1000; - } - - /** - * The payment methods you support. - *

- * Available options: - *

    - *
  • {@link #PAYMENT_METHOD_UNKNOWN}
  • - *
  • {@link #PAYMENT_METHOD_CARD}
  • - *
  • {@link #PAYMENT_METHOD_TOKENIZED_CARD}
  • - *
- * Note {@link WalletConstants.PaymentMethod} is different from {@link PaymentMethodTokenizationType}, which identifies how you want to receive the returned payment credential. - */ - public @interface PaymentMethod { - } - - /** - * Payment method tokenization types. - *

- * Available options: - *

    - *
  • {@link #PAYMENT_METHOD_TOKENIZATION_TYPE_PAYMENT_GATEWAY}
  • - *
  • {@link #PAYMENT_METHOD_TOKENIZATION_TYPE_NETWORK_TOKEN}
  • - *
  • {@link #PAYMENT_METHOD_TOKENIZATION_TYPE_DIRECT}
  • - *
- * Integrator can configure {@link PaymentDataRequest} to tokenize the credit card selected by the buyer for a transaction using one of the tokenization types listed above. The token for the selected payment method can be retrieved by calling {@link PaymentData#getPaymentMethodToken()}. - */ - public @interface PaymentMethodTokenizationType { - } - - - public static final int CARD_CLASS_CREDIT = 1; - public static final int CARD_CLASS_DEBIT = 2; - public static final int CARD_CLASS_PREPAID = 3; - public static final int CARD_CLASS_UNKNOWN = 0; - - public static final int CARD_NETWORK_AMEX = 1; - public static final int CARD_NETWORK_DISCOVER = 2; - public static final int CARD_NETWORK_INTERAC = 6; - public static final int CARD_NETWORK_JCB = 3; - public static final int CARD_NETWORK_MASTERCARD = 4; - public static final int CARD_NETWORK_OTHER = 1000; - public static final int CARD_NETWORK_VISA = 5; - - public static final int PAYMENT_METHOD_CARD = 1; - public static final int PAYMENT_METHOD_TOKENIZED_CARD = 2; - public static final int PAYMENT_METHOD_UNKNOWN = 0; - - - public static final int PAYMENT_METHOD_TOKENIZATION_TYPE_DIRECT = 3; - public static final int PAYMENT_METHOD_TOKENIZATION_TYPE_NETWORK_TOKEN = 2; - public static final int PAYMENT_METHOD_TOKENIZATION_TYPE_PAYMENT_GATEWAY = 1; -} diff --git a/play-services-api/src/main/java/com/google/firebase/database/connection/idl/CompoundHashParcelable.java b/play-services-api/src/main/java/com/google/firebase/database/connection/idl/CompoundHashParcelable.java deleted file mode 100644 index 4b72c85d..00000000 --- a/play-services-api/src/main/java/com/google/firebase/database/connection/idl/CompoundHashParcelable.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.firebase.database.connection.idl; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class CompoundHashParcelable extends AutoSafeParcelable { - public static final Creator CREATOR = new AutoCreator(CompoundHashParcelable.class); -} diff --git a/play-services-api/src/main/java/com/google/firebase/database/connection/idl/ConnectionConfig.java b/play-services-api/src/main/java/com/google/firebase/database/connection/idl/ConnectionConfig.java deleted file mode 100644 index 290467b2..00000000 --- a/play-services-api/src/main/java/com/google/firebase/database/connection/idl/ConnectionConfig.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.firebase.database.connection.idl; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class ConnectionConfig extends AutoSafeParcelable { - public static final Creator CREATOR = new AutoCreator(ConnectionConfig.class); -} diff --git a/play-services-api/src/main/java/com/google/firebase/database/connection/idl/RangeParcelable.java b/play-services-api/src/main/java/com/google/firebase/database/connection/idl/RangeParcelable.java deleted file mode 100644 index cfd0fd7c..00000000 --- a/play-services-api/src/main/java/com/google/firebase/database/connection/idl/RangeParcelable.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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.firebase.database.connection.idl; - -import org.microg.safeparcel.AutoSafeParcelable; - -public class RangeParcelable extends AutoSafeParcelable { - public static final Creator CREATOR = new AutoCreator(RangeParcelable.class); -} diff --git a/play-services-api/src/main/java/com/google/android/gms/phenotype/Configuration.java b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/Configuration.java similarity index 90% rename from play-services-api/src/main/java/com/google/android/gms/phenotype/Configuration.java rename to play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/Configuration.java index 20bb9d4c..b51ab177 100644 --- a/play-services-api/src/main/java/com/google/android/gms/phenotype/Configuration.java +++ b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/Configuration.java @@ -3,7 +3,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -package com.google.android.gms.phenotype; +package com.mgoogle.android.gms.phenotype; import org.microg.safeparcel.AutoSafeParcelable; diff --git a/play-services-api/src/main/java/com/google/android/gms/phenotype/Configurations.java b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/Configurations.java similarity index 92% rename from play-services-api/src/main/java/com/google/android/gms/phenotype/Configurations.java rename to play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/Configurations.java index 910b7008..8b032262 100644 --- a/play-services-api/src/main/java/com/google/android/gms/phenotype/Configurations.java +++ b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/Configurations.java @@ -3,7 +3,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -package com.google.android.gms.phenotype; +package com.mgoogle.android.gms.phenotype; import org.microg.safeparcel.AutoSafeParcelable; diff --git a/play-services-api/src/main/java/com/google/android/gms/phenotype/ExperimentToken.java b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/ExperimentToken.java similarity index 87% rename from play-services-api/src/main/java/com/google/android/gms/phenotype/ExperimentToken.java rename to play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/ExperimentToken.java index 0d618f2f..4984686b 100644 --- a/play-services-api/src/main/java/com/google/android/gms/phenotype/ExperimentToken.java +++ b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/ExperimentToken.java @@ -3,7 +3,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -package com.google.android.gms.phenotype; +package com.mgoogle.android.gms.phenotype; import org.microg.safeparcel.AutoSafeParcelable; diff --git a/play-services-api/src/main/java/com/google/android/gms/phenotype/Flag.java b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/Flag.java similarity index 86% rename from play-services-api/src/main/java/com/google/android/gms/phenotype/Flag.java rename to play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/Flag.java index 0c1fdc8a..aa6bba20 100644 --- a/play-services-api/src/main/java/com/google/android/gms/phenotype/Flag.java +++ b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/Flag.java @@ -3,7 +3,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -package com.google.android.gms.phenotype; +package com.mgoogle.android.gms.phenotype; import org.microg.safeparcel.AutoSafeParcelable; diff --git a/play-services-api/src/main/java/com/google/android/gms/phenotype/GenericDimension.java b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/GenericDimension.java similarity index 89% rename from play-services-api/src/main/java/com/google/android/gms/phenotype/GenericDimension.java rename to play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/GenericDimension.java index f10f83c0..40e46bdf 100644 --- a/play-services-api/src/main/java/com/google/android/gms/phenotype/GenericDimension.java +++ b/play-services-api/src/main/java/com/mgoogle/android/gms/phenotype/GenericDimension.java @@ -3,7 +3,7 @@ * SPDX-License-Identifier: Apache-2.0 */ -package com.google.android.gms.phenotype; +package com.mgoogle.android.gms.phenotype; import org.microg.safeparcel.AutoSafeParcelable; diff --git a/play-services-api/src/main/java/org/microg/gms/maps/MapsConstants.java b/play-services-api/src/main/java/org/microg/gms/maps/MapsConstants.java deleted file mode 100644 index 301d0771..00000000 --- a/play-services-api/src/main/java/org/microg/gms/maps/MapsConstants.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2013-2017 microG Project Team - * - * 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 org.microg.gms.maps; - -public class MapsConstants { - /** - * No base map tiles. - */ - public static final int MAP_TYPE_NONE = 0; - /** - * Basic maps. - */ - public static final int MAP_TYPE_NORMAL = 1; - /** - * Satellite maps with no labels. - */ - public static final int MAP_TYPE_SATELLITE = 2; - /** - * Terrain maps. - */ - public static final int MAP_TYPE_TERRAIN = 3; - /** - * Satellite maps with a transparent layer of major streets. - */ - public static final int MAP_TYPE_HYBRID = 4; -} diff --git a/play-services-base-api/src/main/java/com/google/android/gms/common/data/DataHolder.java b/play-services-base-api/src/main/java/com/google/android/gms/common/data/DataHolder.java index 2d9113d0..c154b3e4 100644 --- a/play-services-base-api/src/main/java/com/google/android/gms/common/data/DataHolder.java +++ b/play-services-base-api/src/main/java/com/google/android/gms/common/data/DataHolder.java @@ -46,7 +46,7 @@ import java.util.Map; @PublicApi(until = "1") public class DataHolder extends AutoSafeParcelable implements Closeable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) private final String[] columns; diff --git a/play-services-base-api/src/main/java/com/google/android/gms/common/images/WebImage.java b/play-services-base-api/src/main/java/com/google/android/gms/common/images/WebImage.java index 1639c2bf..fee75495 100644 --- a/play-services-base-api/src/main/java/com/google/android/gms/common/images/WebImage.java +++ b/play-services-base-api/src/main/java/com/google/android/gms/common/images/WebImage.java @@ -35,7 +35,7 @@ public class WebImage extends AutoSafeParcelable { } @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) private final Uri uri; diff --git a/play-services-base/src/main/java/com/google/android/gms/common/api/GoogleApi.java b/play-services-base/src/main/java/com/google/android/gms/common/api/GoogleApi.java index 455ba014..54e2c63a 100644 --- a/play-services-base/src/main/java/com/google/android/gms/common/api/GoogleApi.java +++ b/play-services-base/src/main/java/com/google/android/gms/common/api/GoogleApi.java @@ -18,7 +18,7 @@ import org.microg.gms.common.api.PendingGoogleApiCall; @PublicApi public abstract class GoogleApi implements HasApiKey { - private GoogleApiManager manager; + private final GoogleApiManager manager; @PublicApi(exclude = true) public Api api; diff --git a/play-services-base/src/main/java/com/google/android/gms/common/data/DataBuffer.java b/play-services-base/src/main/java/com/google/android/gms/common/data/DataBuffer.java index 309a667b..49c13a99 100644 --- a/play-services-base/src/main/java/com/google/android/gms/common/data/DataBuffer.java +++ b/play-services-base/src/main/java/com/google/android/gms/common/data/DataBuffer.java @@ -28,7 +28,7 @@ import java.util.Iterator; @PublicApi public abstract class DataBuffer implements Releasable, Iterable { - private DataHolder dataHolder; + private final DataHolder dataHolder; @PublicApi(exclude = true) public DataBuffer(DataHolder dataHolder) { diff --git a/play-services-base/src/main/java/org/microg/gms/common/GmsClient.java b/play-services-base/src/main/java/org/microg/gms/common/GmsClient.java index 190bd992..adbd9b55 100644 --- a/play-services-base/src/main/java/org/microg/gms/common/GmsClient.java +++ b/play-services-base/src/main/java/org/microg/gms/common/GmsClient.java @@ -44,7 +44,7 @@ public abstract class GmsClient implements ApiClient { protected ConnectionState state = ConnectionState.NOT_CONNECTED; private ServiceConnection serviceConnection; private I serviceInterface; - private String actionString; + private final String actionString; protected int serviceId = -1; protected Account account = null; diff --git a/play-services-base/src/main/java/org/microg/gms/common/MultiConnectionKeeper.java b/play-services-base/src/main/java/org/microg/gms/common/MultiConnectionKeeper.java index d7aad158..57f63efc 100644 --- a/play-services-base/src/main/java/org/microg/gms/common/MultiConnectionKeeper.java +++ b/play-services-base/src/main/java/org/microg/gms/common/MultiConnectionKeeper.java @@ -88,7 +88,7 @@ public class MultiConnectionKeeper { private boolean connected = false; private IBinder binder; private ComponentName component; - private ServiceConnection serviceConnection = new ServiceConnection() { + private final ServiceConnection serviceConnection = new ServiceConnection() { @Override public void onServiceConnected(ComponentName componentName, IBinder iBinder) { Log.d(TAG, "Connection(" + actionString + ") : ServiceConnection : " + diff --git a/play-services-base/src/main/java/org/microg/gms/common/api/GoogleApiManager.java b/play-services-base/src/main/java/org/microg/gms/common/api/GoogleApiManager.java index addad6a7..4e05aa75 100644 --- a/play-services-base/src/main/java/org/microg/gms/common/api/GoogleApiManager.java +++ b/play-services-base/src/main/java/org/microg/gms/common/api/GoogleApiManager.java @@ -21,9 +21,9 @@ import java.util.Objects; public class GoogleApiManager { private static GoogleApiManager instance; - private Context context; - private Map clientMap = new HashMap<>(); - private Map>> waitingApiCallMap = new HashMap<>(); + private final Context context; + private final Map clientMap = new HashMap<>(); + private final Map>> waitingApiCallMap = new HashMap<>(); private GoogleApiManager(Context context) { this.context = context; @@ -81,7 +81,7 @@ public class GoogleApiManager { } private class ConnectionCallback implements ConnectionCallbacks { - private ApiInstance apiInstance; + private final ApiInstance apiInstance; public ConnectionCallback(ApiInstance apiInstance) { this.apiInstance = apiInstance; @@ -99,7 +99,7 @@ public class GoogleApiManager { } private class ConnectionFailedListener implements OnConnectionFailedListener { - private ApiInstance apiInstance; + private final ApiInstance apiInstance; public ConnectionFailedListener(ApiInstance apiInstance) { this.apiInstance = apiInstance; @@ -112,8 +112,8 @@ public class GoogleApiManager { } private static class WaitingApiCall { - private PendingGoogleApiCall apiCall; - private TaskCompletionSource completionSource; + private final PendingGoogleApiCall apiCall; + private final TaskCompletionSource completionSource; public WaitingApiCall(PendingGoogleApiCall apiCall, TaskCompletionSource completionSource) { this.apiCall = apiCall; @@ -148,8 +148,8 @@ public class GoogleApiManager { } private static class ApiInstance { - private Class apiClass; - private Api.ApiOptions apiOptions; + private final Class apiClass; + private final Api.ApiOptions apiOptions; public ApiInstance(Class apiClass, Api.ApiOptions apiOptions) { this.apiClass = apiClass; diff --git a/play-services-basement/src/main/java/com/google/android/gms/common/api/Scope.java b/play-services-basement/src/main/java/com/google/android/gms/common/api/Scope.java index 28211ee6..60bc1fb9 100644 --- a/play-services-basement/src/main/java/com/google/android/gms/common/api/Scope.java +++ b/play-services-basement/src/main/java/com/google/android/gms/common/api/Scope.java @@ -27,7 +27,7 @@ import org.microg.safeparcel.SafeParceled; @PublicApi public class Scope extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) private final String scopeUri; diff --git a/play-services-basement/src/main/java/com/google/android/gms/common/api/Status.java b/play-services-basement/src/main/java/com/google/android/gms/common/api/Status.java index 25df584d..7b936e67 100644 --- a/play-services-basement/src/main/java/com/google/android/gms/common/api/Status.java +++ b/play-services-basement/src/main/java/com/google/android/gms/common/api/Status.java @@ -39,7 +39,7 @@ public final class Status extends AutoSafeParcelable implements Result { public static final Status SUCCESS = new Status(CommonStatusCodes.SUCCESS, "Success"); @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) private final int statusCode; diff --git a/play-services-basement/src/main/java/com/google/android/gms/common/internal/GetServiceRequest.java b/play-services-basement/src/main/java/com/google/android/gms/common/internal/GetServiceRequest.java index 6e13dc66..a203a99f 100644 --- a/play-services-basement/src/main/java/com/google/android/gms/common/internal/GetServiceRequest.java +++ b/play-services-basement/src/main/java/com/google/android/gms/common/internal/GetServiceRequest.java @@ -31,7 +31,7 @@ import java.util.Arrays; public class GetServiceRequest extends AutoSafeParcelable { @Field(1) - private int versionCode = 4; + private final int versionCode = 4; @Field(2) public final int serviceId; @Field(3) diff --git a/play-services-cast-api/src/main/java/com/google/android/gms/cast/ApplicationMetadata.java b/play-services-cast-api/src/main/java/com/google/android/gms/cast/ApplicationMetadata.java index f8614ce1..1e3993b3 100644 --- a/play-services-cast-api/src/main/java/com/google/android/gms/cast/ApplicationMetadata.java +++ b/play-services-cast-api/src/main/java/com/google/android/gms/cast/ApplicationMetadata.java @@ -30,7 +30,7 @@ import java.util.List; public class ApplicationMetadata extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) public String applicationId; @SafeParceled(3) diff --git a/play-services-cast-api/src/main/java/com/google/android/gms/cast/ApplicationStatus.java b/play-services-cast-api/src/main/java/com/google/android/gms/cast/ApplicationStatus.java index 2eafc853..46aa7737 100644 --- a/play-services-cast-api/src/main/java/com/google/android/gms/cast/ApplicationStatus.java +++ b/play-services-cast-api/src/main/java/com/google/android/gms/cast/ApplicationStatus.java @@ -28,7 +28,7 @@ public class ApplicationStatus extends AutoSafeParcelable { } @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) private String applicationStatus; diff --git a/play-services-cast-api/src/main/java/com/google/android/gms/cast/CastDevice.java b/play-services-cast-api/src/main/java/com/google/android/gms/cast/CastDevice.java index 2d3aaa2a..aaf50ff3 100644 --- a/play-services-cast-api/src/main/java/com/google/android/gms/cast/CastDevice.java +++ b/play-services-cast-api/src/main/java/com/google/android/gms/cast/CastDevice.java @@ -73,7 +73,7 @@ public class CastDevice extends AutoSafeParcelable { public static final int CAPABILITY_AUDIO_IN = 8; @SafeParceled(1) - private int versionCode = 3; + private final int versionCode = 3; @SafeParceled(2) private String deviceId; @@ -183,7 +183,7 @@ public class CastDevice extends AutoSafeParcelable { ", modelName=" + modelName + ", deviceVersion=" + deviceVersion + ", servicePort=" + servicePort + - (icons == null ? "" : (", icons=" + icons.toString())) + + (icons == null ? "" : (", icons=" + icons)) + ", capabilities=" + capabilities + ", status=" + status + "}"; diff --git a/play-services-cast-api/src/main/java/com/google/android/gms/cast/CastDeviceStatus.java b/play-services-cast-api/src/main/java/com/google/android/gms/cast/CastDeviceStatus.java index b44251f3..ea781b53 100644 --- a/play-services-cast-api/src/main/java/com/google/android/gms/cast/CastDeviceStatus.java +++ b/play-services-cast-api/src/main/java/com/google/android/gms/cast/CastDeviceStatus.java @@ -33,7 +33,7 @@ public class CastDeviceStatus extends AutoSafeParcelable { } @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) private double volume; @SafeParceled(3) diff --git a/play-services-cast-api/src/main/java/com/google/android/gms/cast/JoinOptions.java b/play-services-cast-api/src/main/java/com/google/android/gms/cast/JoinOptions.java index 9c938e08..affa9563 100644 --- a/play-services-cast-api/src/main/java/com/google/android/gms/cast/JoinOptions.java +++ b/play-services-cast-api/src/main/java/com/google/android/gms/cast/JoinOptions.java @@ -21,9 +21,9 @@ import org.microg.safeparcel.SafeParceled; public class JoinOptions extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) - private int connectionType = 0; + private final int connectionType = 0; public static Creator CREATOR = new AutoCreator<>(JoinOptions.class); } diff --git a/play-services-cast-api/src/main/java/com/google/android/gms/cast/LaunchOptions.java b/play-services-cast-api/src/main/java/com/google/android/gms/cast/LaunchOptions.java index 5e0f0562..609302d6 100644 --- a/play-services-cast-api/src/main/java/com/google/android/gms/cast/LaunchOptions.java +++ b/play-services-cast-api/src/main/java/com/google/android/gms/cast/LaunchOptions.java @@ -21,7 +21,7 @@ import org.microg.safeparcel.SafeParceled; public class LaunchOptions extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(2) private boolean relaunchIfRunning; @SafeParceled(3) diff --git a/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/CastOptions.java b/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/CastOptions.java index 9b7a5abe..adfdb1ca 100644 --- a/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/CastOptions.java +++ b/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/CastOptions.java @@ -25,7 +25,7 @@ import java.util.ArrayList; public class CastOptions extends AutoSafeParcelable { @Field(1) - private int versionCode = 1; + private final int versionCode = 1; @Field(2) private String receiverApplicationId; @Field(3) diff --git a/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/media/CastMediaOptions.java b/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/media/CastMediaOptions.java index 8f978be5..742e9798 100644 --- a/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/media/CastMediaOptions.java +++ b/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/media/CastMediaOptions.java @@ -21,7 +21,7 @@ import org.microg.safeparcel.AutoSafeParcelable; public class CastMediaOptions extends AutoSafeParcelable { @Field(1) - private int versionCode = 1; + private final int versionCode = 1; @Field(2) public String mediaIntentReceiverClassName; @Field(3) diff --git a/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/media/NotificationOptions.java b/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/media/NotificationOptions.java index 25fb6b3a..e0949265 100644 --- a/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/media/NotificationOptions.java +++ b/play-services-cast-framework-api/src/main/java/com/google/android/gms/cast/framework/media/NotificationOptions.java @@ -25,7 +25,7 @@ import java.util.List; public class NotificationOptions extends AutoSafeParcelable { @Field(1) - private int versionCode = 1; + private final int versionCode = 1; @Field(2) public List actions; @Field(3) diff --git a/play-services-cast/src/main/java/com/google/android/gms/cast/CastRemoteDisplay.java b/play-services-cast/src/main/java/com/google/android/gms/cast/CastRemoteDisplay.java index 0cd3d5af..4f1d59ae 100755 --- a/play-services-cast/src/main/java/com/google/android/gms/cast/CastRemoteDisplay.java +++ b/play-services-cast/src/main/java/com/google/android/gms/cast/CastRemoteDisplay.java @@ -43,8 +43,8 @@ public final class CastRemoteDisplay { } public static final class CastRemoteDisplayOptions implements Api.ApiOptions.HasOptions { - private CastDevice castDevice; - private CastRemoteDisplaySessionCallbacks callbacks; + private final CastDevice castDevice; + private final CastRemoteDisplaySessionCallbacks callbacks; private CastRemoteDisplayOptions(CastDevice castDevice, CastRemoteDisplaySessionCallbacks callbacks) { this.castDevice = castDevice; @@ -52,8 +52,8 @@ public final class CastRemoteDisplay { } public static final class Builder { - private CastDevice castDevice; - private CastRemoteDisplaySessionCallbacks callbacks; + private final CastDevice castDevice; + private final CastRemoteDisplaySessionCallbacks callbacks; public Builder(CastDevice castDevice, CastRemoteDisplaySessionCallbacks callbacks) { this.castDevice = castDevice; diff --git a/play-services-core/microg-ui-tools/src/main/java/org/microg/tools/ui/SwitchBar.java b/play-services-core/microg-ui-tools/src/main/java/org/microg/tools/ui/SwitchBar.java index e5672e90..b404bcbc 100644 --- a/play-services-core/microg-ui-tools/src/main/java/org/microg/tools/ui/SwitchBar.java +++ b/play-services-core/microg-ui-tools/src/main/java/org/microg/tools/ui/SwitchBar.java @@ -52,12 +52,12 @@ public class SwitchBar extends LinearLayout implements CompoundButton.OnCheckedC private final TextAppearanceSpan mSummarySpan; - private ToggleSwitch mSwitch; - private TextView mTextView; + private final ToggleSwitch mSwitch; + private final TextView mTextView; private String mLabel; private String mSummary; - private ArrayList mSwitchChangeListeners = + private final ArrayList mSwitchChangeListeners = new ArrayList<>(); public SwitchBar(Context context) { diff --git a/play-services-core/proguard-rules.pro b/play-services-core/proguard-rules.pro index 9a57f050..265f7b40 100644 --- a/play-services-core/proguard-rules.pro +++ b/play-services-core/proguard-rules.pro @@ -14,6 +14,8 @@ -dontwarn com.android.location.provider.** -dontwarn java.lang.instrument.ClassFileTransformer -dontwarn sun.misc.SignalHandler +-dontwarn com.android.org.conscrypt.SSLParametersImpl +-dontwarn org.apache.harmony.xnet.provider.jsse.SSLParametersImpl # Disable ProGuard Notes, they won't help here -dontnote diff --git a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/CastContextImpl.java b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/CastContextImpl.java index ee94b2fa..c453714c 100644 --- a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/CastContextImpl.java +++ b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/CastContextImpl.java @@ -43,13 +43,13 @@ public class CastContextImpl extends ICastContext.Stub { private SessionManagerImpl sessionManager; private DiscoveryManagerImpl discoveryManager; - private Context context; - private CastOptions options; - private IMediaRouter router; - private Map sessionProviders = new HashMap(); + private final Context context; + private final CastOptions options; + private final IMediaRouter router; + private final Map sessionProviders = new HashMap(); public ISessionProvider defaultSessionProvider; - private MediaRouteSelector mergedSelector; + private final MediaRouteSelector mergedSelector; public CastContextImpl(IObjectWrapper context, CastOptions options, IMediaRouter router, Map sessionProviders) throws RemoteException { this.context = (Context) ObjectWrapper.unwrap(context); diff --git a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/CastSessionImpl.java b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/CastSessionImpl.java index a53952bc..1ea984e5 100644 --- a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/CastSessionImpl.java +++ b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/CastSessionImpl.java @@ -30,9 +30,9 @@ import com.google.android.gms.dynamic.ObjectWrapper; public class CastSessionImpl extends ICastSession.Stub { private static final String TAG = CastSessionImpl.class.getSimpleName(); - private CastOptions options; - private SessionImpl session; - private ICastConnectionController controller; + private final CastOptions options; + private final SessionImpl session; + private final ICastConnectionController controller; public CastSessionImpl(CastOptions options, IObjectWrapper session, ICastConnectionController controller) throws RemoteException { this.options = options; diff --git a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/DiscoveryManagerImpl.java b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/DiscoveryManagerImpl.java index 02916ed7..b6832966 100644 --- a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/DiscoveryManagerImpl.java +++ b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/DiscoveryManagerImpl.java @@ -30,9 +30,9 @@ import java.util.Set; public class DiscoveryManagerImpl extends IDiscoveryManager.Stub { private static final String TAG = DiscoveryManagerImpl.class.getSimpleName(); - private CastContextImpl castContextImpl; + private final CastContextImpl castContextImpl; - private Set discoveryManagerListeners = new HashSet(); + private final Set discoveryManagerListeners = new HashSet(); public DiscoveryManagerImpl(CastContextImpl castContextImpl) { this.castContextImpl = castContextImpl; diff --git a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/MediaRouterCallbackImpl.java b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/MediaRouterCallbackImpl.java index 9f65d8ba..c18e6b86 100644 --- a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/MediaRouterCallbackImpl.java +++ b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/MediaRouterCallbackImpl.java @@ -26,7 +26,7 @@ import com.google.android.gms.dynamic.ObjectWrapper; public class MediaRouterCallbackImpl extends IMediaRouterCallback.Stub { private static final String TAG = MediaRouterCallbackImpl.class.getSimpleName(); - private CastContextImpl castContext; + private final CastContextImpl castContext; public MediaRouterCallbackImpl(CastContextImpl castContext) { this.castContext = castContext; diff --git a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/SessionImpl.java b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/SessionImpl.java index 6409b609..7969509e 100644 --- a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/SessionImpl.java +++ b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/SessionImpl.java @@ -30,9 +30,9 @@ import com.google.android.gms.dynamic.ObjectWrapper; public class SessionImpl extends ISession.Stub { private static final String TAG = SessionImpl.class.getSimpleName(); - private String category; - private String sessionId; - private ISessionProxy proxy; + private final String category; + private final String sessionId; + private final ISessionProxy proxy; private CastSessionImpl castSession; diff --git a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/SessionManagerImpl.java b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/SessionManagerImpl.java index 2fccb426..609ff6c6 100644 --- a/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/SessionManagerImpl.java +++ b/play-services-core/src/main/java/com/google/android/gms/cast/framework/internal/SessionManagerImpl.java @@ -35,12 +35,12 @@ import java.util.Set; public class SessionManagerImpl extends ISessionManager.Stub { private static final String TAG = SessionManagerImpl.class.getSimpleName(); - private CastContextImpl castContext; + private final CastContextImpl castContext; - private Set sessionManagerListeners = new HashSet(); - private Set castStateListeners = new HashSet(); + private final Set sessionManagerListeners = new HashSet(); + private final Set castStateListeners = new HashSet(); - private Map routeSessions = new HashMap<>(); + private final Map routeSessions = new HashMap<>(); private SessionImpl currentSession; diff --git a/play-services-core/src/main/java/com/google/android/gms/chimera/container/DynamiteContext.java b/play-services-core/src/main/java/com/google/android/gms/chimera/container/DynamiteContext.java index 8484447b..00bde131 100644 --- a/play-services-core/src/main/java/com/google/android/gms/chimera/container/DynamiteContext.java +++ b/play-services-core/src/main/java/com/google/android/gms/chimera/container/DynamiteContext.java @@ -23,10 +23,10 @@ import dalvik.system.PathClassLoader; public class DynamiteContext extends ContextWrapper { private static final String TAG = "DynamiteContext"; - private DynamiteModuleInfo moduleInfo; - private Context originalContext; - private Context gmsContext; - private DynamiteContext appContext; + private final DynamiteModuleInfo moduleInfo; + private final Context originalContext; + private final Context gmsContext; + private final DynamiteContext appContext; private ClassLoader classLoader; diff --git a/play-services-core/src/main/java/com/google/android/gms/chimera/container/DynamiteModuleInfo.java b/play-services-core/src/main/java/com/google/android/gms/chimera/container/DynamiteModuleInfo.java index ce9f891a..73d9c735 100644 --- a/play-services-core/src/main/java/com/google/android/gms/chimera/container/DynamiteModuleInfo.java +++ b/play-services-core/src/main/java/com/google/android/gms/chimera/container/DynamiteModuleInfo.java @@ -10,7 +10,7 @@ import java.util.Collections; public class DynamiteModuleInfo { private Class descriptor; - private String moduleId; + private final String moduleId; public DynamiteModuleInfo(String moduleId) { this.moduleId = moduleId; diff --git a/play-services-core/src/main/java/org/microg/gms/auth/login/LoginActivity.java b/play-services-core/src/main/java/org/microg/gms/auth/login/LoginActivity.java index 3da0b892..7e090360 100644 --- a/play-services-core/src/main/java/org/microg/gms/auth/login/LoginActivity.java +++ b/play-services-core/src/main/java/org/microg/gms/auth/login/LoginActivity.java @@ -99,8 +99,8 @@ public class LoginActivity extends AssistantActivity { private ViewGroup authContent; private int state = 0; - private String HuaweiButtonPreference = "huaweiloginbutton"; - private String LoginButtonPreference = "standardloginbutton"; + private final String HuaweiButtonPreference = "huaweiloginbutton"; + private final String LoginButtonPreference = "standardloginbutton"; @SuppressLint("AddJavascriptInterface") @Override diff --git a/play-services-core/src/main/java/org/microg/gms/cast/CastDeviceControllerImpl.java b/play-services-core/src/main/java/org/microg/gms/cast/CastDeviceControllerImpl.java index d6972005..d6bc80f9 100644 --- a/play-services-core/src/main/java/org/microg/gms/cast/CastDeviceControllerImpl.java +++ b/play-services-core/src/main/java/org/microg/gms/cast/CastDeviceControllerImpl.java @@ -53,9 +53,9 @@ public class CastDeviceControllerImpl extends ICastDeviceController.Stub impleme { private static final String TAG = "GmsCastDeviceController"; - private Context context; - private String packageName; - private CastDevice castDevice; + private final Context context; + private final String packageName; + private final CastDevice castDevice; boolean notificationEnabled; long castFlags; ICastDeviceControllerListener listener; diff --git a/play-services-core/src/main/java/org/microg/gms/cast/CastMediaRouteController.java b/play-services-core/src/main/java/org/microg/gms/cast/CastMediaRouteController.java index 6f2bdda6..0d2aa35f 100644 --- a/play-services-core/src/main/java/org/microg/gms/cast/CastMediaRouteController.java +++ b/play-services-core/src/main/java/org/microg/gms/cast/CastMediaRouteController.java @@ -27,9 +27,9 @@ import su.litvak.chromecast.api.v2.ChromeCast; public class CastMediaRouteController extends MediaRouteProvider.RouteController { private static final String TAG = CastMediaRouteController.class.getSimpleName(); - private CastMediaRouteProvider provider; - private String routeId; - private ChromeCast chromecast; + private final CastMediaRouteProvider provider; + private final String routeId; + private final ChromeCast chromecast; public CastMediaRouteController(CastMediaRouteProvider provider, String routeId, String address) { super(); diff --git a/play-services-core/src/main/java/org/microg/gms/cast/CastMediaRouteProvider.java b/play-services-core/src/main/java/org/microg/gms/cast/CastMediaRouteProvider.java index 09d3b623..e4014ad9 100644 --- a/play-services-core/src/main/java/org/microg/gms/cast/CastMediaRouteProvider.java +++ b/play-services-core/src/main/java/org/microg/gms/cast/CastMediaRouteProvider.java @@ -45,13 +45,13 @@ import java.util.Map; public class CastMediaRouteProvider extends MediaRouteProvider { private static final String TAG = CastMediaRouteProvider.class.getSimpleName(); - private Map castDevices = new HashMap<>(); - private Map serviceCastIds = new HashMap<>(); + private final Map castDevices = new HashMap<>(); + private final Map serviceCastIds = new HashMap<>(); private NsdManager mNsdManager; private NsdManager.DiscoveryListener mDiscoveryListener; - private List customCategories = new ArrayList<>(); + private final List customCategories = new ArrayList<>(); private enum State { NOT_DISCOVERING, diff --git a/play-services-core/src/main/java/org/microg/gms/checkin/CheckinService.java b/play-services-core/src/main/java/org/microg/gms/checkin/CheckinService.java index cc5707e0..bd5bfabb 100755 --- a/play-services-core/src/main/java/org/microg/gms/checkin/CheckinService.java +++ b/play-services-core/src/main/java/org/microg/gms/checkin/CheckinService.java @@ -54,7 +54,7 @@ public class CheckinService extends IntentService { public static final String EXTRA_RESULT_RECEIVER = "receiver"; public static final String EXTRA_NEW_CHECKIN_TIME = "checkin_time"; - private ICheckinService iface = new ICheckinService.Stub() { + private final ICheckinService iface = new ICheckinService.Stub() { @Override public String getDeviceDataVersionInfo() throws RemoteException { return LastCheckinInfo.read(CheckinService.this).getDeviceDataVersionInfo(); diff --git a/play-services-core/src/main/java/org/microg/gms/common/ForegroundServiceContext.java b/play-services-core/src/main/java/org/microg/gms/common/ForegroundServiceContext.java index 352e9905..8da30387 100644 --- a/play-services-core/src/main/java/org/microg/gms/common/ForegroundServiceContext.java +++ b/play-services-core/src/main/java/org/microg/gms/common/ForegroundServiceContext.java @@ -80,7 +80,7 @@ public class ForegroundServiceContext extends ContextWrapper { try { Notification notification = buildForegroundNotification(service, serviceName); service.startForeground(serviceName.hashCode(), notification); - Log.d(tag, "Notification: " + notification.toString()); + Log.d(tag, "Notification: " + notification); } catch (Exception e) { Log.w(tag, e); } diff --git a/play-services-core/src/main/java/org/microg/gms/common/MultiListenerProxy.java b/play-services-core/src/main/java/org/microg/gms/common/MultiListenerProxy.java index 958b9cd5..66f44776 100644 --- a/play-services-core/src/main/java/org/microg/gms/common/MultiListenerProxy.java +++ b/play-services-core/src/main/java/org/microg/gms/common/MultiListenerProxy.java @@ -106,7 +106,7 @@ public class MultiListenerProxy implements InvocationHandl private static class CollectionListenerPool extends ListenerPool { - private Collection listeners; + private final Collection listeners; public CollectionListenerPool(Collection listeners) { this.listeners = listeners; @@ -145,7 +145,7 @@ public class MultiListenerProxy implements InvocationHandl } public static class MultiCollectionListenerPool extends ListenerPool { - private Collection> multiCol; + private final Collection> multiCol; public MultiCollectionListenerPool(Collection> multiCol) { this.multiCol = multiCol; diff --git a/play-services-core/src/main/java/org/microg/gms/common/RemoteListenerProxy.java b/play-services-core/src/main/java/org/microg/gms/common/RemoteListenerProxy.java index e14aea00..bc310c1c 100644 --- a/play-services-core/src/main/java/org/microg/gms/common/RemoteListenerProxy.java +++ b/play-services-core/src/main/java/org/microg/gms/common/RemoteListenerProxy.java @@ -38,8 +38,8 @@ public class RemoteListenerProxy implements ServiceConnect private final String bindAction; private IBinder remote; private boolean connecting; - private List waiting = new ArrayList<>(); - private Class tClass; + private final List waiting = new ArrayList<>(); + private final Class tClass; public static T get(Context context, Intent intent, Class tClass, String bindAction) { return (T) Proxy.newProxyInstance(tClass.getClassLoader(), new Class[]{tClass}, diff --git a/play-services-core/src/main/java/org/microg/gms/gcm/GcmDatabase.java b/play-services-core/src/main/java/org/microg/gms/gcm/GcmDatabase.java index ce32d8d3..d9881dd8 100644 --- a/play-services-core/src/main/java/org/microg/gms/gcm/GcmDatabase.java +++ b/play-services-core/src/main/java/org/microg/gms/gcm/GcmDatabase.java @@ -20,7 +20,7 @@ import java.util.List; public class GcmDatabase extends SQLiteOpenHelper { private static final String TAG = GcmDatabase.class.getSimpleName(); public static final String DB_NAME = "gcmstatus"; - private static int DB_VERSION = 1; + private static final int DB_VERSION = 1; private static final String CREATE_TABLE_APPS = "CREATE TABLE apps (" + "package_name TEXT," + "last_error TEXT DEFAULT ''," + @@ -50,7 +50,7 @@ public class GcmDatabase extends SQLiteOpenHelper { private static final String FIELD_TIMESTAMP = "timestamp"; private static final String FIELD_REGISTER_ID = "register_id"; - private Context context; + private final Context context; public GcmDatabase(Context context) { super(context, DB_NAME, null, DB_VERSION); diff --git a/play-services-core/src/main/java/org/microg/gms/gcm/GcmLegacyData.java b/play-services-core/src/main/java/org/microg/gms/gcm/GcmLegacyData.java index cab9652a..59ecf7e1 100644 --- a/play-services-core/src/main/java/org/microg/gms/gcm/GcmLegacyData.java +++ b/play-services-core/src/main/java/org/microg/gms/gcm/GcmLegacyData.java @@ -31,7 +31,7 @@ public class GcmLegacyData { static final String REMOVED = "%%REMOVED%%"; static final String ERROR = "%%ERROR%%"; - private Context context; + private final Context context; public GcmLegacyData(Context context) { this.context = context; @@ -46,7 +46,7 @@ public class GcmLegacyData { private final int STATE_ERROR = 1; private final int STATE_REMOVED = 2; private final int STATE_REGISTERED = 3; - private int state; + private final int state; public LegacyAppInfo(String key, String value) { if (ERROR.equals(value)) { diff --git a/play-services-core/src/main/java/org/microg/gms/gcm/McsInputStream.java b/play-services-core/src/main/java/org/microg/gms/gcm/McsInputStream.java index b6dfbb19..fd4fa38e 100644 --- a/play-services-core/src/main/java/org/microg/gms/gcm/McsInputStream.java +++ b/play-services-core/src/main/java/org/microg/gms/gcm/McsInputStream.java @@ -54,7 +54,7 @@ public class McsInputStream extends Thread implements Closeable { private int version = -1; private int lastStreamIdReported = -1; private int streamId = 0; - private long lastMsgTime = 0; + private final long lastMsgTime = 0; private volatile boolean closed = false; diff --git a/play-services-core/src/main/java/org/microg/gms/gcm/McsOutputStream.java b/play-services-core/src/main/java/org/microg/gms/gcm/McsOutputStream.java index 8af597d9..12cd7047 100644 --- a/play-services-core/src/main/java/org/microg/gms/gcm/McsOutputStream.java +++ b/play-services-core/src/main/java/org/microg/gms/gcm/McsOutputStream.java @@ -38,7 +38,7 @@ public class McsOutputStream extends Thread implements Handler.Callback, Closeab private final OutputStream os; private boolean initialized; - private int version = MCS_VERSION_CODE; + private final int version = MCS_VERSION_CODE; private int streamId = 0; private final Handler mainHandler; diff --git a/play-services-core/src/main/java/org/microg/gms/gcm/McsService.java b/play-services-core/src/main/java/org/microg/gms/gcm/McsService.java index 60db3145..8a67b886 100644 --- a/play-services-core/src/main/java/org/microg/gms/gcm/McsService.java +++ b/play-services-core/src/main/java/org/microg/gms/gcm/McsService.java @@ -132,7 +132,7 @@ public class McsService extends Service implements Handler.Callback { private static long startTimestamp = 0; public static String activeNetworkPref = null; private boolean wasTornDown = false; - private AtomicInteger nextMessageId = new AtomicInteger(0x1000000); + private final AtomicInteger nextMessageId = new AtomicInteger(0x1000000); private static Socket sslSocket; private static McsInputStream inputStream; @@ -153,7 +153,7 @@ public class McsService extends Service implements Handler.Callback { private Intent connectIntent; - private static int maxTtl = 24 * 60 * 60; + private static final int maxTtl = 24 * 60 * 60; private Object deviceIdleController; private Method getUserIdMethod; diff --git a/play-services-core/src/main/java/org/microg/gms/gcm/RegisterRequest.java b/play-services-core/src/main/java/org/microg/gms/gcm/RegisterRequest.java index 67d86666..dbc21088 100644 --- a/play-services-core/src/main/java/org/microg/gms/gcm/RegisterRequest.java +++ b/play-services-core/src/main/java/org/microg/gms/gcm/RegisterRequest.java @@ -63,7 +63,7 @@ public class RegisterRequest extends HttpFormClient.Request { @RequestContent("target_ver") public Integer sdkVersion; @RequestContentDynamic - private Map extraParams = new LinkedHashMap<>(); + private final Map extraParams = new LinkedHashMap<>(); @Override public void prepare() { diff --git a/play-services-core/src/main/java/org/microg/gms/gservices/GServicesProvider.java b/play-services-core/src/main/java/org/microg/gms/gservices/GServicesProvider.java index d1bc56ed..ea2cf938 100644 --- a/play-services-core/src/main/java/org/microg/gms/gservices/GServicesProvider.java +++ b/play-services-core/src/main/java/org/microg/gms/gservices/GServicesProvider.java @@ -46,8 +46,8 @@ public class GServicesProvider extends ContentProvider { private static final String TAG = "GmsServicesProvider"; private DatabaseHelper databaseHelper; - private Map cache = new HashMap<>(); - private Set cachedPrefixes = new HashSet<>(); + private final Map cache = new HashMap<>(); + private final Set cachedPrefixes = new HashSet<>(); @Override public boolean onCreate() { diff --git a/play-services-core/src/main/java/org/microg/gms/icing/IndexService.java b/play-services-core/src/main/java/org/microg/gms/icing/IndexService.java index 6401e6ab..03ae062a 100644 --- a/play-services-core/src/main/java/org/microg/gms/icing/IndexService.java +++ b/play-services-core/src/main/java/org/microg/gms/icing/IndexService.java @@ -27,10 +27,10 @@ import org.microg.gms.BaseService; import org.microg.gms.common.GmsService; public class IndexService extends BaseService { - private AppDataSearchImpl appDataSearch = new AppDataSearchImpl(); - private GlobalSearchAdminImpl globalSearchAdmin = new GlobalSearchAdminImpl(); - private SearchCorporaImpl searchCorpora = new SearchCorporaImpl(); - private SearchQueriesImpl searchQueries = new SearchQueriesImpl(); + private final AppDataSearchImpl appDataSearch = new AppDataSearchImpl(); + private final GlobalSearchAdminImpl globalSearchAdmin = new GlobalSearchAdminImpl(); + private final SearchCorporaImpl searchCorpora = new SearchCorporaImpl(); + private final SearchQueriesImpl searchQueries = new SearchQueriesImpl(); public IndexService() { super("GmsIcingIndexSvc", diff --git a/play-services-core/src/main/java/org/microg/gms/icing/LightweightIndexService.java b/play-services-core/src/main/java/org/microg/gms/icing/LightweightIndexService.java index 2715c6ba..d84e1e22 100644 --- a/play-services-core/src/main/java/org/microg/gms/icing/LightweightIndexService.java +++ b/play-services-core/src/main/java/org/microg/gms/icing/LightweightIndexService.java @@ -25,7 +25,7 @@ import org.microg.gms.BaseService; import org.microg.gms.common.GmsService; public class LightweightIndexService extends BaseService { - private LightweightAppDataSearchImpl appDataSearch = new LightweightAppDataSearchImpl(); + private final LightweightAppDataSearchImpl appDataSearch = new LightweightAppDataSearchImpl(); public LightweightIndexService() { super("GmsIcingLightIndexSvc", GmsService.LIGHTWEIGHT_INDEX); diff --git a/play-services-core/src/main/java/org/microg/gms/icing/SearchCorporaImpl.java b/play-services-core/src/main/java/org/microg/gms/icing/SearchCorporaImpl.java index fa61dedb..00e60006 100644 --- a/play-services-core/src/main/java/org/microg/gms/icing/SearchCorporaImpl.java +++ b/play-services-core/src/main/java/org/microg/gms/icing/SearchCorporaImpl.java @@ -38,7 +38,7 @@ public class SearchCorporaImpl extends ISearchCorporaService.Stub { private static final String TAG = "GmsIcingCorporaImpl"; // We count the sequence number here to make clients happy. - private Map corpusSequenceNumbers = new HashMap(); + private final Map corpusSequenceNumbers = new HashMap(); @Override public void requestIndexing(RequestIndexingRequest request, ISearchCorporaCallbacks callbacks) throws RemoteException { diff --git a/play-services-core/src/main/java/org/microg/gms/location/GoogleLocationManagerService.java b/play-services-core/src/main/java/org/microg/gms/location/GoogleLocationManagerService.java index b66e6978..0f2a7e20 100644 --- a/play-services-core/src/main/java/org/microg/gms/location/GoogleLocationManagerService.java +++ b/play-services-core/src/main/java/org/microg/gms/location/GoogleLocationManagerService.java @@ -28,7 +28,7 @@ import java.io.FileDescriptor; import java.io.PrintWriter; public class GoogleLocationManagerService extends BaseService { - private GoogleLocationManagerServiceImpl impl = new GoogleLocationManagerServiceImpl(this, getLifecycle()); + private final GoogleLocationManagerServiceImpl impl = new GoogleLocationManagerServiceImpl(this, getLifecycle()); public GoogleLocationManagerService() { super("LocationManager", GmsService.LOCATION_MANAGER, GmsService.GEODATA, GmsService.PLACE_DETECTION); diff --git a/play-services-core/src/main/java/org/microg/gms/location/LocationChangeListener.java b/play-services-core/src/main/java/org/microg/gms/location/LocationChangeListener.java index f574746d..01129d23 100644 --- a/play-services-core/src/main/java/org/microg/gms/location/LocationChangeListener.java +++ b/play-services-core/src/main/java/org/microg/gms/location/LocationChangeListener.java @@ -17,5 +17,5 @@ package org.microg.gms.location; public interface LocationChangeListener { - public void onLocationChanged(); + void onLocationChanged(); } diff --git a/play-services-core/src/main/java/org/microg/gms/location/RealLocationProvider.java b/play-services-core/src/main/java/org/microg/gms/location/RealLocationProvider.java index cb4fd496..c8e0a075 100644 --- a/play-services-core/src/main/java/org/microg/gms/location/RealLocationProvider.java +++ b/play-services-core/src/main/java/org/microg/gms/location/RealLocationProvider.java @@ -42,7 +42,7 @@ public class RealLocationProvider { private float connectedMinDistance; private Location lastLocation; private final List requests = new ArrayList(); - private LocationListener listener = new LocationListener() { + private final LocationListener listener = new LocationListener() { @Override public void onLocationChanged(Location location) { lastLocation = new Location(location); diff --git a/play-services-core/src/main/java/org/microg/gms/location/ReportingAndroidService.java b/play-services-core/src/main/java/org/microg/gms/location/ReportingAndroidService.java index d382cdcc..d9c5bda1 100644 --- a/play-services-core/src/main/java/org/microg/gms/location/ReportingAndroidService.java +++ b/play-services-core/src/main/java/org/microg/gms/location/ReportingAndroidService.java @@ -25,7 +25,7 @@ import org.microg.gms.BaseService; import org.microg.gms.common.GmsService; public class ReportingAndroidService extends BaseService { - private ReportingServiceImpl reportingService = new ReportingServiceImpl(); + private final ReportingServiceImpl reportingService = new ReportingServiceImpl(); public ReportingAndroidService() { super("GmsLocReportingSvc", GmsService.LOCATION_REPORTING); diff --git a/play-services-core/src/main/java/org/microg/gms/people/PeopleService.java b/play-services-core/src/main/java/org/microg/gms/people/PeopleService.java index 03f03b17..f894a6bd 100644 --- a/play-services-core/src/main/java/org/microg/gms/people/PeopleService.java +++ b/play-services-core/src/main/java/org/microg/gms/people/PeopleService.java @@ -25,7 +25,7 @@ import org.microg.gms.BaseService; import org.microg.gms.common.GmsService; public class PeopleService extends BaseService { - private PeopleServiceImpl impl = new PeopleServiceImpl(this); + private final PeopleServiceImpl impl = new PeopleServiceImpl(this); public PeopleService() { super("GmsPeopleSvc", GmsService.PEOPLE); diff --git a/play-services-core/src/main/java/org/microg/gms/playlog/PlayLogService.java b/play-services-core/src/main/java/org/microg/gms/playlog/PlayLogService.java index f86cd109..1ee8a893 100644 --- a/play-services-core/src/main/java/org/microg/gms/playlog/PlayLogService.java +++ b/play-services-core/src/main/java/org/microg/gms/playlog/PlayLogService.java @@ -27,7 +27,7 @@ import org.microg.gms.common.GmsService; @Deprecated public class PlayLogService extends BaseService { - private PlayLogServiceImpl playLogService = new PlayLogServiceImpl(); + private final PlayLogServiceImpl playLogService = new PlayLogServiceImpl(); public PlayLogService() { super("GmsPlayLogSvc", GmsService.PLAY_LOG); diff --git a/play-services-core/src/main/kotlin/org/microg/gms/gcm/GcmPrefs.kt b/play-services-core/src/main/kotlin/org/microg/gms/gcm/GcmPrefs.kt index aadb7473..6f68b5bf 100644 --- a/play-services-core/src/main/kotlin/org/microg/gms/gcm/GcmPrefs.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/gcm/GcmPrefs.kt @@ -1,3 +1,5 @@ +@file:Suppress("DEPRECATION") + package org.microg.gms.gcm import android.content.Context @@ -10,7 +12,6 @@ import org.microg.mgms.settings.SettingsContract import org.microg.mgms.settings.SettingsContract.Gcm import org.microg.mgms.settings.SettingsContract.setSettings -@Suppress("Warnings") data class GcmPrefs( val isGcmLogEnabled: Boolean, val lastPersistedId: String?, @@ -88,7 +89,6 @@ data class GcmPrefs( } } - @Suppress("DEPRECATION") fun getNetworkPrefForInfo(info: NetworkInfo?): String { if (info == null) return PREF_NETWORK_OTHER return if (info.isRoaming) PREF_NETWORK_ROAMING else when (info.type) { @@ -98,7 +98,6 @@ data class GcmPrefs( } } - @Suppress("DEPRECATION") fun getHeartbeatMsFor(info: NetworkInfo?): Int { return getHeartbeatMsFor(getNetworkPrefForInfo(info)) } @@ -160,7 +159,6 @@ data class GcmPrefs( } } - @Suppress("DEPRECATION") fun isEnabledFor(info: NetworkInfo?): Boolean { return isEnabled && info != null && getHeartbeatMsFor(info) >= 0 } diff --git a/play-services-core/src/main/kotlin/org/microg/gms/phenotype/PhenotypeService.kt b/play-services-core/src/main/kotlin/org/microg/gms/phenotype/PhenotypeService.kt index ec83c681..63e9e163 100644 --- a/play-services-core/src/main/kotlin/org/microg/gms/phenotype/PhenotypeService.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/phenotype/PhenotypeService.kt @@ -10,9 +10,9 @@ import android.util.Log import com.google.android.gms.common.api.Status import com.google.android.gms.common.internal.GetServiceRequest import com.google.android.gms.common.internal.IGmsCallbacks -import com.google.android.gms.phenotype.Configurations -import com.google.android.gms.phenotype.internal.IPhenotypeCallbacks -import com.google.android.gms.phenotype.internal.IPhenotypeService +import com.mgoogle.android.gms.phenotype.Configurations +import com.mgoogle.android.gms.phenotype.internal.IPhenotypeCallbacks +import com.mgoogle.android.gms.phenotype.internal.IPhenotypeService import org.microg.gms.BaseService import org.microg.gms.common.GmsService import org.microg.gms.utils.warnOnTransactionIssues diff --git a/play-services-core/src/main/kotlin/org/microg/gms/profile/ProfileManager.kt b/play-services-core/src/main/kotlin/org/microg/gms/profile/ProfileManager.kt index c8f5c87e..ed756017 100644 --- a/play-services-core/src/main/kotlin/org/microg/gms/profile/ProfileManager.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/profile/ProfileManager.kt @@ -17,6 +17,7 @@ import java.io.File import java.util.* import kotlin.random.Random +@Suppress("Warnings") object ProfileManager { private const val TAG = "ProfileManager" const val PROFILE_REAL = "real" diff --git a/play-services-core/src/main/kotlin/org/microg/gms/ui/DeviceRegistrationPreferencesFragment.kt b/play-services-core/src/main/kotlin/org/microg/gms/ui/DeviceRegistrationPreferencesFragment.kt index 526a9714..a0b4ad13 100755 --- a/play-services-core/src/main/kotlin/org/microg/gms/ui/DeviceRegistrationPreferencesFragment.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/ui/DeviceRegistrationPreferencesFragment.kt @@ -5,6 +5,7 @@ package org.microg.gms.ui +import android.annotation.SuppressLint import android.net.Uri import android.os.Bundle import android.os.Handler @@ -28,6 +29,7 @@ import org.microg.gms.profile.ProfileManager.PROFILE_USER import java.io.File import java.io.FileOutputStream +@Suppress("Warnings") class DeviceRegistrationPreferencesFragment : PreferenceFragmentCompat() { private lateinit var deviceProfile: ListPreference private lateinit var importProfile: Preference @@ -67,6 +69,7 @@ class DeviceRegistrationPreferencesFragment : PreferenceFragmentCompat() { addPreferencesFromResource(R.xml.preferences_device_registration) } + @SuppressLint("RestrictedApi") override fun onBindPreferences() { deviceProfile = preferenceScreen.findPreference("pref_device_profile") ?: deviceProfile importProfile = preferenceScreen.findPreference("pref_device_profile_import") ?: importProfile @@ -89,8 +92,7 @@ class DeviceRegistrationPreferencesFragment : PreferenceFragmentCompat() { private fun configureProfilePreference() { val context = requireContext() val configuredProfile = ProfileManager.getConfiguredProfile(context) - val autoProfile = ProfileManager.getAutoProfile(context) - val autoProfileName = when (autoProfile) { + val autoProfileName = when (val autoProfile = ProfileManager.getAutoProfile(context)) { PROFILE_NATIVE -> getString(R.string.profile_name_native) PROFILE_REAL -> getString(R.string.profile_name_real) else -> ProfileManager.getProfileName(context, autoProfile) diff --git a/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationAdvancedFragment.kt b/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationAdvancedFragment.kt index 3e8c01a0..4e7150cf 100644 --- a/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationAdvancedFragment.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationAdvancedFragment.kt @@ -4,6 +4,7 @@ */ package org.microg.gms.ui +import android.annotation.SuppressLint import android.os.Bundle import androidx.lifecycle.lifecycleScope import androidx.preference.ListPreference @@ -24,6 +25,7 @@ class PushNotificationAdvancedFragment : PreferenceFragmentCompat() { addPreferencesFromResource(R.xml.preferences_gcm_advanced) } + @SuppressLint("RestrictedApi") override fun onBindPreferences() { networkMobile = preferenceScreen.findPreference(GcmPrefs.PREF_NETWORK_MOBILE) ?: networkMobile networkWifi = preferenceScreen.findPreference(GcmPrefs.PREF_NETWORK_WIFI) ?: networkWifi diff --git a/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationAppPreferencesFragment.kt b/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationAppPreferencesFragment.kt index cae63c36..7106e506 100755 --- a/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationAppPreferencesFragment.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationAppPreferencesFragment.kt @@ -6,6 +6,7 @@ package org.microg.gms.ui +import android.annotation.SuppressLint import android.os.Bundle import android.text.format.DateUtils import androidx.appcompat.app.AlertDialog @@ -40,6 +41,7 @@ class PushNotificationAppPreferencesFragment : PreferenceFragmentCompat() { database = GcmDatabase(context) } + @SuppressLint("RestrictedApi") override fun onBindPreferences() { wakeForDelivery = preferenceScreen.findPreference("pref_push_app_wake_for_delivery") ?: wakeForDelivery allowRegister = preferenceScreen.findPreference("pref_push_app_allow_register") ?: allowRegister diff --git a/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationPreferencesFragment.kt b/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationPreferencesFragment.kt index 39093757..e9b4291f 100755 --- a/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationPreferencesFragment.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/ui/PushNotificationPreferencesFragment.kt @@ -6,6 +6,7 @@ package org.microg.gms.ui +import android.annotation.SuppressLint import android.os.Bundle import android.os.Handler import android.text.format.DateUtils @@ -40,6 +41,7 @@ class PushNotificationPreferencesFragment : PreferenceFragmentCompat() { addPreferencesFromResource(R.xml.preferences_push_notifications) } + @SuppressLint("RestrictedApi") override fun onBindPreferences() { pushStatusCategory = preferenceScreen.findPreference("prefcat_push_status") ?: pushStatusCategory pushStatus = preferenceScreen.findPreference("pref_push_status") ?: pushStatus diff --git a/play-services-core/src/main/kotlin/org/microg/gms/ui/SettingsFragment.kt b/play-services-core/src/main/kotlin/org/microg/gms/ui/SettingsFragment.kt index a9811d08..b1aa2a7e 100644 --- a/play-services-core/src/main/kotlin/org/microg/gms/ui/SettingsFragment.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/ui/SettingsFragment.kt @@ -82,7 +82,7 @@ class SettingsFragment : ResourceSettingsFragment() { val database = GcmDatabase(context) val regCount = database.registrationList.size database.close() - findPreference(PREF_GCM)?.setSummary(context.getResources().getString(R.string.service_status_enabled_short) + " - " + resources.getQuantityString(R.plurals.gcm_registered_apps_counter, regCount, regCount)) + findPreference(PREF_GCM)?.summary = context.resources.getString(R.string.service_status_enabled_short) + " - " + resources.getQuantityString(R.plurals.gcm_registered_apps_counter, regCount, regCount) } else { findPreference(PREF_GCM)?.setSummary(R.string.service_status_disabled_short) } diff --git a/play-services-core/src/main/kotlin/org/microg/gms/ui/Utils.kt b/play-services-core/src/main/kotlin/org/microg/gms/ui/Utils.kt index ca5e64a7..fbadc0f2 100644 --- a/play-services-core/src/main/kotlin/org/microg/gms/ui/Utils.kt +++ b/play-services-core/src/main/kotlin/org/microg/gms/ui/Utils.kt @@ -13,14 +13,8 @@ import android.os.Build import android.os.Bundle import android.provider.Settings import android.util.Log -import android.util.TypedValue -import android.view.View -import androidx.annotation.AttrRes -import androidx.annotation.ColorInt import androidx.annotation.IdRes import androidx.annotation.RequiresApi -import androidx.core.content.ContextCompat -import androidx.databinding.BindingAdapter import androidx.navigation.NavController import androidx.navigation.navOptions import androidx.navigation.ui.R @@ -59,26 +53,8 @@ fun Context.hideIcon(hide: Boolean) { val Context.systemAnimationsEnabled: Boolean get() { - val duration: Float - val transition: Float - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { - duration = Settings.Global.getFloat(contentResolver, Settings.Global.ANIMATOR_DURATION_SCALE, 1f) - transition = Settings.Global.getFloat(contentResolver, Settings.Global.TRANSITION_ANIMATION_SCALE, 1f) - } else { - duration = Settings.System.getFloat(contentResolver, Settings.System.ANIMATOR_DURATION_SCALE, 1f) - transition = Settings.System.getFloat(contentResolver, Settings.System.TRANSITION_ANIMATION_SCALE, 1f) - } + val duration: Float = Settings.Global.getFloat(contentResolver, Settings.Global.ANIMATOR_DURATION_SCALE, 1f) + val transition: Float = Settings.Global.getFloat(contentResolver, Settings.Global.TRANSITION_ANIMATION_SCALE, 1f) + return duration != 0f && transition != 0f - } - - -@ColorInt -fun Context.resolveColor(@AttrRes resid: Int): Int? { - val typedValue = TypedValue() - if (!theme.resolveAttribute(resid, typedValue, true)) return null - val colorRes = if (typedValue.resourceId != 0) typedValue.resourceId else typedValue.data - return ContextCompat.getColor(this, colorRes) -} - -@BindingAdapter("app:backgroundColorAttr") -fun View.setBackgroundColorAttribute(@AttrRes resId: Int) = context.resolveColor(resId)?.let { setBackgroundColor(it) } + } \ No newline at end of file diff --git a/play-services-core/src/main/kotlin/org/microg/gms/utils/PackageManagerWrapper.kt b/play-services-core/src/main/kotlin/org/microg/gms/utils/PackageManagerWrapper.kt deleted file mode 100644 index 58e87c43..00000000 --- a/play-services-core/src/main/kotlin/org/microg/gms/utils/PackageManagerWrapper.kt +++ /dev/null @@ -1,529 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2021, microG Project Team - * SPDX-License-Identifier: Apache-2.0 - */ -package org.microg.gms.utils - -import android.annotation.TargetApi -import android.content.ComponentName -import android.content.Intent -import android.content.IntentFilter -import android.content.pm.* -import android.content.res.Resources -import android.content.res.XmlResourceParser -import android.graphics.Rect -import android.graphics.drawable.Drawable -import android.os.Bundle -import android.os.UserHandle -import androidx.annotation.RequiresApi - -open class PackageManagerWrapper(private val wrapped: PackageManager) : PackageManager() { - override fun getPackageInfo(packageName: String, flags: Int): PackageInfo { - return wrapped.getPackageInfo(packageName, flags) - } - - @TargetApi(26) - override fun getPackageInfo(versionedPackage: VersionedPackage, flags: Int): PackageInfo { - return wrapped.getPackageInfo(versionedPackage, flags) - } - - override fun currentToCanonicalPackageNames(packageNames: Array): Array { - return wrapped.currentToCanonicalPackageNames(packageNames) - } - - override fun canonicalToCurrentPackageNames(packageNames: Array): Array { - return wrapped.canonicalToCurrentPackageNames(packageNames) - } - - override fun getLaunchIntentForPackage(packageName: String): Intent? { - return wrapped.getLaunchIntentForPackage(packageName) - } - - @TargetApi(21) - override fun getLeanbackLaunchIntentForPackage(packageName: String): Intent? { - return wrapped.getLeanbackLaunchIntentForPackage(packageName) - } - - override fun getPackageGids(packageName: String): IntArray { - return wrapped.getPackageGids(packageName) - } - - @TargetApi(24) - override fun getPackageGids(packageName: String, flags: Int): IntArray { - return wrapped.getPackageGids(packageName, flags) - } - - @TargetApi(24) - override fun getPackageUid(packageName: String, flags: Int): Int { - return wrapped.getPackageUid(packageName, flags) - } - - override fun getPermissionInfo(permName: String, flags: Int): PermissionInfo { - return wrapped.getPermissionInfo(permName, flags) - } - - override fun queryPermissionsByGroup(permissionGroup: String?, flags: Int): MutableList { - return wrapped.queryPermissionsByGroup(permissionGroup, flags) - } - - override fun getPermissionGroupInfo(permName: String, flags: Int): PermissionGroupInfo { - return wrapped.getPermissionGroupInfo(permName, flags) - } - - override fun getAllPermissionGroups(flags: Int): MutableList { - return wrapped.getAllPermissionGroups(flags) - } - - override fun getApplicationInfo(packageName: String, flags: Int): ApplicationInfo { - return wrapped.getApplicationInfo(packageName, flags) - } - - override fun getActivityInfo(component: ComponentName, flags: Int): ActivityInfo { - return wrapped.getActivityInfo(component, flags) - } - - override fun getReceiverInfo(component: ComponentName, flags: Int): ActivityInfo { - return wrapped.getReceiverInfo(component, flags) - } - - override fun getServiceInfo(component: ComponentName, flags: Int): ServiceInfo { - return wrapped.getServiceInfo(component, flags) - } - - override fun getProviderInfo(component: ComponentName, flags: Int): ProviderInfo { - return wrapped.getProviderInfo(component, flags) - } - - @RequiresApi(29) - override fun getInstalledModules(flags: Int): MutableList { - return wrapped.getInstalledModules(flags) - } - - override fun getInstalledPackages(flags: Int): MutableList { - return wrapped.getInstalledPackages(flags) - } - - @TargetApi(18) - override fun getPackagesHoldingPermissions(permissions: Array, flags: Int): MutableList { - return wrapped.getPackagesHoldingPermissions(permissions, flags) - } - - override fun checkPermission(permName: String, packageName: String): Int { - return wrapped.checkPermission(permName, packageName) - } - - @TargetApi(23) - override fun isPermissionRevokedByPolicy(permName: String, packageName: String): Boolean { - return wrapped.isPermissionRevokedByPolicy(permName, packageName) - } - - override fun addPermission(info: PermissionInfo): Boolean { - return wrapped.addPermission(info) - } - - override fun addPermissionAsync(info: PermissionInfo): Boolean { - return wrapped.addPermissionAsync(info) - } - - override fun removePermission(permName: String) { - return wrapped.removePermission(permName) - } - - override fun checkSignatures(packageName1: String, packageName2: String): Int { - return wrapped.checkSignatures(packageName1, packageName2) - } - - override fun checkSignatures(uid1: Int, uid2: Int): Int { - return wrapped.checkSignatures(uid1, uid2) - } - - override fun getPackagesForUid(uid: Int): Array? { - return wrapped.getPackagesForUid(uid) - } - - override fun getNameForUid(uid: Int): String? { - return wrapped.getNameForUid(uid) - } - - override fun getInstalledApplications(flags: Int): MutableList { - return wrapped.getInstalledApplications(flags) - } - - @TargetApi(26) - override fun isInstantApp(): Boolean { - return wrapped.isInstantApp - } - - @TargetApi(26) - override fun isInstantApp(packageName: String): Boolean { - return wrapped.isInstantApp(packageName) - } - - @TargetApi(26) - override fun getInstantAppCookieMaxBytes(): Int { - return wrapped.instantAppCookieMaxBytes - } - - @TargetApi(26) - override fun getInstantAppCookie(): ByteArray { - return wrapped.instantAppCookie - } - - @TargetApi(26) - override fun clearInstantAppCookie() { - return wrapped.clearInstantAppCookie() - } - - @TargetApi(26) - override fun updateInstantAppCookie(cookie: ByteArray?) { - return wrapped.updateInstantAppCookie(cookie) - } - - @TargetApi(26) - override fun getSystemSharedLibraryNames(): Array? { - return wrapped.systemSharedLibraryNames - } - - @TargetApi(26) - override fun getSharedLibraries(flags: Int): MutableList { - return wrapped.getSharedLibraries(flags) - } - - @TargetApi(26) - override fun getChangedPackages(sequenceNumber: Int): ChangedPackages? { - return wrapped.getChangedPackages(sequenceNumber) - } - - override fun getSystemAvailableFeatures(): Array { - return wrapped.systemAvailableFeatures - } - - override fun hasSystemFeature(featureName: String): Boolean { - return wrapped.hasSystemFeature(featureName) - } - - @TargetApi(24) - override fun hasSystemFeature(featureName: String, version: Int): Boolean { - return wrapped.hasSystemFeature(featureName, version) - } - - override fun resolveActivity(intent: Intent, flags: Int): ResolveInfo? { - return wrapped.resolveActivity(intent, flags) - } - - override fun queryIntentActivities(intent: Intent, flags: Int): MutableList { - return wrapped.queryIntentActivities(intent, flags) - } - - override fun queryIntentActivityOptions(caller: ComponentName?, specifics: Array?, intent: Intent, flags: Int): MutableList { - return wrapped.queryIntentActivityOptions(caller, specifics, intent, flags) - } - - override fun queryBroadcastReceivers(intent: Intent, flags: Int): MutableList { - return wrapped.queryBroadcastReceivers(intent, flags) - } - - override fun resolveService(intent: Intent, flags: Int): ResolveInfo? { - return wrapped.resolveService(intent, flags) - } - - override fun queryIntentServices(intent: Intent, flags: Int): MutableList { - return wrapped.queryIntentServices(intent, flags) - } - - @TargetApi(19) - override fun queryIntentContentProviders(intent: Intent, flags: Int): MutableList { - return wrapped.queryIntentContentProviders(intent, flags) - } - - override fun resolveContentProvider(authority: String, flags: Int): ProviderInfo? { - return wrapped.resolveContentProvider(authority, flags) - } - - override fun queryContentProviders(processName: String?, uid: Int, flags: Int): MutableList { - return wrapped.queryContentProviders(processName, uid, flags) - } - - override fun getInstrumentationInfo(className: ComponentName, flags: Int): InstrumentationInfo { - return wrapped.getInstrumentationInfo(className, flags) - } - - override fun queryInstrumentation(targetPackage: String, flags: Int): MutableList { - return wrapped.queryInstrumentation(targetPackage, flags) - } - - override fun getDrawable(packageName: String, resid: Int, appInfo: ApplicationInfo?): Drawable? { - return wrapped.getDrawable(packageName, resid, appInfo) - } - - override fun getActivityIcon(activityName: ComponentName): Drawable { - return wrapped.getActivityIcon(activityName) - } - - override fun getActivityIcon(intent: Intent): Drawable { - return wrapped.getActivityIcon(intent) - } - - @TargetApi(20) - override fun getActivityBanner(activityName: ComponentName): Drawable? { - return wrapped.getActivityBanner(activityName) - } - - @TargetApi(20) - override fun getActivityBanner(intent: Intent): Drawable? { - return wrapped.getActivityBanner(intent) - } - - override fun getDefaultActivityIcon(): Drawable { - return wrapped.defaultActivityIcon - } - - override fun getApplicationIcon(info: ApplicationInfo): Drawable { - return wrapped.getApplicationIcon(info) - } - - override fun getApplicationIcon(packageName: String): Drawable { - return wrapped.getApplicationIcon(packageName) - } - - @TargetApi(20) - override fun getApplicationBanner(info: ApplicationInfo): Drawable? { - return wrapped.getApplicationBanner(info) - } - - @TargetApi(20) - override fun getApplicationBanner(packageName: String): Drawable? { - return wrapped.getApplicationBanner(packageName) - } - - override fun getActivityLogo(activityName: ComponentName): Drawable? { - return wrapped.getActivityLogo(activityName) - } - - override fun getActivityLogo(intent: Intent): Drawable? { - return wrapped.getActivityLogo(intent) - } - - override fun getApplicationLogo(info: ApplicationInfo): Drawable? { - return wrapped.getApplicationLogo(info) - } - - override fun getApplicationLogo(packageName: String): Drawable? { - return wrapped.getApplicationLogo(packageName) - } - - @TargetApi(21) - override fun getUserBadgedIcon(drawable: Drawable, user: UserHandle): Drawable { - return wrapped.getUserBadgedIcon(drawable, user) - } - - @TargetApi(21) - override fun getUserBadgedDrawableForDensity(drawable: Drawable, user: UserHandle, badgeLocation: Rect?, badgeDensity: Int): Drawable { - return wrapped.getUserBadgedDrawableForDensity(drawable, user, badgeLocation, badgeDensity) - } - - @TargetApi(21) - override fun getUserBadgedLabel(label: CharSequence, user: UserHandle): CharSequence { - return wrapped.getUserBadgedLabel(label, user) - } - - override fun getText(packageName: String, resid: Int, appInfo: ApplicationInfo?): CharSequence? { - return wrapped.getText(packageName, resid, appInfo) - } - - override fun getXml(packageName: String, resid: Int, appInfo: ApplicationInfo?): XmlResourceParser? { - return wrapped.getXml(packageName, resid, appInfo) - } - - override fun getApplicationLabel(info: ApplicationInfo): CharSequence { - return wrapped.getApplicationLabel(info) - } - - override fun getResourcesForActivity(activityName: ComponentName): Resources { - return wrapped.getResourcesForActivity(activityName) - } - - override fun getResourcesForApplication(app: ApplicationInfo): Resources { - return wrapped.getResourcesForApplication(app) - } - - override fun getResourcesForApplication(packageName: String): Resources { - return wrapped.getResourcesForApplication(packageName) - } - - override fun verifyPendingInstall(id: Int, verificationCode: Int) { - return wrapped.verifyPendingInstall(id, verificationCode) - } - - @TargetApi(17) - override fun extendVerificationTimeout(id: Int, verificationCodeAtTimeout: Int, millisecondsToDelay: Long) { - return wrapped.extendVerificationTimeout(id, verificationCodeAtTimeout, millisecondsToDelay) - } - - override fun setInstallerPackageName(targetPackage: String, installerPackageName: String?) { - return wrapped.setInstallerPackageName(targetPackage, installerPackageName) - } - - override fun getInstallerPackageName(packageName: String): String? { - return wrapped.getInstallerPackageName(packageName) - } - - override fun addPackageToPreferred(packageName: String) { - return wrapped.addPackageToPreferred(packageName) - } - - override fun removePackageFromPreferred(packageName: String) { - return wrapped.removePackageFromPreferred(packageName) - } - - override fun getPreferredPackages(flags: Int): MutableList { - return wrapped.getPreferredPackages(flags) - } - - override fun addPreferredActivity(filter: IntentFilter, match: Int, set: Array?, activity: ComponentName) { - return wrapped.addPreferredActivity(filter, match, set, activity) - } - - override fun clearPackagePreferredActivities(packageName: String) { - return wrapped.clearPackagePreferredActivities(packageName) - } - - override fun getPreferredActivities(outFilters: MutableList, outActivities: MutableList, packageName: String?): Int { - return wrapped.getPreferredActivities(outFilters, outActivities, packageName) - } - - override fun setComponentEnabledSetting(componentName: ComponentName, newState: Int, flags: Int) { - return wrapped.setComponentEnabledSetting(componentName, newState, flags) - } - - override fun getComponentEnabledSetting(componentName: ComponentName): Int { - return wrapped.getComponentEnabledSetting(componentName) - } - - override fun setApplicationEnabledSetting(packageName: String, newState: Int, flags: Int) { - return wrapped.setApplicationEnabledSetting(packageName, newState, flags) - } - - override fun getApplicationEnabledSetting(packageName: String): Int { - return wrapped.getApplicationEnabledSetting(packageName) - } - - override fun isSafeMode(): Boolean { - return wrapped.isSafeMode - } - - @TargetApi(26) - override fun setApplicationCategoryHint(packageName: String, categoryHint: Int) { - return wrapped.setApplicationCategoryHint(packageName, categoryHint) - } - - @TargetApi(21) - override fun getPackageInstaller(): PackageInstaller { - return wrapped.packageInstaller - } - - @TargetApi(26) - override fun canRequestPackageInstalls(): Boolean { - return wrapped.canRequestPackageInstalls() - } - - - @TargetApi(29) - override fun addWhitelistedRestrictedPermission(packageName: String, permName: String, whitelistFlags: Int): Boolean { - return wrapped.addWhitelistedRestrictedPermission(packageName, permName, whitelistFlags) - } - - @TargetApi(30) - override fun getBackgroundPermissionOptionLabel(): CharSequence { - return wrapped.getBackgroundPermissionOptionLabel() - } - - @TargetApi(30) - override fun getInstallSourceInfo(packageName: String): InstallSourceInfo { - return wrapped.getInstallSourceInfo(packageName) - } - - @TargetApi(30) - override fun getMimeGroup(mimeGroup: String): MutableSet { - return wrapped.getMimeGroup(mimeGroup) - } - - @TargetApi(29) - override fun getModuleInfo(packageName: String, flags: Int): ModuleInfo { - return wrapped.getModuleInfo(packageName, flags) - } - - override fun getPackageArchiveInfo(archiveFilePath: String, flags: Int): PackageInfo? { - return wrapped.getPackageArchiveInfo(archiveFilePath, flags) - } - - @TargetApi(28) - override fun getSuspendedPackageAppExtras(): Bundle? { - return wrapped.suspendedPackageAppExtras - } - - @TargetApi(29) - override fun getSyntheticAppDetailsActivityEnabled(packageName: String): Boolean { - return wrapped.getSyntheticAppDetailsActivityEnabled(packageName) - } - - @TargetApi(29) - override fun getWhitelistedRestrictedPermissions(packageName: String, whitelistFlag: Int): MutableSet { - return wrapped.getWhitelistedRestrictedPermissions(packageName, whitelistFlag) - } - - @TargetApi(28) - override fun hasSigningCertificate(packageName: String, certificate: ByteArray, type: Int): Boolean { - return wrapped.hasSigningCertificate(packageName, certificate, type) - } - - @TargetApi(28) - override fun hasSigningCertificate(uid: Int, certificate: ByteArray, type: Int): Boolean { - return wrapped.hasSigningCertificate(uid, certificate, type) - } - - @TargetApi(30) - override fun isAutoRevokeWhitelisted(): Boolean { - return wrapped.isAutoRevokeWhitelisted - } - - @TargetApi(30) - override fun isAutoRevokeWhitelisted(packageName: String): Boolean { - return wrapped.isAutoRevokeWhitelisted(packageName) - } - - @TargetApi(30) - override fun isDefaultApplicationIcon(drawable: Drawable): Boolean { - return wrapped.isDefaultApplicationIcon(drawable) - } - - @TargetApi(29) - override fun isDeviceUpgrading(): Boolean { - return wrapped.isDeviceUpgrading - } - - @TargetApi(28) - override fun isPackageSuspended(): Boolean { - return wrapped.isPackageSuspended - } - - @TargetApi(29) - override fun isPackageSuspended(packageName: String): Boolean { - return wrapped.isPackageSuspended(packageName) - } - - @TargetApi(29) - override fun removeWhitelistedRestrictedPermission(packageName: String, permName: String, whitelistFlags: Int): Boolean { - return wrapped.removeWhitelistedRestrictedPermission(packageName, permName, whitelistFlags) - } - - @TargetApi(30) - override fun setAutoRevokeWhitelisted(packageName: String, whitelisted: Boolean): Boolean { - return wrapped.setAutoRevokeWhitelisted(packageName, whitelisted) - } - - @TargetApi(30) - override fun setMimeGroup(mimeGroup: String, mimeTypes: MutableSet) { - return wrapped.setMimeGroup(mimeGroup, mimeTypes) - } -} diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/ActivityRecognitionResult.java b/play-services-location-api/src/main/java/com/google/android/gms/location/ActivityRecognitionResult.java index 614c8552..4b67ed85 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/ActivityRecognitionResult.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/ActivityRecognitionResult.java @@ -46,19 +46,19 @@ public class ActivityRecognitionResult extends AutoSafeParcelable { public static final String EXTRA_ACTIVITY_RESULT_LIST = "com.google.android.location.internal.EXTRA_ACTIVITY_RESULT_LIST"; @SafeParceled(1000) - private int versionCode = 2; + private final int versionCode = 2; @SafeParceled(value = 1, subClass = DetectedActivity.class) - private List probableActivities; + private final List probableActivities; @SafeParceled(2) - private long time; + private final long time; @SafeParceled(3) - private long elapsedRealtimeMillis; + private final long elapsedRealtimeMillis; @SafeParceled(5) - private Bundle extras; + private final Bundle extras; /** * Constructs an ActivityRecognitionResult. diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/DeviceOrientation.java b/play-services-location-api/src/main/java/com/google/android/gms/location/DeviceOrientation.java index 61373df0..2a17e926 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/DeviceOrientation.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/DeviceOrientation.java @@ -21,7 +21,7 @@ public class DeviceOrientation extends AutoSafeParcelable { @Field(5) private float headingErrorDegrees = Float.NaN; @Field(6) - private long elapsedRealtimeNanos = 0; + private final long elapsedRealtimeNanos = 0; @Field(7) private byte flags = 0; @Field(8) diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationAvailability.java b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationAvailability.java index c24c5bbc..629be5e1 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationAvailability.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationAvailability.java @@ -55,7 +55,7 @@ public class LocationAvailability extends AutoSafeParcelable { public static final int STATUS_IN_PROGRESS = 8; @SafeParceled(1000) - private int versionCode = 2; + private final int versionCode = 2; @SafeParceled(1) @PublicApi(exclude = true) diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationRequest.java b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationRequest.java index 085886c0..beeda85d 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationRequest.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationRequest.java @@ -102,7 +102,7 @@ public class LocationRequest extends AutoSafeParcelable { public static final int PRIORITY_NO_POWER = 105; @Field(1000) - private int versionCode = 1; + private final int versionCode = 1; @Field(1) private int priority; @Field(2) @@ -244,10 +244,7 @@ public class LocationRequest extends AutoSafeParcelable { return false; if (priority != that.priority) return false; - if (Float.compare(that.smallestDisplacement, smallestDisplacement) != 0) - return false; - - return true; + return Float.compare(that.smallestDisplacement, smallestDisplacement) == 0; } @Override diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationResult.java b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationResult.java index d09109fe..60c11544 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationResult.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationResult.java @@ -28,7 +28,7 @@ import java.util.List; public class LocationResult extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 2; + private final int versionCode = 2; @SafeParceled(value = 1, subClass = Location.class) public final List locations; diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsRequest.java b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsRequest.java index 1b187f87..60f376cf 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsRequest.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsRequest.java @@ -15,7 +15,7 @@ import java.util.List; @PublicApi public class LocationSettingsRequest extends AutoSafeParcelable { @Field(1000) - private int versionCode = 2; + private final int versionCode = 2; @Field(value = 1, subClass = LocationRequest.class) @PublicApi(exclude = true) @@ -47,7 +47,7 @@ public class LocationSettingsRequest extends AutoSafeParcelable { * A builder that builds {@link LocationSettingsRequest}. */ public static class Builder { - private List requests = new ArrayList(); + private final List requests = new ArrayList(); private boolean alwaysShow = false; private boolean needBle = false; diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsResult.java b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsResult.java index 4269b429..f5f55e85 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsResult.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsResult.java @@ -36,10 +36,10 @@ import org.microg.safeparcel.SafeParceled; public class LocationSettingsResult extends AutoSafeParcelable implements Result { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) - private Status status; + private final Status status; @SafeParceled(2) private LocationSettingsStates settings; diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsStates.java b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsStates.java index 194982b2..092666a4 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsStates.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationSettingsStates.java @@ -27,25 +27,25 @@ import org.microg.safeparcel.SafeParceled; public class LocationSettingsStates extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 2; + private final int versionCode = 2; @SafeParceled(1) - private boolean gpsUsable; + private final boolean gpsUsable; @SafeParceled(2) - private boolean networkLocationUsable; + private final boolean networkLocationUsable; @SafeParceled(3) - private boolean bleUsable; + private final boolean bleUsable; @SafeParceled(4) - private boolean gpsPresent; + private final boolean gpsPresent; @SafeParceled(5) - private boolean networkLocationPresent; + private final boolean networkLocationPresent; @SafeParceled(6) - private boolean blePresent; + private final boolean blePresent; public boolean isBlePresent() { return blePresent; diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationStatus.java b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationStatus.java index 6cd2060a..ba82860d 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/LocationStatus.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/LocationStatus.java @@ -32,7 +32,7 @@ public class LocationStatus extends AutoSafeParcelable { public static final int STATUS_LOCATION_DISABLED_IN_SETTINGS = 7; public static final int STATUS_IN_PROGRESS = 8; @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) int cellStatus; @SafeParceled(2) @@ -53,10 +53,7 @@ public class LocationStatus extends AutoSafeParcelable { return false; if (elapsedRealtimeNanos != that.elapsedRealtimeNanos) return false; - if (wifiStatus != that.wifiStatus) - return false; - - return true; + return wifiStatus == that.wifiStatus; } @Override diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/internal/FusedLocationProviderResult.java b/play-services-location-api/src/main/java/com/google/android/gms/location/internal/FusedLocationProviderResult.java index b4b6516d..1dfbedde 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/internal/FusedLocationProviderResult.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/internal/FusedLocationProviderResult.java @@ -25,7 +25,7 @@ public class FusedLocationProviderResult extends AutoSafeParcelable { public static final FusedLocationProviderResult SUCCESS = FusedLocationProviderResult.create(Status.SUCCESS); @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public Status status; diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/internal/LocationRequestInternal.java b/play-services-location-api/src/main/java/com/google/android/gms/location/internal/LocationRequestInternal.java index 2bcbfa14..7d5fc3ad 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/internal/LocationRequestInternal.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/internal/LocationRequestInternal.java @@ -25,7 +25,7 @@ import java.util.List; public class LocationRequestInternal extends AutoSafeParcelable { @Field(1000) - private int versionCode = 1; + private final int versionCode = 1; @Field(1) public LocationRequest request; diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/internal/ParcelableGeofence.java b/play-services-location-api/src/main/java/com/google/android/gms/location/internal/ParcelableGeofence.java index 3abc611c..d21c02b6 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/internal/ParcelableGeofence.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/internal/ParcelableGeofence.java @@ -24,7 +24,7 @@ import org.microg.safeparcel.SafeParceled; public class ParcelableGeofence extends AutoSafeParcelable implements Geofence { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public String requestId; diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/places/AutocompleteFilter.java b/play-services-location-api/src/main/java/com/google/android/gms/location/places/AutocompleteFilter.java index cf0f9238..6ad8c792 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/places/AutocompleteFilter.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/places/AutocompleteFilter.java @@ -25,7 +25,7 @@ import org.microg.safeparcel.SafeParceled; public class AutocompleteFilter extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; public static final Creator CREATOR = new AutoCreator(AutocompleteFilter.class); } diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/places/UserAddedPlace.java b/play-services-location-api/src/main/java/com/google/android/gms/location/places/UserAddedPlace.java index eb916696..e844f20a 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/places/UserAddedPlace.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/places/UserAddedPlace.java @@ -25,7 +25,7 @@ import org.microg.safeparcel.SafeParceled; public class UserAddedPlace extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; public static final Creator CREATOR = new AutoCreator(UserAddedPlace.class); } diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/places/internal/PlaceImpl.java b/play-services-location-api/src/main/java/com/google/android/gms/location/places/internal/PlaceImpl.java index dbc23035..3836a93d 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/places/internal/PlaceImpl.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/places/internal/PlaceImpl.java @@ -33,7 +33,7 @@ import java.util.Locale; public class PlaceImpl extends AutoSafeParcelable implements Place { @SafeParceled(1000) - private int versionCode = 2; + private final int versionCode = 2; @SafeParceled(1) public String id; @SafeParceled(2) diff --git a/play-services-location-api/src/main/java/com/google/android/gms/location/places/internal/PlacesParams.java b/play-services-location-api/src/main/java/com/google/android/gms/location/places/internal/PlacesParams.java index eb365fa3..c87ae3d3 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/location/places/internal/PlacesParams.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/location/places/internal/PlacesParams.java @@ -22,7 +22,7 @@ import org.microg.safeparcel.SafeParceled; public class PlacesParams extends AutoSafeParcelable { @SafeParceled(1000) - private int versionCode = 1; + private final int versionCode = 1; @SafeParceled(1) public final String clientPackageName; @SafeParceled(2) diff --git a/play-services-location-api/src/main/java/com/google/android/gms/maps/model/LatLng.java b/play-services-location-api/src/main/java/com/google/android/gms/maps/model/LatLng.java index 545d8b46..12ff93a5 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/maps/model/LatLng.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/maps/model/LatLng.java @@ -26,7 +26,7 @@ import org.microg.safeparcel.SafeParceled; @PublicApi public final class LatLng extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; /** * Latitude, in degrees. This value is in the range [-90, 90]. */ @@ -81,10 +81,7 @@ public final class LatLng extends AutoSafeParcelable { if (Double.compare(latLng.latitude, latitude) != 0) return false; - if (Double.compare(latLng.longitude, longitude) != 0) - return false; - - return true; + return Double.compare(latLng.longitude, longitude) == 0; } @Override diff --git a/play-services-location-api/src/main/java/com/google/android/gms/maps/model/LatLngBounds.java b/play-services-location-api/src/main/java/com/google/android/gms/maps/model/LatLngBounds.java index 21177235..9aa4c12e 100644 --- a/play-services-location-api/src/main/java/com/google/android/gms/maps/model/LatLngBounds.java +++ b/play-services-location-api/src/main/java/com/google/android/gms/maps/model/LatLngBounds.java @@ -28,7 +28,7 @@ import java.util.Arrays; @PublicApi public final class LatLngBounds extends AutoSafeParcelable { @SafeParceled(1) - private int versionCode = 1; + private final int versionCode = 1; /** * Southwest corner of the bound. */ @@ -114,10 +114,7 @@ public final class LatLngBounds extends AutoSafeParcelable { if (!northeast.equals(that.northeast)) return false; - if (!southwest.equals(that.southwest)) - return false; - - return true; + return southwest.equals(that.southwest); } /** diff --git a/play-services-location/src/main/java/com/google/android/gms/location/LocationListener.java b/play-services-location/src/main/java/com/google/android/gms/location/LocationListener.java index 59c9585c..9e204ccf 100644 --- a/play-services-location/src/main/java/com/google/android/gms/location/LocationListener.java +++ b/play-services-location/src/main/java/com/google/android/gms/location/LocationListener.java @@ -30,5 +30,5 @@ public interface LocationListener { * * @param location The updated location. */ - public void onLocationChanged(Location location); + void onLocationChanged(Location location); } diff --git a/play-services-location/src/main/java/org/microg/gms/location/LocationClientImpl.java b/play-services-location/src/main/java/org/microg/gms/location/LocationClientImpl.java index b2464774..2e4634d4 100644 --- a/play-services-location/src/main/java/org/microg/gms/location/LocationClientImpl.java +++ b/play-services-location/src/main/java/org/microg/gms/location/LocationClientImpl.java @@ -44,7 +44,7 @@ import java.util.Map; public class LocationClientImpl extends GoogleLocationManagerClient { private static final String TAG = "GmsLocationClientImpl"; private NativeLocationClientImpl nativeLocation = null; - private Map listenerMap = new HashMap(); + private final Map listenerMap = new HashMap(); public LocationClientImpl(Context context, ConnectionCallbacks callbacks, diff --git a/play-services-location/src/main/java/org/microg/gms/location/NativeLocationClientImpl.java b/play-services-location/src/main/java/org/microg/gms/location/NativeLocationClientImpl.java index 8db830c6..b8634708 100644 --- a/play-services-location/src/main/java/org/microg/gms/location/NativeLocationClientImpl.java +++ b/play-services-location/src/main/java/org/microg/gms/location/NativeLocationClientImpl.java @@ -251,9 +251,7 @@ public class NativeLocationClientImpl { NativeListener that = (NativeListener) o; - if (!listener.equals(that.listener)) return false; - - return true; + return listener.equals(that.listener); } @Override diff --git a/play-services-tasks/src/main/java/com/google/android/gms/tasks/CancellationTokenSource.java b/play-services-tasks/src/main/java/com/google/android/gms/tasks/CancellationTokenSource.java index 044b0466..e704d8f3 100644 --- a/play-services-tasks/src/main/java/com/google/android/gms/tasks/CancellationTokenSource.java +++ b/play-services-tasks/src/main/java/com/google/android/gms/tasks/CancellationTokenSource.java @@ -20,7 +20,7 @@ import org.microg.gms.tasks.CancellationTokenImpl; */ @PublicApi public class CancellationTokenSource { - private CancellationTokenImpl token = new CancellationTokenImpl(); + private final CancellationTokenImpl token = new CancellationTokenImpl(); /** * Creates a new {@link CancellationTokenSource} instance. diff --git a/play-services-tasks/src/main/java/com/google/android/gms/tasks/TaskCompletionSource.java b/play-services-tasks/src/main/java/com/google/android/gms/tasks/TaskCompletionSource.java index 00c4a972..58fa1e00 100644 --- a/play-services-tasks/src/main/java/com/google/android/gms/tasks/TaskCompletionSource.java +++ b/play-services-tasks/src/main/java/com/google/android/gms/tasks/TaskCompletionSource.java @@ -17,7 +17,7 @@ import org.microg.gms.tasks.TaskImpl; */ @PublicApi public class TaskCompletionSource { - private TaskImpl task = new TaskImpl<>(); + private final TaskImpl task = new TaskImpl<>(); /** * Creates an instance of {@link TaskCompletionSource}. diff --git a/play-services-tasks/src/main/java/com/google/android/gms/tasks/TaskExecutors.java b/play-services-tasks/src/main/java/com/google/android/gms/tasks/TaskExecutors.java index c4947e13..7abfa6a7 100644 --- a/play-services-tasks/src/main/java/com/google/android/gms/tasks/TaskExecutors.java +++ b/play-services-tasks/src/main/java/com/google/android/gms/tasks/TaskExecutors.java @@ -24,7 +24,7 @@ public final class TaskExecutors { * An Executor that uses the main application thread. */ public static final Executor MAIN_THREAD = new Executor() { - private Handler handler = new Handler(Looper.getMainLooper()); + private final Handler handler = new Handler(Looper.getMainLooper()); @Override public void execute(Runnable command) { handler.post(command); diff --git a/play-services-tasks/src/main/java/org/microg/gms/tasks/CancellationTokenImpl.java b/play-services-tasks/src/main/java/org/microg/gms/tasks/CancellationTokenImpl.java index b2a69096..d9a2fe95 100644 --- a/play-services-tasks/src/main/java/org/microg/gms/tasks/CancellationTokenImpl.java +++ b/play-services-tasks/src/main/java/org/microg/gms/tasks/CancellationTokenImpl.java @@ -10,7 +10,7 @@ import com.google.android.gms.tasks.DuplicateTaskCompletionException; import com.google.android.gms.tasks.OnTokenCanceledListener; public class CancellationTokenImpl extends CancellationToken { - private TaskImpl task = new TaskImpl<>(); + private final TaskImpl task = new TaskImpl<>(); @Override public boolean isCancellationRequested() { diff --git a/play-services-tasks/src/main/java/org/microg/gms/tasks/TaskImpl.java b/play-services-tasks/src/main/java/org/microg/gms/tasks/TaskImpl.java index 3e52c24e..da62ad3e 100644 --- a/play-services-tasks/src/main/java/org/microg/gms/tasks/TaskImpl.java +++ b/play-services-tasks/src/main/java/org/microg/gms/tasks/TaskImpl.java @@ -30,7 +30,7 @@ public class TaskImpl extends Task { private boolean cancelled; private TResult result; private Exception exception; - private Queue> completionQueue = new LinkedBlockingQueue<>(); + private final Queue> completionQueue = new LinkedBlockingQueue<>(); @Override public Task addOnCanceledListener(OnCanceledListener listener) { diff --git a/play-services-tasks/src/main/java/org/microg/gms/tasks/UpdateListenerLifecycleObserver.java b/play-services-tasks/src/main/java/org/microg/gms/tasks/UpdateListenerLifecycleObserver.java index dd307c50..bc31d183 100644 --- a/play-services-tasks/src/main/java/org/microg/gms/tasks/UpdateListenerLifecycleObserver.java +++ b/play-services-tasks/src/main/java/org/microg/gms/tasks/UpdateListenerLifecycleObserver.java @@ -15,9 +15,9 @@ import java.util.List; import java.util.WeakHashMap; public class UpdateListenerLifecycleObserver { - private static WeakHashMap> map = new WeakHashMap<>(); + private static final WeakHashMap> map = new WeakHashMap<>(); private static boolean activityLifecycleCallbacksRegistered = false; - private List>> list = new ArrayList<>(); + private final List>> list = new ArrayList<>(); public synchronized static UpdateListenerLifecycleObserver getObserverForActivity(Activity activity) { WeakReference ref = map.get(activity);