Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UI Thread deadlock #644

Merged
merged 9 commits into from
Oct 12, 2018
Merged

Conversation

ragner
Copy link
Contributor

@ragner ragner commented Oct 1, 2018

Fixes to UI thread deadlock and improvements to test Samsung/GearVRf#1973

GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes ragner.n@samsung.com

* Don't call getApplication().registerView( ) at application.
* Move code from Activity to GVRf Main class
* Fix layout
* Use IViewEvents listener.

GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes <ragner.n@samsung.com>
GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes <ragner.n@samsung.com>
GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes <ragner.n@samsung.com>
GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes <ragner.n@samsung.com>
@liaxim
Copy link
Collaborator

liaxim commented Oct 5, 2018

gvr-3dcursor doesn't compile for me.

GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes <ragner.n@samsung.com>
@ragner
Copy link
Contributor Author

ragner commented Oct 6, 2018

Hi @liaxim, I have fixed the 3dcursor issues.
You need fetch the framework branch too.

@liaxim
Copy link
Collaborator

liaxim commented Oct 8, 2018

gvr-remote-scripting doesn't compile

GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes <ragner.n@samsung.com>
GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes <ragner.n@samsung.com>
@ragner
Copy link
Contributor Author

ragner commented Oct 8, 2018

@liaxim Sorry,
everything should compile now!

@@ -2,8 +2,9 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/white_transparent"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get an aapt error: AAPT: error: resource color/white_transparent (aka org.gearvrf.renderableview:color/white_transparent) not found.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liaxim fixed!

GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes <ragner.n@samsung.com>
GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes <ragner.n@samsung.com>
@liaxim
Copy link
Collaborator

liaxim commented Oct 11, 2018

Looks good. Planning to merge on Friday.

@liaxim liaxim merged commit 51c5d35 into gearvrf:master Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants