Giter Site home page Giter Site logo

sample-183986649's Introduction

Codes to reproduce https://issuetracker.google.com/issues/183986649.

Build and Install

 ./gradlew build
adb install app/build/outputs/apk/debug/app-debug.apk

How to reproduce the issue

Pixel 3 (Android 11, RQ2A.210305.006)

  1. Launch Issue183986649 app from the launcher.
  2. Choose "While using the app" in the permission dialog.
  3. The activity starts LocationService. And then you can see the location updates in the logcat. It is expected behavior. e.g.
2021-03-31 17:36:37.458 29752-29752/com.example.issue183986649 D/locationService: onLocationResult, Location[fused 35.690048,139.648743 hAcc=16 et=+23h20m55s579ms alt=72.68766004699852 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}]
2021-03-31 17:36:43.021 29752-29752/com.example.issue183986649 D/locationService: onLocationResult, Location[fused 35.690032,139.648735 hAcc=14 et=+23h21m0s611ms alt=72.91376574563863 vel=0.00994839 bear=203.43661 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}]
2021-03-31 17:36:44.218 29752-29752/com.example.issue183986649 D/locationService: onLocationResult, Location[fused 35.690031,139.648734 hAcc=10 et=+23h21m3s287ms alt=72.8685127241304 vel=0.01276583 bear=217.34978 vAcc=3 sAcc=2 bAcc=??? {Bundle[mParcelledData.dataSize=52]}]
  1. Tap back to exit the app.
  2. Connect a Bluetooth device to the Android device.
  3. LocationService is launched by ACL_CONNECT event. However, location updates are not seen in the logcat. It is the issue in this ticket. e.g.
2021-03-31 17:40:49.150 29752-29752/com.example.issue183986649 D/locationService: onStartCommand()
2021-03-31 17:40:49.156 29752-29752/com.example.issue183986649 D/locationService: checkLastLocation
2021-03-31 17:40:49.156 29752-29752/com.example.issue183986649 D/locationService: startLocationUpdate
2021-03-31 17:40:49.163 29752-29752/com.example.issue183986649 W/locationService: Failed to get last location.

sample-183986649's People

Watchers

James Cloos avatar kenma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.