-
-
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
65 changed files
with
2,679 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,8 @@ android { | |
sourceCompatibility = 1.8 | ||
targetCompatibility = 1.8 | ||
} | ||
|
||
lintOptions { | ||
disable 'MissingTranslation' | ||
} | ||
} |
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
11 changes: 11 additions & 0 deletions
11
play-services-ads-identifier/core/src/main/res/values/strings.xml
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,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
~ SPDX-FileCopyrightText: 2023 microG Project Team | ||
~ SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
<resources> | ||
<string name="perm_ad_id_label">Advertising ID Permission</string> | ||
<string name="perm_ad_id_description">Allows a publisher app to access a valid advertising ID directly or indirectly.</string> | ||
<string name="perm_ad_id_notification_label">Advertising ID notification</string> | ||
<string name="perm_ad_id_notification_description">Allows an app to receive a notification when the advertising ID or limit ad tracking preference of the user is updated.</string> | ||
</resources> |
15 changes: 12 additions & 3 deletions
15
...r/src/main/aidl/com/google/android/gms/ads/identifier/internal/IAdvertisingIdService.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 |
---|---|---|
@@ -1,8 +1,17 @@ | ||
package com.google.android.gms.ads.identifier.internal; | ||
|
||
import android.os.Bundle; | ||
|
||
interface IAdvertisingIdService { | ||
String getAdvertisingId() = 0; | ||
boolean isAdTrackingLimited(boolean defaultHint) = 1; | ||
String generateAdvertisingId(String packageName) = 2; | ||
void setAdTrackingLimited(String packageName, boolean limited) = 3; | ||
boolean isAdTrackingLimited(boolean ignored) = 1; | ||
String resetAdvertisingId(String packageName) = 2; | ||
void setAdTrackingLimitedGlobally(String packageName, boolean limited) = 3; | ||
String setDebugLoggingEnabled(String packageName, boolean enabled) = 4; | ||
boolean isDebugLoggingEnabled() = 5; | ||
boolean isAdTrackingLimitedGlobally() = 6; | ||
void setAdTrackingLimitedForApp(int uid, boolean limited) = 7; | ||
void resetAdTrackingLimitedForApp(int uid) = 8; | ||
Bundle getAllAppsLimitedAdTrackingConfiguration() = 9; // Map packageName -> Boolean | ||
String getAdvertisingIdForApp(int uid) = 10; | ||
} |
3 changes: 3 additions & 0 deletions
3
play-services-api/src/main/aidl/com/google/android/gms/feedback/FeedbackOptions.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,3 @@ | ||
package com.google.android.gms.feedback; | ||
|
||
parcelable FeedbackOptions; |
3 changes: 3 additions & 0 deletions
3
play-services-api/src/main/aidl/com/google/android/gms/googlehelp/GoogleHelp.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,3 @@ | ||
package com.google.android.gms.googlehelp; | ||
|
||
parcelable GoogleHelp; |
3 changes: 3 additions & 0 deletions
3
play-services-api/src/main/aidl/com/google/android/gms/googlehelp/InProductHelp.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,3 @@ | ||
package com.google.android.gms.googlehelp; | ||
|
||
parcelable InProductHelp; |
3 changes: 3 additions & 0 deletions
3
play-services-api/src/main/aidl/com/google/android/gms/googlehelp/SupportRequestHelp.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,3 @@ | ||
package com.google.android.gms.googlehelp; | ||
|
||
parcelable SupportRequestHelp; |
26 changes: 26 additions & 0 deletions
26
...src/main/aidl/com/google/android/gms/googlehelp/internal/common/IGoogleHelpCallbacks.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,26 @@ | ||
package com.google.android.gms.googlehelp.internal.common; | ||
|
||
import android.graphics.Bitmap; | ||
import android.os.Bundle; | ||
import android.os.IBinder; | ||
import android.os.Parcel; | ||
|
||
import com.google.android.gms.googlehelp.GoogleHelp; | ||
import com.google.android.gms.googlehelp.InProductHelp; | ||
|
||
interface IGoogleHelpCallbacks { | ||
void onProcessGoogleHelpFinished(in GoogleHelp googleHelp) = 0; | ||
oneway void onSaveAsyncPsdFinished() = 6; | ||
oneway void onSaveAsyncPsbdFinished() = 7; | ||
void onRequestChatSupportSuccess(int chatQueuePosition) = 8; | ||
void onRequestChatSupportFailed() = 9; | ||
void onRequestC2cSupportSuccess() = 10; | ||
void onRequestC2cSupportFailed() = 11; | ||
void onSuggestions(in byte[] suggestions) = 12; | ||
void onNoSuggestions() = 13; | ||
void onEscalationOptions(in byte[] options) = 14; | ||
void onNoEscalationOptions() = 15; | ||
void onProcessInProductHelpFinished(in InProductHelp inProductHelp) = 16; | ||
void onRealtimeSupportStatus(in byte[] status) = 17; | ||
void onNoRealtimeSupportStatus() = 18; | ||
} |
26 changes: 26 additions & 0 deletions
26
...i/src/main/aidl/com/google/android/gms/googlehelp/internal/common/IGoogleHelpService.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,26 @@ | ||
package com.google.android.gms.googlehelp.internal.common; | ||
|
||
import android.graphics.Bitmap; | ||
import android.os.Bundle; | ||
|
||
import com.google.android.gms.feedback.FeedbackOptions; | ||
import com.google.android.gms.googlehelp.GoogleHelp; | ||
import com.google.android.gms.googlehelp.InProductHelp; | ||
import com.google.android.gms.googlehelp.SupportRequestHelp; | ||
import com.google.android.gms.googlehelp.internal.common.IGoogleHelpCallbacks; | ||
|
||
interface IGoogleHelpService { | ||
void processGoogleHelpAndPip(in GoogleHelp googleHelp, IGoogleHelpCallbacks callbacks) = 0; | ||
void processGoogleHelpAndPipWithBitmap(in GoogleHelp googleHelp, in Bitmap bitmap, IGoogleHelpCallbacks callbacks) = 1; | ||
oneway void saveAsyncHelpPsd(in Bundle bundle, long timestamp, in GoogleHelp googleHelp, IGoogleHelpCallbacks callbacks) = 7; | ||
oneway void saveAsyncFeedbackPsd(in Bundle bundle, long timestamp, in GoogleHelp googleHelp, IGoogleHelpCallbacks callbacks) = 8; | ||
oneway void saveAsyncFeedbackPsbd(in FeedbackOptions options, in Bundle bundle, long timestamp, in GoogleHelp googleHelp, IGoogleHelpCallbacks callbacks) = 9; | ||
oneway void requestChatSupport(in GoogleHelp googleHelp, String phoneNumber, String s2, IGoogleHelpCallbacks callbacks) = 10; | ||
oneway void requestC2cSupport(in GoogleHelp googleHelp, String phoneNumber, String s2, IGoogleHelpCallbacks callbacks) = 11; | ||
oneway void getSuggestions(in GoogleHelp googleHelp, IGoogleHelpCallbacks callbacks) = 12; | ||
oneway void getEscalationOptions(in GoogleHelp googleHelp, IGoogleHelpCallbacks callbacks) = 13; | ||
oneway void requestChatSupportWithSupportRequest(in SupportRequestHelp supportRequestHelp, IGoogleHelpCallbacks callbacks) = 14; | ||
oneway void requestC2cSupportWithSupportRequest(in SupportRequestHelp supportRequestHelp, IGoogleHelpCallbacks callbacks) = 15; | ||
void processInProductHelpAndPip(in InProductHelp inProductHelp, in Bitmap bitmap, IGoogleHelpCallbacks callbacks) = 16; | ||
oneway void getRealtimeSupportStatus(in GoogleHelp googleHelp, IGoogleHelpCallbacks callbacks) = 17; | ||
} |
74 changes: 74 additions & 0 deletions
74
play-services-api/src/main/java/com/google/android/gms/feedback/ErrorReport.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,74 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.feedback; | ||
|
||
import android.app.ApplicationErrorReport; | ||
import android.graphics.Bitmap; | ||
import org.microg.safeparcel.AutoSafeParcelable; | ||
|
||
public class ErrorReport extends AutoSafeParcelable { | ||
@Field(2) | ||
public ApplicationErrorReport applicationErrorReport; | ||
@Field(4) | ||
public int unknownInt4; | ||
@Field(12) | ||
public int unknownInt12; | ||
@Field(24) | ||
public int unknownInt24; | ||
@Field(25) | ||
public int unknownInt25; | ||
@Field(26) | ||
public int unknownInt26; | ||
@Field(27) | ||
public int unknownInt27; | ||
@Field(32) | ||
public boolean unknownBool32; | ||
@Field(33) | ||
public int unknownInt33; | ||
@Field(34) | ||
public int unknownInt34; | ||
@Field(35) | ||
public boolean unknownBool35; | ||
@Field(36) | ||
public String exceptionClassName; | ||
@Field(37) | ||
public String throwFileName; | ||
@Field(38) | ||
public int throwLineNumber; | ||
@Field(39) | ||
public String throwClassName; | ||
@Field(40) | ||
public String throwMethodName; | ||
@Field(41) | ||
public String stackTrace; | ||
@Field(42) | ||
public String exceptionMessage; | ||
@Field(50) | ||
public boolean unknownBool50; | ||
@Field(51) | ||
public String unknownString51; | ||
@Field(52) | ||
public ThemeSettings themeSettings; | ||
@Field(53) | ||
public LogOptions logOptions; | ||
@Field(55) | ||
public boolean unknownBool55; | ||
@Field(58) | ||
public boolean unknownBool58; | ||
@Field(59) | ||
public Bitmap unknownBitmap59; | ||
@Field(60) | ||
public String unknownString60; | ||
@Field(62) | ||
public int unknownInt62; | ||
@Field(63) | ||
public int unknownInt63; | ||
@Field(67) | ||
public boolean unknownBool67; | ||
@Field(68) | ||
public boolean unknownBool68; | ||
public static final Creator<ErrorReport> CREATOR = findCreator(ErrorReport.class); | ||
} |
39 changes: 39 additions & 0 deletions
39
play-services-api/src/main/java/com/google/android/gms/feedback/FeedbackOptions.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,39 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2023 microG Project Team | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.google.android.gms.feedback; | ||
|
||
import android.app.ApplicationErrorReport; | ||
import android.graphics.Bitmap; | ||
import android.os.Bundle; | ||
import org.microg.safeparcel.AutoSafeParcelable; | ||
|
||
import java.util.List; | ||
|
||
public class FeedbackOptions extends AutoSafeParcelable { | ||
@Field(3) | ||
public Bundle unknownBundle3; | ||
@Field(6) | ||
public ApplicationErrorReport applicationErrorReport; | ||
@Field(9) | ||
public String packageName; | ||
@Field(10) | ||
public List<FileTeleporter> files; | ||
@Field(11) | ||
public boolean unknownBool11; | ||
@Field(12) | ||
public ThemeSettings themeSettings; | ||
@Field(13) | ||
public LogOptions logOptions; | ||
@Field(15) | ||
public Bitmap screenshot; | ||
@Field(17) | ||
public boolean unknownBool17; | ||
@Field(18) | ||
public long unknownLong18; | ||
@Field(19) | ||
public boolean unknownBool19; | ||
public static final Creator<FeedbackOptions> CREATOR = findCreator(FeedbackOptions.class); | ||
} |
Oops, something went wrong.