-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'microg:master' into patch-4
- Loading branch information
Showing
71 changed files
with
488 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...rc/main/aidl/com/google/android/gms/credential/manager/common/IPendingIntentCallback.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.credential.manager.common; | ||
|
||
import com.google.android.gms.common.api.Status; | ||
|
||
interface IPendingIntentCallback { | ||
void onPendingIntent(in Status status, in PendingIntent pendingIntent); | ||
} |
12 changes: 12 additions & 0 deletions
12
...api/src/main/aidl/com/google/android/gms/credential/manager/common/ISettingsCallback.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.credential.manager.common; | ||
|
||
import com.google.android.gms.common.api.Status; | ||
|
||
interface ISettingsCallback { | ||
void onSetting(in Status status, in byte[] value); | ||
} |
17 changes: 17 additions & 0 deletions
17
.../google/android/gms/credential/manager/firstparty/internal/ICredentialManagerService.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.credential.manager.firstparty.internal; | ||
|
||
import com.google.android.gms.common.api.internal.IStatusCallback; | ||
import com.google.android.gms.credential.manager.common.IPendingIntentCallback; | ||
import com.google.android.gms.credential.manager.common.ISettingsCallback; | ||
import com.google.android.gms.credential.manager.invocationparams.CredentialManagerInvocationParams; | ||
|
||
interface ICredentialManagerService { | ||
void getCredentialManagerIntent(IPendingIntentCallback callback, in CredentialManagerInvocationParams params) = 0; | ||
void getSetting(ISettingsCallback callback, String key) = 1; | ||
void setSetting(IStatusCallback callback, String key, in byte[] value) = 2; | ||
} |
8 changes: 8 additions & 0 deletions
8
...le/android/gms/credential/manager/invocationparams/CredentialManagerInvocationParams.aidl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.credential.manager.invocationparams; | ||
|
||
parcelable CredentialManagerInvocationParams; |
28 changes: 28 additions & 0 deletions
28
.../src/main/java/com/google/android/gms/credential/manager/invocationparams/CallerInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.credential.manager.invocationparams; | ||
|
||
import androidx.annotation.NonNull; | ||
import org.microg.safeparcel.AutoSafeParcelable; | ||
|
||
public class CallerInfo extends AutoSafeParcelable { | ||
@Field(1) | ||
public String s1; | ||
@Field(2) | ||
public String s2; | ||
@Field(3) | ||
public String s3; | ||
@Field(4) | ||
public String s4; | ||
|
||
@NonNull | ||
@Override | ||
public String toString() { | ||
return "CallerInfo(" + s1 + "," + s2 + "," + s3 + "," + s4 + ")"; | ||
} | ||
|
||
public static final Creator<CallerInfo> CREATOR = new AutoCreator<>(CallerInfo.class); | ||
} |
23 changes: 23 additions & 0 deletions
23
.../com/google/android/gms/credential/manager/invocationparams/CredentialManagerAccount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.credential.manager.invocationparams; | ||
|
||
import androidx.annotation.NonNull; | ||
import org.microg.safeparcel.AutoSafeParcelable; | ||
|
||
public class CredentialManagerAccount extends AutoSafeParcelable { | ||
@Field(1) | ||
public String name; | ||
|
||
@NonNull | ||
@Override | ||
public String toString() { | ||
return name; | ||
} | ||
|
||
public static final String NAME_LOCAL = "pwm.constant.LocalAccount"; | ||
public static final Creator<CredentialManagerAccount> CREATOR = new AutoCreator<>(CredentialManagerAccount.class); | ||
} |
28 changes: 28 additions & 0 deletions
28
...le/android/gms/credential/manager/invocationparams/CredentialManagerInvocationParams.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.credential.manager.invocationparams; | ||
|
||
import androidx.annotation.NonNull; | ||
import org.microg.gms.utils.ToStringHelper; | ||
import org.microg.safeparcel.AutoSafeParcelable; | ||
|
||
public class CredentialManagerInvocationParams extends AutoSafeParcelable { | ||
@Field(1) | ||
public CredentialManagerAccount account; | ||
@Field(2) | ||
public CallerInfo caller; | ||
|
||
@NonNull | ||
@Override | ||
public String toString() { | ||
return ToStringHelper.name("CredentialManagerInvocationParams") | ||
.field("account", account) | ||
.field("caller", caller) | ||
.end(); | ||
} | ||
|
||
public static final Creator<CredentialManagerInvocationParams> CREATOR = new AutoCreator<>(CredentialManagerInvocationParams.class); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.