FORUMS

What Features Do You Look for in a Gallery App?

With so many different options to choose from, finding the right Gallery app may be a … more

Google Photos ‘Unlimited’ Storage Reportedly Being Capped

When Google Photos was announced, many of us thought very highly … more

Sprint Moves to Lift Video Streaming Limit for All-In

Yesterday, Sprint announced a new unlimited scheme that offered customers an … more

Xiaomi Releases Kernel Source Code For Mi4i

If you’ve been following the XDA News Portal lately, you might have noticed an … more

[FIX][XPOSED][KK] Fix visibility of multiple non-fullscreen activities

442 posts
Thanks Meter: 3,208
 
Post Reply Subscribe to Thread Email Thread
Fix visibility of multiple non-fullscreen activities.

This module patches the system to include this bug fix merged into AOSP on 10 Jan 2014
(This bug appears only on Kitkat ROMs)

Fix visibility of multiple non-fullscreen activities.

Issue detail:
Assume X, Y are non-fullscreen activities.
a. Home starts an activity X in task A in application stack.
b. X starts an activity Y in <task A> or <new task B>
c. Activity X will be invisible.

How to fix:
Because the function "isActivityOverHome" means an activity is able to see home.
But there may have many non-fullscreen activities between the top non-fullscreen activity and home.
If flag "behindFullscreen" is set, those middle activities will be invisible.
So it should only take care from who is adjacent to home.
Then check two flags frontOfTask(task root) and mOnTopOfHome for constraining the condition.

This patch is included in AOSP builds on 10 Jan 2014 or later. However, custom ROMs or manufacturer ROMs may cherry-pick this patch at a later date.


Video of how the bug looks like (using XHaloFloatingWindow)
Those who use XHaloFloatingWindow or XMultiWindow should notice this bug easily.
Notice that only one app can be shown at one time and the previous app disappears when a new one is opened

Source Code
This module is open-source. Feel free to send pull requests to improve it.
The source code is on Github

Download
Download on Xposed Repo
Last edited by zst123; 15th March 2014 at 02:19 PM.
The Following 28 Users Say Thank You to zst123 For This Useful Post: [ View ]
 
 
16th March 2014, 05:39 AM |#2  
ajeesh vijayan's Avatar
Senior Member
Flag kerala
Thanks Meter: 140
 
More
if we can open two windows normally, aosp patch will be included in ROM right? so no need to install this?
thanks for this ..it will be helpful while changing to ROMs that doesnt include aosp patch..
Last edited by ajeesh vijayan; 16th March 2014 at 05:49 AM.
16th March 2014, 06:25 AM |#3  
OP Recognized Developer
Flag Singapore
Thanks Meter: 3,208
 
Donate to Me
More
Quote:
Originally Posted by ajeesh vijayan

if we can open two windows normally, aosp patch will be included in ROM right? so no need to install this?
thanks for this ..it will be helpful while changing to ROMs that doesnt include aosp patch..

If you don't see the bug, (that means you can open 2 windows without the other one disappearing), Then you do not need this.
The Following User Says Thank You to zst123 For This Useful Post: [ View ]
16th March 2014, 07:10 AM |#4  
Member
Thanks Meter: 14
 
More
Works great on my Nexus 5, very much appreciate the fix!
16th March 2014, 09:04 PM |#5  
Odileintheair's Avatar
Junior Member
Thanks Meter: 0
 
More
It doesn't work for my Nexus 7 (2012) with stock 4.4.2. Nothing changes.

Enviado desde mi Nexus 7 mediante Tapatalk
17th March 2014, 10:37 AM |#6  
OP Recognized Developer
Flag Singapore
Thanks Meter: 3,208
 
Donate to Me
More
Quote:
Originally Posted by Odileintheair

It doesn't work for my Nexus 7 (2012) with stock 4.4.2. Nothing changes.

Enviado desde mi Nexus 7 mediante Tapatalk

Try to disable, and re-enable the module. If it still doesn't work, post your Xposed Installer Log here.
17th March 2014, 11:46 AM |#7  
Odileintheair's Avatar
Junior Member
Thanks Meter: 0
 
More
Still not working after reboot... and Tapatalk doesn't let me attach the log?!
Edit from web

Is this the Xposed Log?


Enviado desde mi Nexus 7 2012, 4.4.2 Stock ROM, Xposed Framework.
Attached Files
File Type: zip xposed_debug_20140317_115051.log.zip - [Click for QR Code] (6.9 KB, 334 views)
Last edited by Odileintheair; 17th March 2014 at 12:11 PM.
19th March 2014, 09:32 PM |#8  
letmedanz's Avatar
Recognized Contributor
Flag Bangalore
Thanks Meter: 3,147
 
Donate to Me
More
Congratulations for making it to the front page!
20th March 2014, 07:01 AM |#9  
Senior Member
Thanks Meter: 47
 
More
Talking
Thank you for making this module patch. Everything is working well now

Thanks Thanks Thanks Thanks

Phone: Nexus 5 running stock 4.4.2
20th March 2014, 10:00 AM |#10  
eszol's Avatar
Senior Member
Thanks Meter: 26
 
More
works well with note 3 stock samsung rom using xhalomultiwindow
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes