Samsung / Castanets

Edge distributed web engine. Part of web engine processes are offloaded to a powerful devices and only graphical results are processed in local devices. This way, we overcome both CPU limitations and memory limitations of the low-end local devices
BSD 3-Clause "New" or "Revised" License
45 stars 43 forks source link

The activity of android renderer process is black. #336

Closed Sunwoo-Nam closed 3 years ago

Sunwoo-Nam commented 3 years ago

Castanets in the android device shows the activity describing castanets. It works fine in a normal situation. But castanets requires ACTION_MANAGE_OVERLAY_PERMISSION, a user therefore enables the permission on Settings in the beginning. After going back from Setting, the activity for castanets should be shown. But it shows the black activity.

I observed the below things.

  1. FirstRunActivity.onPause was called when Settings.AppDrawOverlaySettingsActivity was shown.
  2. FirstRunActivity.onResume was not called after Settings.AppDrawOverlaySettingsActivity was hidden.
  3. When I checked the activity stack with "dumpsys activity activities", FirstRunActivity was resumed.
Sunwoo-Nam commented 3 years ago

https://github.com/Samsung/Castanets/pull/345

Sunwoo-Nam commented 3 years ago

When castanets is enabled, onActivityResult is not invoked.

Sunwoo-Nam commented 3 years ago

Resolved with #345