You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-30 16:26:50 +00:00
Android: Fix another regression with Secure.ANDROID_ID
Regression from #24145, which was missed in #28146.
(cherry picked from commit 071ebb1e48)
This commit is contained in:
@@ -746,7 +746,8 @@ public abstract class DownloaderService extends CustomIntentService implements I
|
||||
public void run() {
|
||||
setServiceRunning(true);
|
||||
mNotification.onDownloadStateChanged(IDownloaderClient.STATE_FETCHING_URL);
|
||||
String deviceId = Secure.ANDROID_ID;
|
||||
String deviceId = Secure.getString(mContext.getContentResolver(),
|
||||
Secure.ANDROID_ID);
|
||||
|
||||
final APKExpansionPolicy aep = new APKExpansionPolicy(mContext,
|
||||
new AESObfuscator(getSALT(), mContext.getPackageName(), deviceId));
|
||||
|
||||
@@ -287,7 +287,8 @@ public class LicenseChecker implements ServiceConnection {
|
||||
}
|
||||
|
||||
if (logResponse) {
|
||||
String android_id = Secure.ANDROID_ID;
|
||||
String android_id = Secure.getString(mContext.getContentResolver(),
|
||||
Secure.ANDROID_ID);
|
||||
Date date = new Date();
|
||||
Log.d(TAG, "Server Failure: " + stringError);
|
||||
Log.d(TAG, "Android ID: " + android_id);
|
||||
|
||||
Reference in New Issue
Block a user