osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.65k stars 1.02k forks source link

Not active Bluetooth keyboard for Android Auto device #18606

Open EugeneZmeuk opened 11 months ago

EugeneZmeuk commented 11 months ago

Description

The case: we have Android Auto device for motorcycles and the Bluetooth keyboard for interacting with the map on OsmAnd. We started OsmAnd using on Android Auto. We run the Osmand app to test if the Bluetooth keyboard works. It works well, but only if on Smartphone is kept open the Osmand screen app.

Android Auto device OsmAnd screen is unlock
image image

But, when the screen of the smartphone is locked, the Bluetooth keyboard does not work.

Steps to reproduce

Connect the external input device to OsmAnd and start OsmAnd on Android Auto.

  1. The Smartphone screen is locked.
  2. The Smartphone screen is unlocked.

Actual result

the Bluetooth keyboard works only with an unlocked smartphone screen.

Expected result

the Bluetooth keyboard works with a locked smartphone screen as with an unlocked screen.

Your Environment (required)

OsmAnd Version: 4.6.6
Android/iOS version: 13
Device model: Samsung S22
Crash-Logs: 

External device: joymap

vshcherb commented 11 months ago

Looks like keyboard couldn't control device if it's locked, if keyboard would be connected to Android Auto that would make sense otherwise it would look like security issue for Bluetooth keyboard.