Status Update
Comments
mk...@google.com <mk...@google.com>
ku...@gmail.com <ku...@gmail.com> #2
i donnot understand why is the data the same?
mk...@google.com <mk...@google.com> #3
mk...@google.com <mk...@google.com> #4
What steps are needed to reproduce this issue? Frequency of occurrence?
Which Android build are you using? (e.g. AP4A.241205.013.A1)
Which device did you use to reproduce this issue?
Can you confirm if this issue is reproducible on a Pixel/Nexus device?
Please provide a sample project or apk to reproduce the issue. Also mention the steps to be followed for reproducing the issue with the given sample project or apk.
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report and screenshot to google drive and share the folder to android-bugreport@google.com, then share the link here.
ku...@gmail.com <ku...@gmail.com> #5
Please provide the requested information to proceed further. Unfortunately the issue will be closed within 7 days if there is no further update.
ap...@google.com <ap...@google.com> #6
for example,we hava 100 users.
20 users returned the same location information, longitude is 121.474000 and latitude is 31.230001。
30 users returned the same location information, longitude is 122.474000 and latitude is 32.230001。
15 users returned the same location information, longitude is 120.474000 and latitude is 30.230001。
as for Android build,all versions have it.
I dont reprodouce this issue.
what may be the cause of this issue?please
ap...@google.com <ap...@google.com> #7
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
ku...@gmail.com <ku...@gmail.com> #8
Thanks for reporting this issue.
COARSE_LOCATION typically takes location information from the nearby cell tower. If many users are near the same cell tower, each of those users will be given the same position. Using a FINE position will give much more detailed information.
Also, in certain areas, for privacy reasons, a less-exact location will be given, and that less-exact location might be identical for many users. Again, a fine-location configuration will return more precise location data.
mk...@google.com <mk...@google.com> #9
We believe with reference to the above comment, your query has been answered, hence closing the bug. Please feel free to re-open the issue in the future if desired.
ap...@google.com <ap...@google.com> #10
ap...@google.com <ap...@google.com> #11
Branch: 8.1
commit ca69ebf831445b1d059cc3fa7ef4d14e27b50b9d
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Tue May 30 09:18:58 2023
Version 8.1.51
Bug:
Change-Id: If935ca69028331d97c0f65ab99fecec43f3e8ef1
M src/main/java/com/android/tools/r8/Version.java
ap...@google.com <ap...@google.com> #12
Branch: 8.1
commit abc153927e0ce7b644f3b514aeb834a9da09d0ff
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Tue May 30 09:18:47 2023
Check for member type to be of array type
Bug:
Change-Id: Iae3cc98b8a5f5d5eaeb49bf652c0bc4c652c4baf
M src/main/java/com/android/tools/r8/ir/optimize/CodeRewriter.java
M src/test/java/com/android/tools/r8/rewrite/arrays/SimplifyArrayConstructionTest.java
ap...@google.com <ap...@google.com> #13
Branch: 8.1
commit 483f2aaf857ccf4c83fd2b5e66169d0f9499c416
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Tue May 30 09:18:34 2023
Only generate FilledNewArray when puts match the concrete array type
Bug:
Change-Id: Ie24d90160cceeecd790a5074d8dbcbac116fb58e
M src/main/java/com/android/tools/r8/ir/optimize/CodeRewriter.java
M src/main/java/com/android/tools/r8/utils/InternalOptions.java
M src/test/java/com/android/tools/r8/TestParameters.java
M src/test/java/com/android/tools/r8/rewrite/arrays/FilledArrayDataRemoveCheckCastTest.java
ap...@google.com <ap...@google.com> #14
Branch: 8.1
commit 274db01d37ff28da61a304070e9457192a488999
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Tue May 30 09:18:22 2023
Add tests for rewriting subtypes into FilledNewArray
Bug:
Change-Id: I24d847474f604ce7f0b95b3592a2c57faf1b19fe
M src/test/java/com/android/tools/r8/TestParameters.java
A src/test/java/com/android/tools/r8/rewrite/arrays/FilledArrayDataRemoveCheckCastTest.java
M src/test/java/com/android/tools/r8/utils/codeinspector/CfInstructionSubject.java
M src/test/java/com/android/tools/r8/utils/codeinspector/DexInstructionSubject.java
M src/test/java/com/android/tools/r8/utils/codeinspector/InstructionSubject.java
mk...@google.com <mk...@google.com> #16
ku...@gmail.com <ku...@gmail.com> #18
Hey, guys! Crash still reproduced on Sample Project with fresh R8 8.1.53
mk...@google.com <mk...@google.com> #19
Thanks for reporting back that this is still an issue. I've tested and could also see the same issue. I did do a check before submitting 8.1.51 but must either have used the D8 or an incorrect emulator.
The issue here is the check:
return clazz.isInterface() || valueType.isClassType(elementType);
Ordinarily, type-checking is weakened for interface types due other strange issues and since I found no issues testing it I included it. The fix needs to be:
return valueType.isClassType(elementType);
Will update the code and do a new cherry-pick to the 8.1 branch.
ap...@google.com <ap...@google.com> #20
Branch: main
commit 3232b654f8432d9f8cc0a501afdc2bed8bbde0ec
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Tue Jun 20 10:37:25 2023
Disallow simplifying arrays to interface types if not exact type match
Bug:
Change-Id: Ie11bc1f834f3e30d23ae584ade0e006241e4b54b
M src/main/java/com/android/tools/r8/ir/conversion/passes/ArrayConstructionSimplifier.java
M src/test/java/com/android/tools/r8/rewrite/arrays/SimplifyArrayConstructionTest.java
mk...@google.com <mk...@google.com> #21
Checked that running with 3232b654f8432d9f8cc0a501afdc2bed8bbde0ec
resolves the issue by adding :
maven {
url 'https://storage.googleapis.com/r8-releases/raw/main'
}
and
buildscript {
dependencies {
classpath("com.android.tools:r8:3232b654f8432d9f8cc0a501afdc2bed8bbde0ec")
}
}
The APP now runs without throwing the error
# compiler: R8
# compiler_version: main
# min_api: 24
# compiler_hash: 3232b654f8432d9f8cc0a501afdc2bed8bbde0ec
# common_typos_disable
# {"id":"com.android.tools.r8.mapping","version":"2.2"}
# pg_map_id: 9ef8888
# pg_map_hash: SHA-256 9ef88884af70a1da33707ec31626367b52a37d290c9c8aadf9cd4dc008816dfd
Will merge this new CL to 8.1
ap...@google.com <ap...@google.com> #22
Branch: 8.1
commit 7672aa5bcf2694b8576739355c8d59e3eec08e28
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Tue Jun 20 16:10:28 2023
Version 8.1.55
Bug:
Change-Id: I2fcada1fcb73437993a602f1b52f907ac58b93e2
M src/main/java/com/android/tools/r8/Version.java
ap...@google.com <ap...@google.com> #23
Branch: 8.1
commit b9c2cae08b1245442fcdc86373dd8164c61f4557
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Tue Jun 20 16:10:16 2023
Disallow simplifying arrays to interface types if not exact type match
Bug:
Change-Id: Ie11bc1f834f3e30d23ae584ade0e006241e4b54b
M src/main/java/com/android/tools/r8/ir/optimize/CodeRewriter.java
M src/test/java/com/android/tools/r8/rewrite/arrays/SimplifyArrayConstructionTest.java
ap...@google.com <ap...@google.com> #24
Branch: 8.1
commit 892155436bed60c4f2f7672d4993950e7b342bd9
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Tue Jun 20 16:18:51 2023
Version 8.1.56
Bug:
Change-Id: Ic845063045a560c9be152873092d50a6fd7c9ece
M src/main/java/com/android/tools/r8/Version.java
Description
First - Verification error reported by system after APK installation
App crases on Android 12+
Cullprit changes was merged between 8.1.0-dev and 8.1.1-dev tag commits.