VancedMicroG/play-services-location-api/src/main/java/com/google/android/gms/location/internal/LocationRequestInternal.java

67 lines
2.0 KiB
Java

/*
* Copyright 2013-2015 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.location.internal;
import com.google.android.gms.location.LocationRequest;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
import java.util.List;
public class LocationRequestInternal extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public LocationRequest request;
@SafeParceled(2)
public boolean requestNlpDebugInfo;
@SafeParceled(3)
public boolean restorePendingIntentListeners;
@SafeParceled(4)
public boolean triggerUpdate;
@SafeParceled(value = 5, subClass = ClientIdentity.class)
public List<ClientIdentity> clients;
@SafeParceled(6)
public String tag;
@SafeParceled(7)
public boolean hideFromAppOps;
@Override
public String toString() {
return "LocationRequestInternal{" +
"request=" + request +
", requestNlpDebugInfo=" + requestNlpDebugInfo +
", restorePendingIntentListeners=" + restorePendingIntentListeners +
", triggerUpdate=" + triggerUpdate +
", clients=" + clients +
", tag='" + tag + '\'' +
", hideFromAppOps=" + hideFromAppOps +
'}';
}
public static final Creator<LocationRequestInternal> CREATOR = new AutoCreator<LocationRequestInternal>(LocationRequestInternal.class);
}