[Q] What does this error mean? - Android Software Development

In the error reports of one of my apps I got a few that say "android.view.WindowManager$BadTokenException" from the source "ViewRoot.setView()"
Does anyone know what this means, I tried looking into it but I can't figure out whats causing it exactly.
Thanks

i think this may occur when an activity tries to display a dialog when it is shutting down

Related

Word suggestions/T9 stops working

I have at strange and annoying problem. The function when I write a message and the wizard suggests words sometimes stops working. Not only do I not get any suggestions while writing the message but also when I write the name of the recipient the Wizard does not suggest anyone from my contacts. It is still active in the settings and turning it off and on does nothing. So far only a soft reset seems to fix it.
Thinking it was after I have been using Agile I've tried to reproduce but I haven't succeeded so I still don't know what is causing it and how to fix it. Anyone else with the same problem?

[Q] Constant bug reports getting generated

It seems that almost every day, sometimes multiple times a day, I'm getting notifications that bug reports are being generated. It is getting beyond annoying.
Is there a way I can identify what app is crashing or causing these reports to get generated?
Is there a way I can disable the notification and report generating other then turning off developer options?
I'm rooted at NC1 using muniz method.
Thanks.

permissions keep getting reset

In the last month or so all my app permission keep getting reset to 'deny everything' and when I open an app it keeps asking me for permissions access every few days ....
any idea what the heck is going on?
I've been having the exact same issue. Still, i dont know what triggers it. I've read somebody else had this issue after a phone restart. The most common app that gives me a headache or started to messed up was Whatsapp, which loses access to contacts and loses the ability to recognize the phone number. Please if you have further info or a workaround please let me know.
I just had this for the first time this morning... was wondering if it was a device or android issue?
ETA: I noticed it after a restart
I think is directly related to the phone model.
I wonder if it has something to do with the AVG Antivirus app. Do you have it installed?
I haven't tried to factory reset though..
apiera said:
I think is directly related to the phone model.
I wonder if it has something to do with the AVG Antivirus app. Do you have it installed?
I haven't tried to factory reset though..
Click to expand...
Click to collapse
I do not have any antivirus apps installed. I just noticed a similar thread on the official Lenovo MotoX forum as well.
i have the same problem does anybody found a solution ?
Sent from my XT1572 using XDA-Developers mobile app

Sleep of death after camera not connecting N4F26T w/ logs

Having a bit of a problem on the latest N4F26T - getting an error when opening the camera, sometimes, then the report / dismiss error box opens up and then the Sleep of Death (assume that's what it is - phone crashes and won't wake up until I plug it into power, even though the battery is charged). Have the ramoops and dmseg files attached if they help.
Ozark_8125 said:
Having a bit of a problem on the latest N4F26T - getting an error when opening the camera, sometimes, then the report / dismiss error box opens up and then the Sleep of Death (assume that's what it is - phone crashes and won't wake up until I plug it into power, even though the battery is charged). Have the ramoops and dmseg files attached if they help.
Click to expand...
Click to collapse
I did not realize I was having a similar issue until I read your post. I tried to force stop the Camera app, clear cache, data then ensure all permissions are enabled. Then rebooted the phone but still no dice. I don't get the sleep of death though, just the persistent error.
By any means I'm not a Dev, but out of curiosity I checked your logs then saw the following lines after searching within the text using "Camera" as keyword:
msm_camera_pinctrl_init:1247 Getting pinctrl handle failed
[ 2.162145] msm_camera_power_up:1288 Initialization of pinctrl failed
Then I searched for those lines and glanced over an article over at https://www.kernel.org/doc/Documentation/pinctrl.txt. Just my own layman's understanding that "pinctrl" has possibly something to do with hardware. Then recalling that under "Settings"->"Moves" there is an option for "Jump to Camera". Enabling it allows the camera to open when we double-press the power button. So then I did the following:
1.) Turn-off "Jump to Camera" under "Settings"->"Moves"
2.) Access Camera app's "App Info" page, then force stop app
3.) Clear app's cache and data.
4.) Restart phone.
Once the phone was back on, opening the camera did not produce the error and I'm able to use all it's features. So I think it may have something to do with the camera app failing to communicate/respond properly with the jump to camera feature. That being said I have no idea why it happens so hopefully a Dev may be able to shed more light to the problem.
Nice research. I'll try it too and see if that happens here. I think you might be right, I think it happens when double tapping power to open camera and possibly opening while rotating the phone.
Ozark_8125 said:
Nice research. I'll try it too and see if that happens here. I think you might be right, I think it happens when double tapping power to open camera and possibly opening while rotating the phone.
Click to expand...
Click to collapse
I spoke to soon, the error's back. So scratch my shot What I did notice though is that the back camera's likely the one experiencing the issue. I tried using another camera app, as well as FB messenger's photo taking feature. When the error's present, the 3rd party camera software glitch out when the back camera is used, but switches and take pictures fine with the selfie/front cam.
At this point I can only guess it may have something to do with the march vendor image Not really sure at this point. I'll see tomorrow if changing kernels may resolve it.
It happened tonight at dinner also, while scrolling pages on chrome. Going to try a clean install and see if it continues
Ozark_8125 said:
It happened tonight at dinner also, while scrolling pages on chrome. Going to try a clean install and see if it continues
Click to expand...
Click to collapse
Turned out to be yet another faulty RMA'd refurbed device. I'm on my third now. Knock on wood, no problems so far. I suspect they just format and reflash and call it refurbed when they send out replacements...
Ozark_8125 said:
Turned out to be yet another faulty RMA'd refurbed device. I'm on my third now. Knock on wood, no problems so far. I suspect they just format and reflash and call it refurbed when they send out replacements...
Click to expand...
Click to collapse
If you get the problem again then try flashing vendor image. That fixed a problem for me a while back.

Strange behaviour

Got a strange problem, think I may have some sort of malware or such, something keeps trying to open my secure folder, had this problem before and had to wipe the phone to sort it, whatever it is it's hiding itself extremely well, my phone is not rooted , any help please

Categories

Resources