Fixed
Status Update
Comments
lb...@gmail.com <lb...@gmail.com>
mm...@google.com <mm...@google.com>
er...@google.com <er...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
for example, many different devices return the same longitude and latitude.such as : longitude is 121.474000 and latitude is 31.230001.
i donnot understand why is the data the same?
i donnot understand why is the data the same?
lb...@gmail.com <lb...@gmail.com> #3
the fractional part of the location data is exactly the same.
sa...@google.com <sa...@google.com> #4
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
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:https://developer.android.com/studio/debug/bug-report#bugreportdevice
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.
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.
lb...@gmail.com <lb...@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.
Description
STEPS TO REPRODUCE:
1. Have this code, which clearly checks for version code to use the function that has no second parameter from Android P:
final Cipher cipher = VERSION.SDK_INT >= VERSION_CODES.P ?
Cipher.getInstance("RSA/NONE/OAEPWithSHA256AndMGF1Padding") :
Cipher.getInstance("RSA/NONE/OAEPWithSHA256AndMGF1Padding", "BC");
or this in Kotlin:
val cipher: Cipher =
if (VERSION.SDK_INT >= VERSION_CODES.P) Cipher.getInstance("RSA/NONE/OAEPWithSHA256AndMGF1Padding")
else Cipher.getInstance("RSA/NONE/OAEPWithSHA256AndMGF1Padding", "BC")
2. Perform code analysis
The bug is that it shows a warning that you shouldn't use the one with "BC", as it will throw an exception on Android P, even though there is no way such a thing will occur:
"
The 'BC' provider is deprecated and as of Android P this method will throw a 'NoSuchAlgorithmException'. To fix this you should stop specifying a provider and use the default implementation
"
------------------
Studio Build:
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS:
Android Studio Flamingo | 2022.2.1 Canary 9
Build #AI-222.4345.14.2221.9321504, built on November 23, 2022
Runtime version: 17.0.4.1+0-b2043.56-9127311 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 9048M
Cores: 12
Registry:
external.system.auto.import.disabled=true
debugger.watches.in.variables=false
ide.text.editor.with.preview.show.floating.toolbar=false
gradle.version.catalogs.dynamic.support=true
ide.images.show.chessboard=true
Non-Bundled Plugins:
idea.plugin.protoeditor (222.4345.14)
com.intellij.marketplace (222.4345.34)
com.dubreuia (2.3.0)
com.dethlex.numberconverter (1.5.0)
String Manipulation (9.6.1)
Show As ... (1.0.3)
GenerateSerializationHelpers (1.0.6)
GenerateSerialVersionUID (3.0.3)
com.google.mad-scorecard (1.2)
com.developerphil.adbidea (1.6.8)
net.aquadc.mike.plugin (0.27)
izhangzhihao.rainbow.brackets (2022.3.5-ij)
com.ppismerov.ksvu (0.0.1)