You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Minor code formatting in platform/android
This commit is contained in:
@@ -1482,6 +1482,7 @@ int EditorExportPlatformAndroid::get_device_count() const {
|
||||
return dc;
|
||||
|
||||
}
|
||||
|
||||
String EditorExportPlatformAndroid::get_device_name(int p_device) const {
|
||||
|
||||
ERR_FAIL_INDEX_V(p_device,devices.size(),"");
|
||||
@@ -1490,6 +1491,7 @@ String EditorExportPlatformAndroid::get_device_name(int p_device) const {
|
||||
device_lock->unlock();
|
||||
return s;
|
||||
}
|
||||
|
||||
String EditorExportPlatformAndroid::get_device_info(int p_device) const {
|
||||
|
||||
ERR_FAIL_INDEX_V(p_device,devices.size(),"");
|
||||
@@ -1883,7 +1885,6 @@ bool EditorExportPlatformAndroid::can_export(String *r_error) const {
|
||||
|
||||
EditorExportPlatformAndroid::~EditorExportPlatformAndroid() {
|
||||
|
||||
|
||||
quit_request=true;
|
||||
Thread::wait_to_finish(device_thread);
|
||||
memdelete(device_lock);
|
||||
@@ -1912,6 +1913,5 @@ void register_android_exporter() {
|
||||
Ref<EditorExportPlatformAndroid> exporter = Ref<EditorExportPlatformAndroid>( memnew(EditorExportPlatformAndroid) );
|
||||
EditorImportExport::get_singleton()->add_export_platform(exporter);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user