Merge pull request #34 from Oizaro/master

Signs of nanoG
This commit is contained in:
KevinX8 2020-08-11 16:25:24 +01:00 committed by GitHub
commit 30e45abbab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
136 changed files with 110 additions and 2937 deletions

View File

@ -15,11 +15,16 @@ This fork tweaks MicroG to be usable by applications that require Google authent
- Ads
- Analytics
- Car
- Droidguard
- Feedback
- Firebase
- Games
- Location
- Maps & Location
- Maps
- Recovery
- SafetyNet
- Self-Check
- Search
- TapAndPay
- Wallet
- Wear-Api

View File

@ -23,7 +23,6 @@ buildscript {
ext.recyclerviewVersion = '1.1.0'
ext.supportLibraryVersion = "28.0.0"
ext.slf4jVersion = "1.7.25"
ext.wireVersion = '3.2.2'
ext.androidBuildGradleVersion = "4.0.1"
@ -40,7 +39,7 @@ buildscript {
}
dependencies {
classpath "com.android.tools.build:gradle:$androidBuildGradleVersion"
classpath "com.android.tools.build:gradle:${androidBuildGradleVersion}"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "com.squareup.wire:wire-gradle-plugin:$wireVersion"
}

View File

@ -1,3 +0,0 @@
package com.google.android.gms.appdatasearch;
parcelable CorpusStatus;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.appdatasearch;
parcelable PIMEUpdate;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.appdatasearch;
parcelable PIMEUpdateResponse;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.appdatasearch;
parcelable RequestIndexingSpecification;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.appdatasearch;
parcelable SuggestSpecification;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.appdatasearch;
parcelable SuggestionResults;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.appdatasearch;
parcelable UsageInfo;

View File

@ -1,14 +0,0 @@
package com.google.android.gms.appdatasearch.internal;
import com.google.android.gms.appdatasearch.CorpusStatus;
import com.google.android.gms.appdatasearch.PIMEUpdateResponse;
import com.google.android.gms.appdatasearch.RequestIndexingSpecification;
import com.google.android.gms.appdatasearch.SuggestionResults;
import com.google.android.gms.appdatasearch.SuggestSpecification;
interface IAppDataSearch {
SuggestionResults getSuggestions(String var1, String packageName, in String[] accounts, int maxNum, in SuggestSpecification specs) = 1;
boolean requestIndexing(String packageName, String accountName, long l, in RequestIndexingSpecification specs) = 3;
CorpusStatus getStatus(String packageName, String accountName) = 4;
PIMEUpdateResponse requestPIMEUpdate(String s1, String s2, int i, in byte[] bs) = 34;
}

View File

@ -1,8 +0,0 @@
package com.google.android.gms.appdatasearch.internal;
import com.google.android.gms.appdatasearch.internal.ILightweightAppDataSearchCallbacks;
import com.google.android.gms.appdatasearch.UsageInfo;
interface ILightweightAppDataSearch {
void view(ILightweightAppDataSearchCallbacks callbacks, String packageName, in UsageInfo[] usageInfos);
}

View File

@ -1,4 +0,0 @@
package com.google.android.gms.appdatasearch.internal;
interface ILightweightAppDataSearchCallbacks {
}

View File

@ -1,5 +0,0 @@
package com.google.android.gms.search.administration.internal;
interface ISearchAdministrationService {
}

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.corpora;
parcelable ClearCorpusRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.corpora;
parcelable GetCorpusInfoRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.corpora;
parcelable GetCorpusStatusRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.corpora;
parcelable GetCorpusStatusResponse;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.corpora;
parcelable RequestIndexingRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.corpora;
parcelable RequestIndexingResponse;

View File

@ -1,9 +0,0 @@
package com.google.android.gms.search.corpora.internal;
import com.google.android.gms.search.corpora.RequestIndexingResponse;
import com.google.android.gms.search.corpora.GetCorpusStatusResponse;
interface ISearchCorporaCallbacks {
void onRequestIndexing(in RequestIndexingResponse response) = 1;
void onGetCorpusStatus(in GetCorpusStatusResponse response) = 3;
}

View File

@ -1,14 +0,0 @@
package com.google.android.gms.search.corpora.internal;
import com.google.android.gms.search.corpora.ClearCorpusRequest;
import com.google.android.gms.search.corpora.GetCorpusStatusRequest;
import com.google.android.gms.search.corpora.GetCorpusInfoRequest;
import com.google.android.gms.search.corpora.RequestIndexingRequest;
import com.google.android.gms.search.corpora.internal.ISearchCorporaCallbacks;
interface ISearchCorporaService {
void requestIndexing(in RequestIndexingRequest request, ISearchCorporaCallbacks callbacks) = 1;
void clearCorpus(in ClearCorpusRequest request, ISearchCorporaCallbacks callbacks) = 2;
void getCorpusStatus(in GetCorpusStatusRequest request, ISearchCorporaCallbacks callbacks) = 3;
void getCorpusInfo(in GetCorpusInfoRequest request, ISearchCorporaCallbacks callbacks) = 4;
}

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable GetCurrentExperimentIdsRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable GetCurrentExperimentIdsResponse;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable GetGlobalSearchSourcesRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable GetGlobalSearchSourcesResponse;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable GetPendingExperimentIdsRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable GetPendingExperimentIdsResponse;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable SetExperimentIdsRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable SetExperimentIdsResponse;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable SetIncludeInGlobalSearchRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.global;
parcelable SetIncludeInGlobalSearchResponse;

View File

@ -1,16 +0,0 @@
package com.google.android.gms.search.global.internal;
import com.google.android.gms.search.global.GetCurrentExperimentIdsResponse;
import com.google.android.gms.search.global.GetGlobalSearchSourcesResponse;
import com.google.android.gms.search.global.GetPendingExperimentIdsResponse;
import com.google.android.gms.search.global.SetExperimentIdsResponse;
import com.google.android.gms.search.global.SetIncludeInGlobalSearchResponse;
interface IGlobalSearchAdminCallbacks {
void onGetGlobalSearchSourcesResponse(in GetGlobalSearchSourcesResponse request) = 1;
void onSetExperimentIdsResponse(in SetExperimentIdsResponse response) = 2;
void onGetCurrentExperimentIdsResponse(in GetCurrentExperimentIdsResponse response) = 3;
void onGetPendingExperimentIdsResponse(in GetPendingExperimentIdsResponse response) = 4;
void onSetIncludeInGlobalSearchResponse(in SetIncludeInGlobalSearchResponse response) = 7;
}

View File

@ -1,17 +0,0 @@
package com.google.android.gms.search.global.internal;
import com.google.android.gms.search.global.GetCurrentExperimentIdsRequest;
import com.google.android.gms.search.global.GetGlobalSearchSourcesRequest;
import com.google.android.gms.search.global.GetPendingExperimentIdsRequest;
import com.google.android.gms.search.global.SetExperimentIdsRequest;
import com.google.android.gms.search.global.SetIncludeInGlobalSearchRequest;
import com.google.android.gms.search.global.internal.IGlobalSearchAdminCallbacks;
interface IGlobalSearchAdminService {
void getGlobalSearchSources(in GetGlobalSearchSourcesRequest request, IGlobalSearchAdminCallbacks callbacks) = 1;
void setExperimentIds(in SetExperimentIdsRequest request, IGlobalSearchAdminCallbacks callbacks) = 2;
void getCurrentExperimentIds(in GetCurrentExperimentIdsRequest request, IGlobalSearchAdminCallbacks callbacks) = 3;
void getPendingExperimentIds(in GetPendingExperimentIdsRequest request, IGlobalSearchAdminCallbacks callbacks) = 4;
void setIncludeInGlobalSearch(in SetIncludeInGlobalSearchRequest request, IGlobalSearchAdminCallbacks callbacks) = 7;
}

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.queries;
parcelable QueryRequest;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.search.queries;
parcelable QueryResponse;

View File

@ -1,7 +0,0 @@
package com.google.android.gms.search.queries.internal;
import com.google.android.gms.search.queries.QueryResponse;
interface ISearchQueriesCallbacks {
void onQuery(in QueryResponse response) = 1;
}

View File

@ -1,8 +0,0 @@
package com.google.android.gms.search.queries.internal;
import com.google.android.gms.search.queries.QueryRequest;
import com.google.android.gms.search.queries.internal.ISearchQueriesCallbacks;
interface ISearchQueriesService {
void query(in QueryRequest request, ISearchQueriesCallbacks callbacks) = 1;
}

View File

@ -1,5 +0,0 @@
package com.google.firebase.auth.api.internal;
interface IFirebaseAuthService {
}

View File

@ -1,3 +0,0 @@
package com.google.firebase.database.connection.idl;
parcelable CompoundHashParcelable;

View File

@ -1,3 +0,0 @@
package com.google.firebase.database.connection.idl;
parcelable ConnectionConfig;

View File

@ -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;
}

View File

@ -1,6 +0,0 @@
package com.google.firebase.database.connection.idl;
interface IGetTokenCallback {
void zero(String s) = 0;
void onError(String s) = 1;
}

View File

@ -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;
}

View File

@ -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<String> var1, IObjectWrapper var2, IListenHashProvider var3, long var4, IRequestResultCallback var6) = 4;
void unlisten(in List<String> var1, IObjectWrapper var2) = 5;
void purgeOutstandingWrites() = 6;
void put(in List<String> var1, IObjectWrapper var2, IRequestResultCallback var3) = 7;
void compareAndPut(in List<String> var1, IObjectWrapper var2, String var3, IRequestResultCallback var4) = 8;
void merge(in List<String> var1, IObjectWrapper var2, IRequestResultCallback var3) = 9;
void onDisconnectPut(in List<String> var1, IObjectWrapper var2, IRequestResultCallback var3) = 10;
void onDisconnectMerge(in List<String> var1, IObjectWrapper var2, IRequestResultCallback var3) = 11;
void onDisconnectCancel(in List<String> var1, IRequestResultCallback var2) = 12;
void interrupt(String var1) = 13;
void resume(String var1) = 14;
boolean isInterrupted(String var1) = 15;
}

View File

@ -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<String> var1, IObjectWrapper var2, boolean var3, long var4) = 0;
void one(in List<String> var1, in List<RangeParcelable> var2, IObjectWrapper var3, long var4) = 1;
void two() = 2;
void onDisconnect() = 3;
void four(boolean var1) = 4;
void five(IObjectWrapper var1) = 5;
}

View File

@ -1,5 +0,0 @@
package com.google.firebase.database.connection.idl;
interface IRequestResultCallback {
void zero(String var1, String var2) = 0;
}

View File

@ -1,3 +0,0 @@
package com.google.firebase.database.connection.idl;
parcelable RangeParcelable;

View File

@ -1,46 +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.appdatasearch;
import android.os.Bundle;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class CorpusStatus extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode;
@SafeParceled(1)
public boolean found;
@SafeParceled(2)
public long lastIndexedSeqno;
@SafeParceled(3)
public long lastCommittedSeqno;
@SafeParceled(4)
public long committedNumDocuments;
@SafeParceled(5)
public Bundle counters;
@SafeParceled(6)
public String g;
public CorpusStatus() {
versionCode = 2;
}
public static final Creator<CorpusStatus> CREATOR = new AutoCreator<CorpusStatus>(CorpusStatus.class);
}

View File

@ -1,24 +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.appdatasearch;
import org.microg.safeparcel.AutoSafeParcelable;
public class PIMEUpdate extends AutoSafeParcelable {
public static final Creator<PIMEUpdate> CREATOR = new AutoCreator<PIMEUpdate>(PIMEUpdate.class);
}

View File

@ -1,42 +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.appdatasearch;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class PIMEUpdateResponse extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode;
@SafeParceled(1)
private String b;
@SafeParceled(2)
public final byte[] bytes;
@SafeParceled(3)
public final PIMEUpdate[] updates;
public PIMEUpdateResponse() {
versionCode = 1;
this.bytes = null;
this.updates = new PIMEUpdate[0];
}
public static final Creator<PIMEUpdateResponse> CREATOR = new AutoCreator<PIMEUpdateResponse>(PIMEUpdateResponse.class);
}

View File

@ -1,72 +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.appdatasearch;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
import java.util.List;
public class QuerySpecification extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 2;
@SafeParceled(1)
public final boolean b;
//@SafeParceled(value = 2, subType = "TODO")
public final List c;
//@SafeParceled(value = 3, subType = "TODO")
public final List d;
@SafeParceled(4)
public final boolean e;
@SafeParceled(5)
public final int f;
@SafeParceled(6)
public final int g;
@SafeParceled(7)
public final boolean h;
@SafeParceled(8)
public final int i;
private QuerySpecification() {
b = false;
c = null;
d = null;
e = false;
f = 0;
g = 0;
h = false;
i = 0;
}
@Override
public String toString() {
return "QuerySpecification{" +
"versionCode=" + versionCode +
", b=" + b +
", c=" + c +
", d=" + d +
", e=" + e +
", f=" + f +
", g=" + g +
", h=" + h +
", i=" + i +
'}';
}
public static final Creator<QuerySpecification> CREATOR = new AutoCreator<QuerySpecification>(QuerySpecification.class);
}

View File

@ -1,28 +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.appdatasearch;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class RequestIndexingSpecification extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode;
public static final Creator<RequestIndexingSpecification> CREATOR = new AutoCreator<RequestIndexingSpecification>(RequestIndexingSpecification.class);
}

View File

@ -1,27 +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.appdatasearch;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class SearchResults extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 2;
public static Creator<SearchResults> CREATOR = new AutoCreator<SearchResults>(SearchResults.class);
}

View File

@ -1,31 +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.appdatasearch;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class SuggestSpecification extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode;
public SuggestSpecification() {
versionCode = 2;
}
public static final Creator<SuggestSpecification> CREATOR = new AutoCreator<SuggestSpecification>(SuggestSpecification.class);
}

View File

@ -1,54 +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.appdatasearch;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class SuggestionResults extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode;
@SafeParceled(1)
public final String errorMessage;
@SafeParceled(2)
public final String[] s1;
@SafeParceled(3)
public final String[] s2;
private SuggestionResults() {
versionCode = 2;
errorMessage = null;
s1 = s2 = null;
}
public SuggestionResults(String errorMessage) {
versionCode = 2;
this.errorMessage = errorMessage;
this.s1 = null;
this.s2 = null;
}
public SuggestionResults(String[] s1, String[] s2) {
versionCode = 2;
this.errorMessage = null;
this.s1 = s1;
this.s2 = s2;
}
public static final Creator<SuggestionResults> CREATOR = new AutoCreator<SuggestionResults>(SuggestionResults.class);
}

View File

@ -1,24 +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.appdatasearch;
import org.microg.safeparcel.AutoSafeParcelable;
public class UsageInfo extends AutoSafeParcelable {
public static Creator<UsageInfo> CREATOR = new AutoCreator<UsageInfo>(UsageInfo.class);
}

View File

@ -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.search.corpora;
import org.microg.safeparcel.AutoSafeParcelable;
public class ClearCorpusRequest extends AutoSafeParcelable {
public static Creator<ClearCorpusRequest> CREATOR = new AutoCreator<ClearCorpusRequest>(ClearCorpusRequest.class);
}

View File

@ -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.search.corpora;
import org.microg.safeparcel.AutoSafeParcelable;
public class GetCorpusInfoRequest extends AutoSafeParcelable {
public static Creator<GetCorpusInfoRequest> CREATOR = new AutoCreator<GetCorpusInfoRequest>(GetCorpusInfoRequest.class);
}

View File

@ -1,48 +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.search.corpora;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class GetCorpusStatusRequest extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public final String packageName;
@SafeParceled(2)
public final String corpus;
private GetCorpusStatusRequest() {
packageName = null;
corpus = null;
}
@Override
public String toString() {
return "GetCorpusStatusRequest{" +
"versionCode=" + versionCode +
", packageName='" + packageName + '\'' +
", corpus='" + corpus + '\'' +
'}';
}
public static Creator<GetCorpusStatusRequest> CREATOR = new AutoCreator<GetCorpusStatusRequest>(GetCorpusStatusRequest.class);
}

View File

@ -1,47 +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.search.corpora;
import com.google.android.gms.appdatasearch.CorpusStatus;
import com.google.android.gms.common.api.Status;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class GetCorpusStatusResponse extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode;
@SafeParceled(1)
public final Status status;
@SafeParceled(2)
public final CorpusStatus corpusStatus;
private GetCorpusStatusResponse() {
status = null;
corpusStatus = null;
}
public GetCorpusStatusResponse(Status status, CorpusStatus corpusStatus) {
this.status = status;
this.corpusStatus = corpusStatus;
}
public static Creator<GetCorpusStatusResponse> CREATOR = new AutoCreator<GetCorpusStatusResponse>(GetCorpusStatusResponse.class);
}

View File

@ -1,53 +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.search.corpora;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class RequestIndexingRequest extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public final String packageName;
@SafeParceled(2)
public final String corpus;
@SafeParceled(3)
public final long sequenceNumber;
private RequestIndexingRequest() {
packageName = null;
corpus = null;
sequenceNumber = 0;
}
@Override
public String toString() {
return "RequestIndexingRequest{" +
"versionCode=" + versionCode +
", packageName='" + packageName + '\'' +
", corpus='" + corpus + '\'' +
", sequenceNumber=" + sequenceNumber +
'}';
}
public static Creator<RequestIndexingRequest> CREATOR = new AutoCreator<RequestIndexingRequest>(RequestIndexingRequest.class);
}

View File

@ -1,46 +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.search.corpora;
import com.google.android.gms.common.api.Status;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class RequestIndexingResponse extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode;
@SafeParceled(1)
public final Status status;
@SafeParceled(2)
public final boolean scheduledIndexing;
private RequestIndexingResponse() {
status = null;
scheduledIndexing = false;
}
public RequestIndexingResponse(Status status, boolean scheduledIndexing) {
this.status = status;
this.scheduledIndexing = scheduledIndexing;
}
public static Creator<RequestIndexingResponse> CREATOR = new AutoCreator<RequestIndexingResponse>(RequestIndexingResponse.class);
}

View File

@ -1,28 +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.search.global;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class GetCurrentExperimentIdsRequest extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
public static final Creator<GetCurrentExperimentIdsRequest> CREATOR = new AutoCreator<GetCurrentExperimentIdsRequest>(GetCurrentExperimentIdsRequest.class);
}

View File

@ -1,57 +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.search.global;
import com.google.android.gms.common.api.Status;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
import java.util.Arrays;
public class GetCurrentExperimentIdsResponse extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public final Status status;
@SafeParceled(2)
public final int[] experimentIds;
private GetCurrentExperimentIdsResponse() {
status = null;
experimentIds = null;
}
public GetCurrentExperimentIdsResponse(Status status, int[] experimentIds) {
this.status = status;
this.experimentIds = experimentIds;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("GetCurrentExperimentIdsResponse{");
sb.append("status=").append(status);
sb.append(", experimentIds=").append(Arrays.toString(experimentIds));
sb.append('}');
return sb.toString();
}
public static final Creator<GetCurrentExperimentIdsResponse> CREATOR = new AutoCreator<GetCurrentExperimentIdsResponse>(GetCurrentExperimentIdsResponse.class);
}

View File

@ -1,39 +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.search.global;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class GetGlobalSearchSourcesRequest extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public boolean bool;
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("GetGlobalSearchSourcesRequest{");
sb.append("bool=").append(bool);
sb.append('}');
return sb.toString();
}
public static final Creator<GetGlobalSearchSourcesRequest> CREATOR = new AutoCreator<GetGlobalSearchSourcesRequest>(GetGlobalSearchSourcesRequest.class);
}

View File

@ -1,59 +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.search.global;
import android.os.Parcelable;
import com.google.android.gms.common.api.Status;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
import java.util.Arrays;
public class GetGlobalSearchSourcesResponse extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public final Status status;
@SafeParceled(2)
public final Parcelable[] sources;
private GetGlobalSearchSourcesResponse() {
status = null;
sources = null;
}
public GetGlobalSearchSourcesResponse(Status status, Parcelable[] sources) {
this.status = status;
this.sources = sources;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("GetGlobalSearchSourcesResponse{");
sb.append("status=").append(status);
sb.append(", sources=").append(Arrays.toString(sources));
sb.append('}');
return sb.toString();
}
public static final Creator<GetGlobalSearchSourcesResponse> CREATOR = new AutoCreator<GetGlobalSearchSourcesResponse>(GetGlobalSearchSourcesResponse.class);
}

View File

@ -1,28 +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.search.global;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class GetPendingExperimentIdsRequest extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
public static final Creator<GetPendingExperimentIdsRequest> CREATOR = new AutoCreator<GetPendingExperimentIdsRequest>(GetPendingExperimentIdsRequest.class);
}

View File

@ -1,57 +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.search.global;
import com.google.android.gms.common.api.Status;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
import java.util.Arrays;
public class GetPendingExperimentIdsResponse extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public final Status status;
@SafeParceled(2)
public final int[] experimentIds;
private GetPendingExperimentIdsResponse() {
status = null;
experimentIds = null;
}
public GetPendingExperimentIdsResponse(Status status, int[] experimentIds) {
this.status = status;
this.experimentIds = experimentIds;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("GetPendingExperimentIdsResponse{");
sb.append("status=").append(status);
sb.append(", experimentIds=").append(Arrays.toString(experimentIds));
sb.append('}');
return sb.toString();
}
public static final Creator<GetPendingExperimentIdsResponse> CREATOR = new AutoCreator<GetPendingExperimentIdsResponse>(GetPendingExperimentIdsResponse.class);
}

View File

@ -1,45 +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.search.global;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
import java.util.Arrays;
public class SetExperimentIdsRequest extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public byte[] experimentIds;
@SafeParceled(2)
public boolean enable;
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("SetExperimentIdsRequest{");
sb.append("experimentIds=").append(Arrays.toString(experimentIds));
sb.append(", enable=").append(enable);
sb.append('}');
return sb.toString();
}
public static final Creator<SetExperimentIdsRequest> CREATOR = new AutoCreator<SetExperimentIdsRequest>(SetExperimentIdsRequest.class);
}

View File

@ -1,49 +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.search.global;
import com.google.android.gms.common.api.Status;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class SetExperimentIdsResponse extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public final Status status;
private SetExperimentIdsResponse() {
status = null;
}
public SetExperimentIdsResponse(Status status) {
this.status = status;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("SetExperimentIdsResponse{");
sb.append("status=").append(status);
sb.append('}');
return sb.toString();
}
public static final Creator<SetExperimentIdsResponse> CREATOR = new AutoCreator<SetExperimentIdsResponse>(SetExperimentIdsResponse.class);
}

View File

@ -1,47 +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.search.global;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class SetIncludeInGlobalSearchRequest extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public String packageName;
@SafeParceled(2)
public String source;
@SafeParceled(3)
public boolean enabled;
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("SetIncludeInGlobalSearchRequest{");
sb.append("packageName='").append(packageName).append('\'');
sb.append(", source='").append(source).append('\'');
sb.append(", enabled=").append(enabled);
sb.append('}');
return sb.toString();
}
public static final Creator<SetIncludeInGlobalSearchRequest> CREATOR = new AutoCreator<SetIncludeInGlobalSearchRequest>(SetIncludeInGlobalSearchRequest.class);
}

View File

@ -1,49 +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.search.global;
import com.google.android.gms.common.api.Status;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class SetIncludeInGlobalSearchResponse extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public final Status status;
private SetIncludeInGlobalSearchResponse() {
status = null;
}
public SetIncludeInGlobalSearchResponse(Status status) {
this.status = status;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("SetIncludeInGlobalSearchResponse{");
sb.append("status=").append(status);
sb.append('}');
return sb.toString();
}
public static final Creator<SetIncludeInGlobalSearchResponse> CREATOR = new AutoCreator<SetIncludeInGlobalSearchResponse>(SetIncludeInGlobalSearchResponse.class);
}

View File

@ -1,57 +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.search.queries;
import com.google.android.gms.appdatasearch.QuerySpecification;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
import java.util.Arrays;
public class QueryRequest extends AutoSafeParcelable {
@SafeParceled(1000)
public int versionCode = 1;
@SafeParceled(1)
public String searchString;
@SafeParceled(2)
public String packageName;
@SafeParceled(3)
public String[] corpora;
@SafeParceled(4)
public int d;
@SafeParceled(5)
public int e;
@SafeParceled(6)
public QuerySpecification spec;
@Override
public String toString() {
return "QueryRequest{" +
"versionCode=" + versionCode +
", searchString='" + searchString + '\'' +
", packageName='" + packageName + '\'' +
", corpora=" + Arrays.toString(corpora) +
", d=" + d +
", e=" + e +
", spec=" + spec +
'}';
}
public static Creator<QueryRequest> CREATOR = new AutoCreator<QueryRequest>(QueryRequest.class);
}

View File

@ -1,47 +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.search.queries;
import com.google.android.gms.appdatasearch.SearchResults;
import com.google.android.gms.common.api.Status;
import org.microg.safeparcel.AutoSafeParcelable;
import org.microg.safeparcel.SafeParceled;
public class QueryResponse extends AutoSafeParcelable {
@SafeParceled(1000)
private int versionCode = 1;
@SafeParceled(1)
public final Status status;
@SafeParceled(2)
public final SearchResults results;
private QueryResponse() {
status = null;
results = null;
}
public QueryResponse(Status status, SearchResults results) {
this.status = status;
this.results = results;
}
public static Creator<QueryResponse> CREATOR = new AutoCreator<QueryResponse>(QueryResponse.class);
}

View File

@ -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<CompoundHashParcelable> CREATOR = new AutoCreator<CompoundHashParcelable>(CompoundHashParcelable.class);
}

View File

@ -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<ConnectionConfig> CREATOR = new AutoCreator<ConnectionConfig>(ConnectionConfig.class);
}

View File

@ -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<RangeParcelable> CREATOR = new AutoCreator<RangeParcelable>(RangeParcelable.class);
}

View File

@ -41,36 +41,6 @@ public abstract class AbstractGmsServiceBroker extends IGmsServiceBroker.Stub {
this.supportedServices = supportedServices;
}
@Deprecated
@Override
public void getPlusService(IGmsCallbacks callback, int versionCode, String packageName,
String authPackage, String[] scopes, String accountName, Bundle params)
throws RemoteException {
Bundle extras = params == null ? new Bundle() : params;
extras.putString("auth_package", authPackage);
callGetService(GmsService.PLUS, callback, versionCode, packageName, extras, accountName, scopes);
}
@Deprecated
@Override
public void getPanoramaService(IGmsCallbacks callback, int versionCode, String packageName,
Bundle params) throws RemoteException {
callGetService(GmsService.PANORAMA, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getAppDataSearchService(IGmsCallbacks callback, int versionCode, String packageName)
throws RemoteException {
callGetService(GmsService.INDEX, callback, versionCode, packageName);
}
@Deprecated
@Override
public void getWalletService(IGmsCallbacks callback, int versionCode) throws RemoteException {
getWalletServiceWithPackageName(callback, versionCode, null);
}
@Deprecated
@Override
public void getPeopleService(IGmsCallbacks callback, int versionCode, String packageName,
@ -78,47 +48,6 @@ public abstract class AbstractGmsServiceBroker extends IGmsServiceBroker.Stub {
callGetService(GmsService.PEOPLE, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getReportingService(IGmsCallbacks callback, int versionCode, String packageName,
Bundle params) throws RemoteException {
callGetService(GmsService.LOCATION_REPORTING, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getLocationService(IGmsCallbacks callback, int versionCode, String packageName,
Bundle params) throws RemoteException {
callGetService(GmsService.LOCATION, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getGoogleLocationManagerService(IGmsCallbacks callback, int versionCode,
String packageName, Bundle params) throws RemoteException {
callGetService(GmsService.LOCATION_MANAGER, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getGamesService(IGmsCallbacks callback, int versionCode, String packageName,
String accountName, String[] scopes, String gamePackageName,
IBinder popupWindowToken, String desiredLocale, Bundle params)
throws RemoteException {
Bundle extras = params == null ? new Bundle() : params;
extras.putString("com.google.android.gms.games.key.gamePackageName", gamePackageName);
extras.putString("com.google.android.gms.games.key.desiredLocale", desiredLocale);
//extras.putParcelable("com.google.android.gms.games.key.popupWindowToken", popupWindowToken);
callGetService(GmsService.GAMES, callback, versionCode, packageName, extras, accountName, scopes);
}
@Deprecated
@Override
public void getAppStateService(IGmsCallbacks callback, int versionCode, String packageName,
String accountName, String[] scopes) throws RemoteException {
callGetService(GmsService.APPSTATE, callback, versionCode, packageName, null, accountName, scopes);
}
@Deprecated
@Override
public void getPlayLogService(IGmsCallbacks callback, int versionCode, String packageName,
@ -126,27 +55,6 @@ public abstract class AbstractGmsServiceBroker extends IGmsServiceBroker.Stub {
callGetService(GmsService.PLAY_LOG, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getAdMobService(IGmsCallbacks callback, int versionCode, String packageName,
Bundle params) throws RemoteException {
callGetService(GmsService.ADREQUEST, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getDroidGuardService(IGmsCallbacks callback, int versionCode, String packageName,
Bundle params) throws RemoteException {
callGetService(GmsService.DROIDGUARD, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getLockboxService(IGmsCallbacks callback, int versionCode, String packageName,
Bundle params) throws RemoteException {
callGetService(GmsService.LOCKBOX, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getCastMirroringService(IGmsCallbacks callback, int versionCode, String packageName,
@ -154,13 +62,6 @@ public abstract class AbstractGmsServiceBroker extends IGmsServiceBroker.Stub {
callGetService(GmsService.CAST_MIRRORING, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getNetworkQualityService(IGmsCallbacks callback, int versionCode,
String packageName, Bundle params) throws RemoteException {
callGetService(GmsService.NETWORK_QUALITY, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getGoogleIdentityService(IGmsCallbacks callback, int versionCode,
@ -168,13 +69,6 @@ public abstract class AbstractGmsServiceBroker extends IGmsServiceBroker.Stub {
callGetService(GmsService.ACCOUNT, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getGoogleFeedbackService(IGmsCallbacks callback, int versionCode,
String packageName, Bundle params) throws RemoteException {
callGetService(GmsService.FEEDBACK, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getCastService(IGmsCallbacks callback, int versionCode, String packageName,
@ -182,34 +76,6 @@ public abstract class AbstractGmsServiceBroker extends IGmsServiceBroker.Stub {
callGetService(GmsService.CAST, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getDriveService(IGmsCallbacks callback, int versionCode, String packageName,
String[] scopes, String accountName, Bundle params) throws RemoteException {
callGetService(GmsService.DRIVE, callback, versionCode, packageName, params, accountName, scopes);
}
@Deprecated
@Override
public void getLightweightAppDataSearchService(IGmsCallbacks callback, int versionCode,
String packageName) throws RemoteException {
callGetService(GmsService.LIGHTWEIGHT_INDEX, callback, versionCode, packageName);
}
@Deprecated
@Override
public void getSearchAdministrationService(IGmsCallbacks callback, int versionCode,
String packageName) throws RemoteException {
callGetService(GmsService.SEARCH_ADMINISTRATION, callback, versionCode, packageName);
}
@Deprecated
@Override
public void getAutoBackupService(IGmsCallbacks callback, int versionCode, String packageName,
Bundle params) throws RemoteException {
callGetService(GmsService.PHOTO_AUTO_BACKUP, callback, versionCode, packageName, params);
}
@Deprecated
@Override
public void getAddressService(IGmsCallbacks callback, int versionCode, String packageName)
@ -217,12 +83,6 @@ public abstract class AbstractGmsServiceBroker extends IGmsServiceBroker.Stub {
callGetService(GmsService.ADDRESS, callback, versionCode, packageName);
}
@Deprecated
@Override
public void getWalletServiceWithPackageName(IGmsCallbacks callback, int versionCode, String packageName) throws RemoteException {
callGetService(GmsService.WALLET, callback, versionCode, packageName);
}
private void callGetService(GmsService service, IGmsCallbacks callback, int gmsVersion,
String packageName) throws RemoteException {
callGetService(service, callback, gmsVersion, packageName, null);

View File

@ -7,33 +7,12 @@ import com.google.android.gms.common.internal.GetServiceRequest;
import com.google.android.gms.common.internal.ValidateAccountRequest;
interface IGmsServiceBroker {
void getPlusService(IGmsCallbacks callback, int code, String packageName, String authPackage, in String[] scopes, String accountName, in Bundle params) = 0;
void getPanoramaService(IGmsCallbacks callback, int code, String packageName, in Bundle params) = 1;
void getAppDataSearchService(IGmsCallbacks callback, int code, String packageName) = 2;
void getWalletService(IGmsCallbacks callback, int code) = 3;
void getPeopleService(IGmsCallbacks callback, int code, String str, in Bundle params) = 4;
void getReportingService(IGmsCallbacks callback, int code, String str, in Bundle params) = 5;
void getLocationService(IGmsCallbacks callback, int code, String str, in Bundle params) = 6;
void getGoogleLocationManagerService(IGmsCallbacks callback, int code, String str, in Bundle params) = 7;
void getGamesService(IGmsCallbacks callback, int code, String packageName, String accountName, in String[] scopes, String gamePackageName, IBinder popupWindowToken, String desiredLocale, in Bundle params) = 8;
void getAppStateService(IGmsCallbacks callback, int code, String packageName, String accountName, in String[] scopes) = 9;
void getPlayLogService(IGmsCallbacks callback, int code, String str, in Bundle params) = 10;
void getAdMobService(IGmsCallbacks callback, int code, String str, in Bundle params) = 11;
void getDroidGuardService(IGmsCallbacks callback, int code, String str, in Bundle params) = 12;
void getLockboxService(IGmsCallbacks callback, int code, String str, in Bundle params) = 13;
void getCastMirroringService(IGmsCallbacks callback, int code, String str, in Bundle params) = 14;
void getNetworkQualityService(IGmsCallbacks callback, int code, String str, in Bundle params) = 15;
void getGoogleIdentityService(IGmsCallbacks callback, int code, String str, in Bundle params) = 16;
void getGoogleFeedbackService(IGmsCallbacks callback, int code, String str, in Bundle params) = 17;
void getCastService(IGmsCallbacks callback, int code, String str, IBinder binder, in Bundle params) = 18;
void getDriveService(IGmsCallbacks callback, int code, String str1, in String[] args, String str2, in Bundle params) = 19;
void getLightweightAppDataSearchService(IGmsCallbacks callback, int code, String str) = 20;
void getSearchAdministrationService(IGmsCallbacks callback, int code, String str) = 21;
void getAutoBackupService(IGmsCallbacks callback, int code, String str, in Bundle params) = 22;
void getAddressService(IGmsCallbacks callback, int code, String str) = 23;
void getWalletServiceWithPackageName(IGmsCallbacks callback, int code, String packageName) = 41;
void getService(IGmsCallbacks callback, in GetServiceRequest request) = 45;
void validateAccount(IGmsCallbacks callback, in ValidateAccountRequest request) = 46;
}

View File

@ -19,88 +19,21 @@ package org.microg.gms.common;
public enum GmsService {
UNKNOWN(-2),
ANY(-1),
GAMES(1, "com.google.android.gms.games.service.START"),
PLUS(2, "com.google.android.gms.plus.service.START", "com.google.android.gms.plus.service.internal.START"),
PANORAMA(3, "com.google.android.gms.panorama.service.START"),
WALLET(4, "com.google.android.gms.wallet.service.BIND"),
PEOPLE(5, "com.google.android.gms.people.service.START"),
LOCATION(6),
APPSTATE(7, "com.google.android.gms.appstate.service.START"),
ADREQUEST(8, "com.google.android.gms.ads.service.START"),
ACCOUNT(9, "com.google.android.gms.accounts.ACCOUNT_SERVICE"),
CAST(10, "com.google.android.gms.cast.service.BIND_CAST_DEVICE_CONTROLLER_SERVICE"),
DRIVE(11, "com.google.android.gms.drive.ApiService.START"),
ADDRESS(12, "com.google.android.gms.identity.service.BIND"),
CAR(13, "com.google.android.gms.car.service.START"),
WEARABLE(14, "com.google.android.gms.wearable.BIND"),
AUTH(16, "com.google.android.gms.auth.service.START"),
FITNESS(17, "com.google.android.gms.fitness.GoogleFitnessService.START"),
REMINDERS(18, "com.google.android.gms.reminders.service.START"),
LIGHTWEIGHT_INDEX(19, "com.google.android.gms.icing.LIGHTWEIGHT_INDEX_SERVICE"),
DEVICE_CONNECTION(20, "com.google.android.gms.deviceconnection.service.START"),
INDEX(21, "com.google.android.gms.icing.INDEX_SERVICE"),
LOCATION_REPORTING(22, "com.google.android.gms.location.reporting.service.START", "com.google.android.location.reporting.service.START"),
LOCATION_MANAGER(23, "com.google.android.location.internal.GoogleLocationManagerService.START"),
PLAY_LOG(24, "com.google.android.gms.playlog.service.START"),
DROIDGUARD(25, "com.google.android.gms.droidguard.service.START"),
LOCKBOX(26, "com.google.android.gms.lockbox.service.START"),
CAST_MIRRORING(27, "com.google.android.gms.cast_mirroring.service.START"),
NETWORK_QUALITY(28, "com.google.android.gms.mdm.services.START"),
FEEDBACK(29, "com.google.android.gms.feedback.internal.IFeedbackService"),
SEARCH_ADMINISTRATION(30),
PHOTO_AUTO_BACKUP(31, "com.google.android.gms.photos.autobackup.service.START"),
SEARCH_QUERIES(32),
SEARCH_GLOBAL(33),
UDC(35, "com.google.android.gms.udc.service.START"),
SEARCH_CORPORA(36),
DEVICE_MANAGER(37, "com.google.android.gms.mdm.services.DeviceManagerApiService.START"),
PSEUDONYMOUS_ID(38, "com.google.android.gms.pseudonymous.service.START"),
COMMON(39, "com.google.android.gms.common.service.START"),
CLEARCUT_LOGGER(40, "com.google.android.gms.clearcut.service.START"),
USAGE_REPORTING(41, "com.google.android.gms.usagereporting.service.START"),
KIDS(42, "com.google.android.gms.kids.service.START"),
DOWNLOAD(43, "com.google.android.gms.common.download.START"),
SIGN_IN(44, "com.google.android.gms.signin.service.START"),
SAFETY_NET_CLIENT(45, "com.google.android.gms.safetynet.service.START"),
GSERVICES(46, "com.google.android.gms.ads.gservice.START"),
CONTEXT_MANAGER(47, "com.google.android.contextmanager.service.ContextManagerService.START"),
AUDIO_MODEM(48, "com.google.android.gms.audiomodem.service.AudioModemService.START"),
NEARBY_SHARING(49, "com.google.android.gms.nearby.sharing.service.NearbySharingService.START"),
LIGHTWEIGHT_NETWORK_QUALITY(50, "com.google.android.gms.herrevad.services.LightweightNetworkQualityAndroidService.START"),
PHENOTYPE(51, "com.mgoogle.android.gms.phenotype.service.START"),
VOICE_UNLOCK(52, "com.google.android.gms.speech.service.START"),
NEARBY_CONNECTIONS(54, "com.google.android.gms.nearby.connection.service.START"),
FITNESS_SENSORS(55, "com.google.android.gms.fitness.SensorsApi"),
FITNESS_RECORDING(56, "com.google.android.gms.fitness.RecordingApi"),
FITNESS_HISTORY(57, "com.google.android.gms.fitness.HistoryApi"),
FITNESS_SESSIONS(58, "com.google.android.gms.fitness.SessionsApi"),
FITNESS_BLE(59, "com.google.android.gms.fitness.BleApi"),
FITNESS_CONFIG(60, "com.google.android.gms.fitness.ConfigApi"),
FITNESS_INTERNAL(61, "com.google.android.gms.fitness.InternalApi"),
NEARBY_MESSAGES(62, "com.google.android.gms.nearby.messages.service.NearbyMessagesService.START"),
HELP(63, "com.google.android.gms.googlehelp.service.GoogleHelpService.START"),
CONFIG(64, "com.google.android.gms.config.START"),
GEODATA(65, "com.google.android.gms.location.places.GeoDataApi"),
SEARCH_IME(66),
PLACE_DETECTION(67, "com.google.android.gms.location.places.PlaceDetectionApi"),
CREDENTIALS(68, "com.google.android.gms.auth.api.credentials.service.START"),
NEARBY_BOOTSTRAP(69, "com.google.android.gms.nearby.bootstrap.service.NearbyBootstrapService.START"),
PLUS_INTERNAL(70),
SOURCE_DEVICE(75, "com.google.android.gms.smartdevice.d2d.SourceDeviceService.START"),
TARGET_DEVICE(76, "com.google.android.gms.smartdevice.d2d.TargetDeviceService.START"),
APP_INVITE(77, "com.google.android.gms.appinvite.service.START"),
TAP_AND_PAY(79, "com.google.android.gms.tapandpay.service.BIND"),
ACCOUNTS(81, "com.google.android.gms.smartdevice.setup.accounts.AccountsService.START"),
TRUST_AGENT(85, "com.google.android.gms.trustagent.StateApi.START"),
MEASUREMENT(93, "com.google.android.gms.measurement.START"),
FREIGHTER(98, "com.google.android.gms.freighter.service.START"),
BLE(111, "com.google.android.gms.beacon.internal.IBleService.START"),
APP_INDEXING(113),
GASS(116, "com.google.android.gms.gass.START"),
WORK_ACCOUNT(120),
AD_CACHE(123, "com.google.android.gms.ads.service.CACHE"),
DYNAMIC_LINKS(131, "com.google.firebase.dynamiclinks.service.START"),
NEARBY_EXPOSURE(236, "com.google.android.gms.nearby.exposurenotification.START"),
;
public int SERVICE_ID;
@ -113,11 +46,6 @@ public enum GmsService {
this.SECONDARY_ACTIONS = actions;
}
public interface ADVERTISING_ID {
// Has no service id
String ACTION = "com.google.android.gms.ads.identifier.service.START";
}
public static GmsService byServiceId(int serviceId) {
for (GmsService service : values()) {
if (service.SERVICE_ID == serviceId) return service;

View File

@ -1,34 +0,0 @@
option java_package = "org.microg.gms.snet";
option java_outer_classname = "SafetyNetProto";
message SELinuxState {
optional bool supported = 1;
optional bool enabled = 2;
}
message FileState {
optional string fileName = 1;
optional bytes digest = 2;
}
message SafetyNetData {
optional bytes nonce = 1;
optional string packageName = 2;
repeated bytes signatureDigest = 3;
optional bytes fileDigest = 4;
optional int32 gmsVersionCode = 5;
repeated FileState suCandidates = 6;
optional SELinuxState seLinuxState = 7;
optional int64 currentTimeMs = 8;
optional bool googleCn = 9;
}
message AttestRequest {
optional bytes safetyNetData = 1;
optional string droidGuardResult = 2;
}
message AttestResponse {
optional string result = 2;
}

View File

@ -20,8 +20,8 @@ apply plugin: 'kotlin-android-extensions'
dependencies {
implementation "com.squareup.wire:wire-runtime:$wireVersion"
implementation "de.hdodenhof:circleimageview:1.3.0"
implementation "org.conscrypt:conscrypt-android:2.1.0"
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'org.conscrypt:conscrypt-android:2.4.0'
// TODO: Switch to upstream once raw requests are merged
// https://github.com/vitalidze/chromecast-java-api-v2/pull/99
// implementation "su.litvak.chromecast:api-v2:0.10.4"
@ -29,8 +29,6 @@ dependencies {
// Specified manually due to
// https://github.com/vitalidze/chromecast-java-api-v2/issues/91
api "org.slf4j:slf4j-api:1.7.25"
api "uk.uuid.slf4j:slf4j-android:1.7.25-1"
implementation project(':play-services-base-core')
implementation project(':play-services-core-proto')
@ -39,8 +37,7 @@ dependencies {
implementation project(':play-services-cast-api')
// AndroidX UI
implementation "androidx.multidex:multidex:$multidexVersion"
implementation "androidx.appcompat:appcompat:$appcompatVersion"
implementation "androidx.appcompat:appcompat:1.2.0"
implementation "androidx.mediarouter:mediarouter:$mediarouterVersion"
implementation "androidx.preference:preference:$preferenceVersion"
@ -51,6 +48,7 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-service:$lifecycleVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
implementation project(path: ':play-services-basement')
}
android {

View File

@ -38,7 +38,7 @@ android {
}
dependencies {
implementation "androidx.appcompat:appcompat:$appcompatVersion"
implementation "androidx.appcompat:appcompat:1.2.0"
implementation "androidx.preference:preference:$preferenceVersion"
}

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/ripple_material_dark">
<item android:drawable="@color/switchbar_background_color"/>
</ripple>

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ 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.
-->
<color xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/switchbar_background_color"/>

View File

@ -1,51 +0,0 @@
<!--
~ Copyright (C) 2014 The Android Open Source Project
~ Copyright (C) 2014-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.
-->
<RelativeLayout android:id="@+id/app_bar"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@drawable/switchbar_background"
android:clickable="true"
android:gravity="center_vertical">
<ImageView
android:id="@+id/app_icon"
android:layout_width="72dp"
android:layout_height="40dp"
android:layout_centerVertical="true"
android:gravity="end"/>
<TextView
android:id="@+id/app_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_alignWithParentIfMissing="true"
android:layout_centerVertical="true"
android:layout_marginEnd="16dp"
android:layout_marginLeft="72dp"
android:layout_marginRight="16dp"
android:layout_marginStart="72dp"
android:gravity="start"
android:textAlignment="viewStart"
android:textColor="?android:attr/textColorPrimaryInverse"
android:theme="@style/TextAppearance.AppCompat.Title.Inverse"/>
</RelativeLayout>

View File

@ -17,7 +17,8 @@
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipChildren="false"
android:layout_marginBottom="0.25dp"
@ -49,7 +50,7 @@
android:layout_height="wrap_content"
android:layout_marginEnd="36dp"
android:layout_marginRight="36dp"
android:tint="?android:attr/textColorPrimaryInverse"/>
app:tint="?android:attr/textColorPrimaryInverse" />
<TextView
android:id="@android:id/title"
@ -69,7 +70,7 @@
android:focusable="true"
android:padding="16dp"
android:src="@drawable/ic_expand_more"
android:tint="?android:attr/textColorPrimaryInverse"/>
app:tint="?android:attr/textColorPrimaryInverse" />
</LinearLayout>
@ -95,13 +96,11 @@
android:textColor="?android:attr/textColorPrimaryInverse"/>
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="0.25dp"
android:background="@android:color/white"/>
<androidx.appcompat.widget.ButtonBarLayout
android:id="@+id/buttonBar"
style="?attr/buttonBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@ -21,12 +21,6 @@
<string name="about_name_version_str">%1$s %2$s</string>
<string name="about_default_license">Alle Rechte vorbehalten.</string>
<string name="self_check_title">Selbstprüfung</string>
<string name="self_check_cat_permissions">Berechtigungen erteilt</string>
<string name="self_check_name_permission">%1$s:</string>
<string name="self_check_resolution_permission">Hier drücken um die Berechtigung \"%1$s\" zu erteilen. Verweigern einer Berechtigung kann zu Fehlverhalten in anderen Anwendungen führen.</string>
<string name="about_root_title">microG UI Demo</string>
<string name="about_root_summary">Zusammenfassung</string>
<string name="about_root_version">Version v0.1.0</string>

View File

@ -21,12 +21,6 @@
<string name="about_name_version_str">%1$s %2$s</string>
<string name="about_default_license">Tous droits réservés.</string>
<string name="self_check_title">Auto-vérification.</string>
<string name="self_check_cat_permissions">Autorisations accordées</string>
<string name="self_check_name_permission">Autorisation à %1$s :</string>
<string name="self_check_resolution_permission">Touchez ici pour accorder lautorisation %1$s. Des applications peuvent mal se comporter si vous ne le faites pas.</string>
<string name="about_root_version">Version v0.1.0</string>
<string name="about_root_libraries">Librairies incluses</string>

View File

@ -21,12 +21,6 @@
<string name="about_name_version_str">%1$s %2$s</string>
<string name="about_default_license">Tutti i diritti sono riservati.</string>
<string name="self_check_title">Auto-controllo</string>
<string name="self_check_cat_permissions">Autorizzazione concessa</string>
<string name="self_check_name_permission">Autorizzazione a %1$s:</string>
<string name="self_check_resolution_permission">Tocca qui per concedere l\'autorizzazione a %1$s. Negare l\'autorizzazione può comportare il funzionamento anomalo di altre applicazioni.</string>
<string name="about_root_title">microG UI Demo</string>
<string name="about_root_summary">Sommario</string>
<string name="about_root_version">Versione v0.1.0</string>

View File

@ -21,12 +21,6 @@
<string name="about_name_version_str">%1$s %2$s</string>
<string name="about_default_license">Wszelkie prawa zastrzeżone.</string>
<string name="self_check_title">Samo-sprawdzenie</string>
<string name="self_check_cat_permissions">Udzielono uprawnień</string>
<string name="self_check_name_permission">Uprawnienie do %1$s:</string>
<string name="self_check_resolution_permission">Stuknij, aby udzielić uprawnienia na %1$s. Nieudzielenie uprawnienia może powodować problemy z aplikacjami.</string>
<string name="about_root_title">Demo microG UI</string>
<string name="about_root_summary">Podsumowanie</string>
<string name="about_root_version">Wersja v0.1.0</string>

View File

@ -21,12 +21,6 @@
<string name="about_name_version_str">%1$s %2$s</string>
<string name="about_default_license">Все права защищены.</string>
<string name="self_check_title">Проверка работоспособности</string>
<string name="self_check_cat_permissions">Права доступа предоставлены</string>
<string name="self_check_name_permission">Разрешение для %1$s:</string>
<string name="self_check_resolution_permission">Нажмите здесь, чтобы дать разрешение на %1$s. Непредоставление разрешения может привести некорректной работе приложения.</string>
<string name="about_root_title">microG UI Demo</string>
<string name="about_root_summary">Сводка</string>
<string name="about_root_version">Версия v0.1.0</string>

View File

@ -17,10 +17,4 @@
<resources>
<string name="self_check_title">микроГ самопровера</string>
<string name="self_check_cat_permissions">Дозволе одобрене</string>
<string name="self_check_name_permission">Дозволе за %1$s:</string>
<string name="self_check_resolution_permission">Тапните овде да одобрите дозволе за %1$s. Не одобравање дозвола може да резултира чудним понашањем апликација.</string>
</resources>
</resources>

View File

@ -21,12 +21,6 @@
<string name="about_name_version_str">%1$s %2$s</string>
<string name="about_default_license">Всі права захищено.</string>
<string name="self_check_title">Само-тестування</string>
<string name="self_check_cat_permissions">Доступ надано</string>
<string name="self_check_name_permission">Доступ до %1$s:</string>
<string name="self_check_resolution_permission">Торкніться, аби надати доступ до %1$s. Без доступу не гарантується робота додатку належним чином.</string>
<string name="about_root_title">Демонстрація microG UI</string>
<string name="about_root_summary">Резюме</string>
<string name="about_root_version">Версія v0.1.0</string>

View File

@ -21,12 +21,6 @@
<string name="about_name_version_str">%1$s %2$s</string>
<string name="about_default_license">保留所有權利。</string>
<string name="self_check_title">自我檢查</string>
<string name="self_check_cat_permissions">允許權限</string>
<string name="self_check_name_permission">給 %1$s的權限</string>
<string name="self_check_resolution_permission">按這裡給%1$s權限。不允許權限可能導致程式運作不正常。</string>
<string name="about_root_title">microG UI Demo</string>
<string name="about_root_summary">大綱</string>
<string name="about_root_version">版本 v0.1.0</string>

View File

@ -21,12 +21,6 @@
<string name="about_name_version_str">%1$s %2$s</string>
<string name="about_default_license">All rights reserved.</string>
<string name="self_check_title">Self-Check</string>
<string name="self_check_cat_permissions">Permissions granted</string>
<string name="self_check_name_permission">Permission to %1$s:</string>
<string name="self_check_resolution_permission">Touch here to grant permission to %1$s. Not granting the permission can result in misbehaving applications.</string>
<string name="about_root_title">microG UI Demo</string>
<string name="about_root_summary">Summary</string>
<string name="about_root_version">Version v0.1.0</string>

View File

@ -188,16 +188,6 @@
</intent-filter>
</receiver>
<!-- DroidGuard -->
<service android:name="org.microg.gms.droidguard.DroidGuardService">
<intent-filter>
<action android:name="com.google.android.gms.droidguard.service.START" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</service>
<!-- Auth -->
<service android:name="org.microg.gms.auth.loginservice.GoogleLoginService">
@ -216,12 +206,6 @@
android:value="1" />
</service>
<service android:name="com.google.android.gms.auth.FirebaseAuthService">
<intent-filter>
<action android:name="com.google.firebase.auth.api.gms.service.START" />
</intent-filter>
</service>
<activity
android:name="org.microg.tools.AccountPickerActivity"
android:excludeFromRecents="true"
@ -353,23 +337,6 @@
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</service>
<service android:name="org.microg.gms.mdm.NetworkQualityService">
<intent-filter>
<action android:name="com.google.android.gms.mdm.services.START" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</service>
<service android:name="org.microg.gms.icing.LightweightIndexService">
<intent-filter>
<action android:name="com.google.android.gms.icing.LIGHTWEIGHT_INDEX_SERVICE" />
</intent-filter>
</service>
<service android:name="org.microg.gms.icing.IndexService">
<intent-filter>
<action android:name="com.google.android.gms.icing.INDEX_SERVICE" />
</intent-filter>
</service>
<service android:name="org.microg.gms.playlog.PlayLogService">
<intent-filter>
@ -401,32 +368,12 @@
<service android:name="org.microg.gms.DummyService">
<intent-filter>
<action android:name="com.google.android.gms.plus.service.START" />
<action android:name="com.google.android.gms.plus.service.internal.START" />
<action android:name="com.google.android.gms.panorama.service.START" />
<action android:name="com.google.android.gms.appstate.service.START" />
<action android:name="com.google.android.gms.ads.service.START" />
<action android:name="com.google.android.gms.accounts.ACCOUNT_SERVICE" />
<action android:name="com.google.android.gms.identity.service.BIND" />
<action android:name="com.google.android.gms.wearable.BIND" />
<action android:name="com.google.android.gms.auth.service.START" />
<action android:name="com.google.android.gms.fitness.GoogleFitnessService.START" />
<action android:name="com.google.android.gms.deviceconnection.service.START" />
<action android:name="com.google.android.gms.droidguard.service.START" />
<action android:name="com.google.android.gms.lockbox.service.START" />
<action android:name="com.google.android.gms.cast_mirroring.service.START" />
<action android:name="com.google.android.gms.photos.autobackup.service.START" />
<action android:name="com.google.android.gms.udc.service.START" />
<action android:name="com.google.android.gms.mdm.services.DeviceManagerApiService.START" />
<action android:name="com.google.android.gms.pseudonymous.service.START" />
<action android:name="com.google.android.gms.common.service.START" />
<action android:name="com.google.android.gms.usagereporting.service.START" />
<action android:name="com.google.android.gms.kids.service.START" />
<action android:name="com.google.android.gms.common.download.START" />
<action android:name="com.google.android.contextmanager.service.ContextManagerService.START" />
<action android:name="com.google.android.gms.audiomodem.service.AudioModemService.START" />
<action android:name="com.google.android.gms.nearby.sharing.service.NearbySharingService.START" />
<action android:name="com.google.android.gms.herrevad.services.LightweightNetworkQualityAndroidService.START" />
<action android:name="com.mgoogle.android.gms.phenotype.service.START" />
<action android:name="com.google.android.gms.auth.api.credentials.service.START" />
<action android:name="com.google.android.gms.gass.START" />

View File

@ -1,29 +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.auth;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import org.microg.gms.auth.firebase.FirebaseAuthServiceImpl;
public class FirebaseAuthService extends Service {
public IBinder onBind(Intent intent) {
return new FirebaseAuthServiceImpl(this);
}
}

View File

@ -1,22 +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.dynamite.descriptors.com.google.android.gms.firebase_database;
public class ModuleDescriptor {
public static final String MODULE_ID = "com.google.android.gms.firebase_database";
public static final int MODULE_VERSION = 3;
}

View File

@ -1,32 +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.recovery;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
public class RecoveryService extends Service {
private static final String TAG = "GmsRecoverySvc";
@Override
public IBinder onBind(Intent intent) {
Log.d(TAG, "onBind: " + intent);
return null;
}
}

Some files were not shown because too many files have changed in this diff Show More