android-samples icon indicating copy to clipboard operation
android-samples copied to clipboard

Standard API: map lagging while moving and a dialog pops over it

Open dkati opened this issue 3 years ago • 3 comments

Tested on: Android 8 (snapdragon 8xx - 8 ram) Android 10 (snapdragon 8xx - 8 ram) Android 5.0 on samsung device (jfltexx - S4 )

Tested on

  1. googlemaps/android-samples demo
  2. googlemaps/android-maps-utils demo

Using pure java (no kotlin at all)

Fun fact: Does NOT happening on Google Maps app!

Steps to reproduce

  1. create a map
  2. add a fab (or something) and on it's click listener zoom to your location
  3. run the app and zoom fully out (see the earth)
  4. press the fab
  5. While camera animation is going, pull your QuickSettings panel OR on fab's listener also create an alert dialog
  6. see the background map is laggy

or , if you use a demo from googlemaps/android-samples demo or googlemaps/android-maps-utils you can reproduce this by quickly swipe-to-move-camera and pull QS panel

By my "research" it happens on any dialog (QS panel, alert dialog, fragmentdialog, progress dialog, bottom dialog) but it doesnt happens on fragments

Generally, poping any dialog over maps, also spams: E/SchedPolicy: set_timerslack_ns write failed: Operation not permitted on app's log

dkati avatar Nov 12 '20 11:11 dkati

Thanks @barbeau

dkati avatar Nov 12 '20 19:11 dkati

Hi @dkati thanks for reporting. Since this is an issue with the Maps SDK itself, please file this issue here: https://issuetracker.google.com/issues/new?component=188870&template=788712 If you have an example app demonstrating this that you can share when you report it that would be great.

arriolac avatar Nov 12 '20 21:11 arriolac

Good evening! i just shared it to issuetracker. About example app, as i said at OP , this can be reproduced with any demo example from both maps examples and utils

dkati avatar Nov 13 '20 09:11 dkati

@dkati may I ask how you solved the E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted?

jhonpaul0724 avatar Oct 15 '22 08:10 jhonpaul0724

It's not Google maps related. Didn't solve it

dkati avatar Oct 15 '22 11:10 dkati

I think it needs us to enable the billing in the google api

On Sat, Oct 15, 2022, 7:54 PM Dimitris Katikaridis @.***> wrote:

It's not Google maps related. Didn't solve it

— Reply to this email directly, view it on GitHub https://github.com/googlemaps/android-samples/issues/379#issuecomment-1279729795, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3RLOFWEZO7RVVOWXULUF7LWDKLPZANCNFSM4TTFFTNA . You are receiving this because you commented.Message ID: @.***>

jhonpaul0724 avatar Oct 18 '22 04:10 jhonpaul0724

Closing this issue, since it is related to the Maps SDK.

kikoso avatar Dec 14 '22 10:12 kikoso