mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
When the UAVO collection is missing, list which are available.
This commit is contained in:
parent
16adf27082
commit
c142deaa9d
@ -320,6 +320,19 @@ public class OPTelemetryService extends Service {
|
||||
catch (IOException e)
|
||||
{
|
||||
Log.e(TAG, e.toString(), e);
|
||||
String[] list;
|
||||
try {
|
||||
list = assetManager.list("uavos/");
|
||||
Log.i(TAG, "Listing found uavos");
|
||||
for(int i = 0; i < list.length; i++) {
|
||||
Log.i(TAG, "Found: " + list[i]);
|
||||
}
|
||||
|
||||
} catch (IOException e1) {
|
||||
// TODO Auto-generated catch block
|
||||
e1.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user