The API getNeighboringCellInfo is added in Android API-level 25, if it is called in under 25 device, the app will crash. It may be better if we can check for the runtime version before calling it, such as:
if (Build.VERSION.SDK_INT >= 25)
List list = getNeighboringCellInfo()
else
// something else
@wish7code Can you help me review this? Very thanks!
Hi, there, I've found a version check is missing in version 0.2.9, the app is downloaded from F-Droid.
It is related to the following call chain:
The API
getNeighboringCellInfo
is added in Android API-level 25, if it is called in under 25 device, the app will crash. It may be better if we can check for the runtime version before calling it, such as:@wish7code Can you help me review this? Very thanks!