Incoming notification causes device to change orientation from portrait to landscape - Nexus 5 Q&A, Help & Troubleshooting

Hi,
I've been noticing for a very long time that my Nexus 5 sometimes switches orientation from portrait to landscape when I receive an incoming notification. I can't remember the specifics, but here's a very specific case that just happened a few minutes ago.
My phone was on the table in portrait mode. I was using it when I received a whatsapp message. Immediately my phone switched to landscape mode, thereby interrupting my usage.
Can't remember whether it happened for non-whatsapp notifications, nor if it happens when the phone is actually held vertically.
I've tried googling for this problem but I seem to be the only one? Does anyone else experience this problem?

First off, try to identify the specific cases where you have this then I see a few reasons:
• app feature: check the settings of the app
• you are using an app that automates your device e.g. 'rotates the screen when a notification is received'.
• vibrator: the strength of the vibrator is leading the screen to rotate.

The problem is I can't seem to reproduce it consistently. I just tried putting my phone flat on the table, in portrait mode in the facebook app (so that screen orientation can switch). I then sent an SMS as well as a whatsapp message to my phone from another phone. My phone remained in portrait mode, which is the expected behavior.
However, occasionally, it switches to landscape mode.

Related

Request: Tighten up auto rotate triggering

I'm wondering if there are any apps that adjusts or replaces the auto rotate feature in android. I often find myself in situations where the orientation switches on me when I'm laying on my side or when I'm trying to see the screen because of an unexpecting notification, phone call or I'm just trying to get the phone out of my pocket.
I like to see an app where the orientation will only change if the specifide angle, tilt and time conditions are met. For example, if you want to switch from landscape to portrait. you hold it at a very exact angle of orientation (ie 90°+/-1°) at a specifide tilt (ie between 15° and 90°) for a specifide time (ie 500 ms) and then it will change from landscape to portrait mode.
I also like to see a setting were it will turn off auto rotate when the tilt goes beyond 90°, like when you lay down on your back.
-------------------------------------
Sent via the XDA Tapatalk App
I agree.
I find if I put the phone horizontally on a table it often will go into landscape mode. It is quite a pain to worry about the angle I put my phone on a table.
Customizing the tilt variables would be awesome.
I am still looking around the internet for a solution. If you find one let me know.

Auto rotate screen not working; ideas?

My TF101 (running Prime 2.1.1) has been acting strange since yesterday (when I first noticed it). The screen orientation will not auto adjust if I move the tablet, e.g. from holding landscape in two hands to holding it on it's side, it stays in landscape. If I run an app that lacks orientation support or fakes it, I may end up with my tablet locked into portrait mode! Rebooting doesn't impact anything.
Toggling the Screen->Auto Rotate setting in the settings app (NOT the quick controls) will give me the correct orientation most of the time. Docking will (so far) always get my back to landscape. So for the most part, I have no auto-rotate and running a protrait apps can lock my screen rotation to portrait. Docking is the only reliable thing so far...
Possible abuses:
-> I usually put my dock and tablet in my backpack but "Undocked", and stow the pack on my cars floor board, it doesn't get bounced around but maybe payback for leaving it undocked?
-> For the past couple weeks I've been using the quick control to lock the screen so I can display stuff upside down; e.g. to use landscape in bed, while charging.
but other wise it's pretty well taken care of, better than most peoples PC's. When I boot, it is usually laying flat on a desk or docked.
Personally, I use my tablet i landscape whenever an app doesn't force me to do otherwise....but I'm concerned about hardware failure in the sensor. Being root+Prime, I'd rather not RMA if possible.
Does anyone have any advice or ideas about this?
Sent from my Transformer TF101 using Tapatalk
I found this app can do all orientations.
Orientation Control
Unsure what is causing your problem, however.
Good luck!
settings
In settings/screen is auto-rotate screen ticked.
Colin
I will have to test that app as a manual fix, and yes the auto rotate is checked; i believe the locking when apps force portrait still occurs when it is unchecked though.
Sent from my Transformer TF101 using Tapatalk

[APP][FREE][2.2+] IntelliCover - Proximity Sensor Based Screen Control (And MORE)

Finally got my app up and running on the Market and being a die hard xda user, I thought it would only be appropriate to post it here for fellow users to enjoy. =)
IntelliCover is a utility which uses your device’s proximity sensor to control its display and allow fast and efficient access to your phone or tablet.
It turns the screen turns off automatically when you put your device in your pockets, close its flip cover, store the device in a bag, or even just leave the device facing down on a table. As soon as the device is back in your hand the proximity sensor is triggered again, the screen turns back on and your phone is instantly ready for use.
IntelliCover is more feature-filled than any other similar application on the market. And the best part? It's FREE!
Click here to visit the market page and download the app for free
P.S. If you find a bug, I'd appreciate if you could report it to me before giving a bad rating because it usually only takes me less than a day to fix.
*** Features ***
Calibration:-
Proximity Sensor Delay – Add a delay to the time takes to trigger the sensor and turn the screen off.
Application Settings:-
Automatic Unlock – Automatically dismiss the Unlock Screen, provided there is no password. *Experimental*
Disable in Landscape Mode – Disable the proximity sensor when an application is in landscape mode.
Go to Home Screen – Show the home screen when the screen turns on.
Screen Off Only – The screen will turn off but not on when the proximity sensor is triggered.
Screen On Only – The screen will turn on but not off when the proximity sensor is triggered.
Start on Boot – Automatically start the IntelliCover service when the device turns on.
Notifications:-
Proximity Warning – Vibrate every time the proximity sensor is triggered.
Status Bar Notification – Show an ongoing notification in the status bar.
Screen On and Off Actions:-
Airplane Mode – Enable or disable airplane mode.
Auto Rotate (will be removed) – Activate or deactivate.
Auto Sync – Activate or deactivate auto-sync.
Bluetooth – Enable or disable Bluetooth.
Haptic Feedback (will be removed) – Activate or deactivate haptic feedback.
Ringer Mode – Switch ringer mode to Normal (Sound with Vibration), Vibrate or Silent.
Wi-fi – Enable or disable wi-fi.
*** Frequently Asked Questions ***
Q) Is it really free? Where are the ads?
Ans) IntelliCover is completely free and has no ads whatsoever!
Q) Do I require a rooted device to use IntelliCover?
Ans) Nope. IntelliCover works on all supported phones and tablets, rooted or unrooted.
Q) Doesn’t using the proximity sensor consume a lot of battery?
Ans) Actually, the proximity sensor consumes minimal power, almost little enough to be insignificant.
Q) What are the ‘Screen On’ and ‘Screen Off’ actions?
Ans) IntelliCover allows you to set events to be triggered when the screen turn on or off. For example, by setting wi-fi to turn on when your screen turns on and setting it to turn off when the screen turns off, you could save a huge amount of battery power.
Q) Can I request a feature?
Ans) Of course! Head over to the Contact section to drop me an e-mail.
Q) Why does IntelliCover keep running in the background?
Ans) It has to run in the background to know when the proximity sensor is triggered.
Q) Can I donate to the developer?
Ans) Not yet but hopefully I’ll have something set up soon.
*** Permissions Required ***
INTERNET - Required for error logging (to send crash reports)
WAKE_LOCK - Required to unlock screen
WRITE_SETTINGS - Required to toggle ringer mode
VIBRATE - Required to vibrate phone
RECEIVE_BOOT_COMPLETED - Required to detect phone boot
WRITE_SYNC_SETTINGS - Required to toggle autosync
READ_SYNC_SETTINGS - Required to toggle autosync
BLUETOOTH - Required to toggle bluetooth
BLUETOOTH_ADMIN - Required to toggle bluetooth
ACCESS_WIFI_STATE - Required to toggle WiFi
UPDATE_DEVICE_STATS - Required to toggle WiFi
CHANGE_WIFI_STATE - Required to toggle WiFi
*** Contact ***
Feel free to contact me at [email protected] with any issues, bug reports, feature requests, suggestions or queries. Please read the FAQ above before sending an e-mail to avoid redundancy.
Click here to visit the market page and download the app for free
Hello! I love the app! I just installed it, and it works great so far keep up your good work!
Sent from my HTC Sensation Z710e using xda premium
Seems good, some questions though.
1. Is it supposed to be able to turn the screen on? Take phone out of pocket, proximity sensor detects values that indicate there's nothing near (Sorry, dunno how / what values are calculated / used) and viola, screen on?
2. Dunno if I've set it up incorrectly. But, currently, if I turn on my screen, via the power button (Sony Xperia S), the stock lockscreen will show, and either one of two things will happen. Either I unlock it successfully, and the split second I'm completing the unlock, the phone will screen off, and engage the lockscreen - after unlocking this, can I get into my phone. OR it'll do what I've previously mentioned, without input.
timmy-kidd said:
Hello! I love the app! I just installed it, and it works great so far keep up your good work!
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
Thanks! Glad you liked it! =)
Profool said:
Seems good, some questions though.
1. Is it supposed to be able to turn the screen on? Take phone out of pocket, proximity sensor detects values that indicate there's nothing near (Sorry, dunno how / what values are calculated / used) and viola, screen on?
2. Dunno if I've set it up incorrectly. But, currently, if I turn on my screen, via the power button (Sony Xperia S), the stock lockscreen will show, and either one of two things will happen. Either I unlock it successfully, and the split second I'm completing the unlock, the phone will screen off, and engage the lockscreen - after unlocking this, can I get into my phone. OR it'll do what I've previously mentioned, without input.
Click to expand...
Click to collapse
Yup, it turns the screen on as well. The values are pretty much just FAR and NEAR for most proximity sensors, so once it detects that there's no object close to it, it should turn the screen on. If it's not turning on at all, that might be the root of the problem i.e. it might be causing the unlock issue as well...Hmmm...I checked out your phone specs and since you said "stock lockscreen", I think it's safe to assume you're on the stock ROM but are you still on Gingerbread? If so, that partially explains the issue. Some Gingerbread ROMs have compatibility issues with the app that are very similar to what you've described, I have no idea why but I'm still looking into it. I had to fix ALOT of Gingerbread issues to get it working this far lol. If you're not on GB though, I guess I need to hunt for an Xperia and begin testing/debuggin. :fingers-crossed:
HUGE update released! V2.0 Hope you all like it. =)
Thanks a lot for sharing your app, it looks grate but unfortunately it is not working with my Galaxy note 10.1
Sent from my GT-N8000 using XDA Premium HD app
I like it! Works fine in my SII stock rom. It will be perfect if i could enable a sound notification when turns off the screen. Not really necessary but cool 4 me (car unlock beep-beep)
Thanks mate!
Frank
thanks for the update
working good.
I'm working on adding a widget and changing the design, but if anyone has any better suggestions, I'd love to hear them because design is not as important as functionality.
Love it. great app, and working fine on both my LG Optimus 3D and Samsung Galaxy Note II.
could we have a choice on the notification icon, would be nice to have a small black dot or something. i just like a empty notification bar but understand the need for it to actually be in the notification bar
thanks
other than that this is my fav ap on my phone
won't this drain battery
mikeschevelle said:
could we have a choice on the notification icon, would be nice to have a small black dot or something. i just like a empty notification bar but understand the need for it to actually be in the notification bar
thanks
other than that this is my fav ap on my phone
Click to expand...
Click to collapse
Yea, it's unfortunate that foregrounding requires the notification icon. You could try using the app without foregrounding, it works for some people. Adding more notification icons should be easy, won't take much time. =) Which ones do you think I should add? A small black dot would disappear on most black status bars (but it'll look like there's an empty space in the status bar so it'll look a little weird)...
skyrocketeer said:
won't this drain battery
Click to expand...
Click to collapse
The proximity sensor uses very little battery and the app itself is pretty light (4-5MB RAM). So far I've only gotten one deep sleep complaint out of 3500+ downloads but no battery issues.
im fine with the black dot, it will keep my bar looking empty
mikeschevelle said:
im fine with the black dot, it will keep my bar looking empty
Click to expand...
Click to collapse
Finally! Found a way to completely remove the icon and the notification from the status bar when the app is foregrounded. It'll be in the next update (today or tomorrow). It can still be enabled manually from the Notifications section but yea, enjoy the emptiness of your status bar. xP
Pretty Huge Update. Hope you like it!
Version 3.0
-Added Screen On Fix for some phones (Enable in settings)
-Status Bar Notification/Icon will no longer automatically show up when app is foregrounded.
-Added Pocket Mode
-Added Table Mode
-Added Widget
-Fixed Screen On/Off Actions bug
One thing I notice (which is NO WHERE CLOSE to a big deal)
The launcher I use (Nova) I hide the status bar and use a gesture to bring it down. When ever Intellicover turns the screen on, the status quickly shows itself and then goes back hidden, not more than a half second of this, but I cannot select anything on the screen until after that status bar thing happens
I like the concept of the app, and it works fine with my sensors. I have one complaint though, I don't like how when the phone screen turns on, it opens to the Intellicover App. Sure I can set it to go to the home screen, but I don't always want that. Once Intellicover is running, I don't want to ever see it again unless I manually launch it from the app drawer. If I have Chrome open and I have to suddenly put my phone down or in my pocket, I'd like to pull my phone back out and have Chrome still be on the screen, just like happens now using the sleep button.
Turns my dumb flip cover on my note 2 into a smart cover. Thanks
Sent from my SPH-L900 using xda premium
garfnodie said:
I like the concept of the app, and it works fine with my sensors. I have one complaint though, I don't like how when the phone screen turns on, it opens to the Intellicover App. Sure I can set it to go to the home screen, but I don't always want that. Once Intellicover is running, I don't want to ever see it again unless I manually launch it from the app drawer. If I have Chrome open and I have to suddenly put my phone down or in my pocket, I'd like to pull my phone back out and have Chrome still be on the screen, just like happens now using the sleep button.
Click to expand...
Click to collapse
Actually, that shouldn't be happening. Once set you never have to see it again. I'm not quite sure what could be triggering this but if you could provide a little information about the OS/phone model/etc. I could try to get a hold on the device and try to replicate the error...

[Q] Priority mode switches off after midnight

In general I'm satisfied with the new notification and volume system in contrary to a lot of other people here but I've an annoying problem with it.
Config:
- I switch to Priority mode
- Time indefinitely
- Priority interruptions only calls
- starred contacts only
- I don't have down days configured
All seams well and works as expected but at exactly midnight (00:00) Priority mode switches off and turns back to All. It is really the time that triggers it and not a set duration because it doesn't matter if turn on priority at 23:55 or at 18:00.
Anybody else with this problem and ideas what could trigger this?
Solved it. It was the app Silent Time that somehow interfered with priority mode. This is an app that I used on JellyBean and KitKat but didn't configure or use on Lollipop, although I did auto-download it.

P40 Pro Whatsapp notifications too fast & weird screen brightness

1. When using Whatsapp Web, every time I get a message my phone screen turns on. This happens even if I'm talking to the person in question. Uses battery for nothing. Is there a way to get this to either delay a few seconds so it would notice the message has been seen and wouldn't activate screen OR straight up notice Web is in use and not notificate?
2. There's a slight change in brightness when going from bright to dark pages. No auto brightness or anything is on. Any idea how to turn this off?

Categories

Resources