WAI
Status Update
Comments
kl...@google.com <kl...@google.com> #2
Looking so good new version
bd...@google.com <bd...@google.com> #3
Thank you for reporting this issue.
Please provide the below details to debug this issue further.
1. Please attach your sample android project which reproduces the issue, zip it and share
2. Explain the steps to reproduce the issue with your apk. Provide all necessary information including preconditions if any, to reproduce the issue.
3. Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
4. Screen Record of the issue
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue.
Please provide the below details to debug this issue further.
1. Please attach your sample android project which reproduces the issue, zip it and share
2. Explain the steps to reproduce the issue with your apk. Provide all necessary information including preconditions if any, to reproduce the issue.
3. Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
4. Screen Record of the issue
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue.
su...@gmail.com <su...@gmail.com> #4
1. Code Sample attached. Cannot attach the original app code because of copyright.
2. Steps to reproduce it:
1. Tap on the first image (this activity is portrait)
2. It will go to a landscape ativity
3. Tap back button
4. Observe that the previous activity goes to portrait, then to landscape and finally portrait again.
Note: On the original app is happening always. On this code sample I was able to reproduce it 5/10 times.
4. Video attached, error on the last seconds.
2. Steps to reproduce it:
1. Tap on the first image (this activity is portrait)
2. It will go to a landscape ativity
3. Tap back button
4. Observe that the previous activity goes to portrait, then to landscape and finally portrait again.
Note: On the original app is happening always. On this code sample I was able to reproduce it 5/10 times.
4. Video attached, error on the last seconds.
su...@gmail.com <su...@gmail.com> #5
Could you please share the bugreport too?
Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
Android bug report
After reproducing the issue, press the volume up, volume down, and power button simultaneously. This will capture a bug report on your device in the “bug reports” directory. Attach the bug report file to this issue.
Alternate method:
After reproducing the issue, navigate to developer settings, ensure ‘USB debugging’ is enabled, then enable ‘Bug report shortcut’. To take bug report, hold the power button and select the ‘Take bug report’ option.
se...@gmail.com <se...@gmail.com> #6
Attaching the bug report.
kr...@android.com <kr...@android.com> #7
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
pa...@gmail.com <pa...@gmail.com> #8
Is there any update? I would be great if you can provide more information about this issue. It's getting worse every day and I cannot find any fix.
Thanks
Thanks
me...@gmail.com <me...@gmail.com> #9
We have deferred this to a future release, but leaving the bug open for now.
me...@gmail.com <me...@gmail.com> #10
The same happens with Nexus 5X(8.1).
Description
Caused by: java.lang.RuntimeException: Exception when trying to encrypt data.
at com.app.SecurityHelperApi.encrypt(SecurityHelperApi.java:111)
at com.app.SecurityHelperApi.encryptData(SecurityHelperApi.java:24)
at com.app.ProxySecurityHelper.encryptData(ProxySecurityHelper.java:59)
at com.app.storage.impl.StorageHelperApi.writeInSharedPreferences(StorageHelperApi.java:459)
at com.app.ProxyStorageHelper.writeInSharedPreferences(ProxyStorageHelper.java:633)
at com.app.launcher.LauncherApplication.onCreate(LauncherApplication.java:433)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:102)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5139)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1466)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5849)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:763)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:653)
Caused by: java.security.NoSuchProviderException: no such provider: Crypto
at sun.security.jca.GetInstance.getService(GetInstance.java:83)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:206)
at java.security.SecureRandom.getInstance(SecureRandom.java:327)
at com.app.EncoderDecoder.getRawKey(
I listed the providers with the below code.
Provider p[] = Security.getProviders();
for (int i = 0; i < p.length; i++) {
Log.i("Providers",p[i]+"");
}
Output is below..
API 23:
AndroidKeyStoreBCWorkaround version 1.0
AndroidOpenSSL version 1.0
BC version 1.52
Crypto version 1.0
HarmonyJSSE version 1.0
AndroidKeyStore version 1.0
Android N:
AndroidNSSP version 1.0
AndroidOpenSSL version 1.0
CertPathProvider version 1.0
AndroidKeyStoreBCWorkaround version 1.0
It seems like android N does not have the Crpto service provider by default.
Is it removed purposefully?