FORUMS

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more
Post Reply Subscribe to Thread Email Thread

[4.4+] Immersive Mode, Don't Panic!

3rd April 2014, 07:15 PM |#1  
GermainZ's Avatar
OP Forum Moderator / Recognized Developer / XDA Portal Team
Thanks Meter: 8,223
 
More
Introduction:
Android shows you a help message when you first start an app in Immersive Mode. When you press the 'OK' button, Android sets a flag to remember you saw this message, and stops showing it in the future for this app.
However, Android resets this flag when a panicking user is detected. This is a safeguard measure to help people who don't know what's happening (if they dismissed the message without reading it.) Panicking is detected when the user turns the screen on and off more than once within 5 seconds.
This stackoverflow answer explains this behavior in details.
This simple module makes the method responsible for this check do nothing, thus removing this annoyance.
If you've never encountered this issue, you don't need this module.

Requirements:
  • Xposed Framework;
  • Android KitKat or higher;
  • A navigation bar (no hardware buttons.)

Source code:
https://github.com/GermainZ/ImmersiveModeDontPanic

Download:
http://repo.xposed.info/module/com.g...emodedontpanic

Changelog:
Quote:

1.1.2:

  • Compatibility with Lollipop. Won't install/work on earlier versions.
1.1:
  • New preference: Hide All Popups. If enabled, all the "Welcome to Immersive Mode" popups will be hidden, not only repeated popups.
1.0:
  • Initial release.

Thanks:
  • rovo89 and Tungstwenty for the Xposed Framework.
Attached Thumbnails
Click image for larger version

Name:	M6xcnJp.png
Views:	7552
Size:	20.3 KB
ID:	2666673  
Last edited by GermainZ; 16th February 2015 at 07:15 PM.
The Following 26 Users Say Thank You to GermainZ For This Useful Post: [ View ]
 
 
3rd April 2014, 07:19 PM |#2  
pemell's Avatar
Senior Member
Flag Gothenburg
Thanks Meter: 736
 
Donate to Me
More
Great module! Does it remove the initial message too?

Sent from my Xperia Z Ultra using Tapatalk
3rd April 2014, 07:44 PM |#3  
GermainZ's Avatar
OP Forum Moderator / Recognized Developer / XDA Portal Team
Thanks Meter: 8,223
 
More
Quote:
Originally Posted by pemell

Great module! Does it remove the initial message too?

No.
The Following 2 Users Say Thank You to GermainZ For This Useful Post: [ View ]
9th April 2014, 09:39 AM |#4  
CodeRR's Avatar
Member
Flag Innsbruck
Thanks Meter: 5
 
Donate to Me
More
i got a bootloop on nexus4 cm11 nightly...

Sent from my Nexus 4 using XDA Premium 4 mobile app
9th April 2014, 10:00 AM |#5  
GermainZ's Avatar
OP Forum Moderator / Recognized Developer / XDA Portal Team
Thanks Meter: 8,223
 
More
Quote:
Originally Posted by brama0309

i got a bootloop on nexus4 cm11 nightly...

Good for you, I guess. I wasn't so lucky, so I'm going to need a logcat to actually check if it's caused by this module and look into it if that's the case.
The Following User Says Thank You to GermainZ For This Useful Post: [ View ]
9th April 2014, 01:30 PM |#6  
thommy86's Avatar
Senior Member
Flag Oss
Thanks Meter: 33
 
More
Running miui on nexus 5.. Install xposed went well.. But can't install this app..
9th April 2014, 04:01 PM |#7  
GermainZ's Avatar
OP Forum Moderator / Recognized Developer / XDA Portal Team
Thanks Meter: 8,223
 
More
Quote:
Originally Posted by thommy86

Running miui on nexus 5.. Install xposed went well.. But can't install this app..

Have you tried tapping the 'Install' button? If that isn't enough, then I'm going to need more info. Why can't you install it? Any errors? What Android version are you running? Have you read the thread's title, which is the first thing you ought to read, or the OP, which is the second?
9th April 2014, 07:41 PM |#8  
Nick N's Avatar
Senior Member
Flag Columbus, Ohio
Thanks Meter: 168
 
More
Works great on my LG Optimus G (e970). Thanks! I thought it was a bug in the 4.4.2 ROM I am using.

Sent from my LG Optimus G using Tapatalk
25th April 2014, 12:56 PM |#9  
dastinger's Avatar
Senior Member
Thanks Meter: 236
 
More
I love you, dude! This annoys me SO much.. Glad there's now a fix for it!
3rd May 2014, 08:01 AM |#10  
keen36's Avatar
Senior Member
Flag Berlin
Thanks Meter: 71
 
More
i also thought this was a bug with my rom -until it happened on a different rom.

i run this other module "force immersive mode" which forces fullscreen on chosen apps, but was highly annoyed by this panic thing.
"it is not a bug, it is a feature"

op, you saved us from being annoyed countless times for no reason at all.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes