mirror of
https://github.com/microg/android_packages_apps_GmsCore
synced 2026-08-06 14:26:05 -04:00
Merge 006ceba158 into 9a206ae115
This commit is contained in:
commit
73f402aba0
4 changed files with 51 additions and 1 deletions
BIN
.aider.tags.cache.v4/cache.db
Normal file
BIN
.aider.tags.cache.v4/cache.db
Normal file
Binary file not shown.
10
README.md
10
README.md
|
|
@ -9,6 +9,14 @@ microG Services is a FLOSS (Free/Libre Open Source Software) framework to allow
|
|||
|
||||
### Please refer to the [wiki](https://github.com/microg/GmsCore/wiki) for downloads and instructions
|
||||
|
||||
## WearOS Support
|
||||
|
||||
This repository now includes initial support for WearOS devices integration with MicroG Firebase Authentication.
|
||||
|
||||
The `WearOsSupportAidlRequest` class and `WearOsSupportService` provide a foundation for future WearOS-specific authentication features.
|
||||
|
||||
Contributions to extend and improve WearOS support are welcome.
|
||||
|
||||
## Translations
|
||||
|
||||
If you'd like to help translate microG, take a look at [TRANSLATION](TRANSLATION.md).
|
||||
|
|
@ -16,7 +24,7 @@ If you'd like to help translate microG, take a look at [TRANSLATION](TRANSLATION
|
|||
|
||||
License
|
||||
-------
|
||||
Copyright 2013-2025 microG Project Team
|
||||
Copyright 2013-2026 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.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2026, microG Project Team
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
package org.microg.gms.firebase.auth
|
||||
|
||||
import android.content.Context
|
||||
import android.util.Log
|
||||
import com.google.android.gms.common.api.CommonStatusCodes
|
||||
import com.google.android.gms.common.api.Status
|
||||
import com.google.android.gms.common.internal.GetServiceRequest
|
||||
import com.google.android.gms.common.internal.IGmsCallbacks
|
||||
import org.microg.gms.BaseService
|
||||
import org.microg.gms.common.GmsService
|
||||
import com.google.firebase.auth.api.internal.WearOsSupportAidlRequest
|
||||
|
||||
private const val TAG = "GmsFirebaseAuthWearOs"
|
||||
|
||||
class WearOsSupportService : BaseService(TAG, GmsService.FIREBASE_AUTH) {
|
||||
override fun handleServiceRequest(callback: IGmsCallbacks, request: GetServiceRequest, service: GmsService?) {
|
||||
Log.d(TAG, "WearOS support service request received")
|
||||
// For now, just respond with success without additional implementation
|
||||
callback.onPostInitComplete(CommonStatusCodes.SUCCESS, null, null)
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2026, microG Project Team
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
package com.google.firebase.auth.api.internal;
|
||||
|
||||
import org.microg.safeparcel.AutoSafeParcelable;
|
||||
|
||||
/**
|
||||
* Placeholder class for WearOS support request.
|
||||
* This class can be extended in the future to add WearOS specific authentication features.
|
||||
*/
|
||||
public class WearOsSupportAidlRequest extends AutoSafeParcelable {
|
||||
public static final Creator<WearOsSupportAidlRequest> CREATOR = new AutoCreator<>(WearOsSupportAidlRequest.class);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue