Status Update
Comments
da...@gmail.com <da...@gmail.com> #2
po...@gmail.com <po...@gmail.com> #3
Actually the app doesn't go to the background, it gets killed. According to the logcat, due to REQUEST_INSTALL_PACKAGES
permission getting changed:
2020-04-18 14:52:28.212 2249-2296/? I/ActivityManager: Force stopping com.aefyr.sai.fdroid appid=10147 user=-1: REQUEST_INSTALL_PACKAGES changed.
But normally Android only kills apps when user revokes a permission, not when user grants it.
lb...@gmail.com <lb...@gmail.com> #4
Granting the permission shouldn't kill the process.
vk...@google.com <vk...@google.com>
na...@google.com <na...@google.com> #5
na...@google.com <na...@google.com>
po...@gmail.com <po...@gmail.com> #6
How is killing app process when user grants a permission is intended behaviour and why is it not mentioned in the behaviour changes list then?
lb...@gmail.com <lb...@gmail.com> #7
It can't be by design. Close app when it's granted...
Here, made a new one with a sample and video:
na...@google.com <na...@google.com> #8
lb...@gmail.com <lb...@gmail.com> #9
Also, it can't be a good thing. Force-stopping an app because it asked nicely to grant a permission, and got it?!
It's worse than killing. It's force-stop. It is worse than denying a normal runtime permission.
It's not a bright side at all. There is practically no other permission that cause this terrible behavior. And it's not intuitive for users that once the permission was granted, the app is gone. It shows as if the app itself has a bug, not being able to handle the change.
Please avoid this. Users will complain just because you make bad choices. Don't put weird behaviors like Xiaomi does.
Please reconsider. Here:
po...@gmail.com <po...@gmail.com> #10
@8 Thanks for clearing it up. But how do you suggest handling requesting that permission in a user-friendly way? I wonder why couldn't that permission be implemented via the normal runtime permissions mechanism. If you decide to stick with this change, please at least mention it in the behaviour changes list, so that developers will know they need to alert users that app will be closed by the system.
ar...@gmail.com <ar...@gmail.com> #11
@8 What are you talking about? Android 10 and below have handled this properly for years. You request the install unknown apps permission, the user approves it, and it's granted instantly.
lb...@gmail.com <lb...@gmail.com> #12
Why do you think there is a need for it to be documented and written to the user? It shouldn't exist at all...
lb...@gmail.com <lb...@gmail.com> #13
It worked perfectly fine. It's not a new permission at all.
po...@gmail.com <po...@gmail.com> #14
@12 I don't think it is acceptable as it is now, that's why I asked for their suggestion on handling it in a user-friendly way. But if it really can't be handled without killing the app, it has to be mentioned as a behaviour changes list at least.
ch...@gmail.com <ch...@gmail.com> #15
na...@google.com <na...@google.com> #16
However this issue has now been logged internally as a feature request for further evaluation. We'll be following up on
lb...@gmail.com <lb...@gmail.com> #17
There is no need to remount anything. Just grant the app the permission.
And as long as it doesn't have the permission, block it.
Do it as you did it before R. There is no need to break the UX. What about backward compatibility?
Why did you make the suggestion internal and the bug closed? Why do you not let others see it and star it, showing you how important it is?
Please if you don't fix this terrible UX bug on R, at least make some way for the app to recover: have an Intent that we send to it, which will restart it, or restore its state on your own (better for backward compatibility).
It doesn't make sense that I open an APK file via Chrome, and it will behave the same as crashing.
ar...@gmail.com <ar...@gmail.com> #18
ma...@google.com <ma...@google.com> #19
lb...@gmail.com <lb...@gmail.com> #20
It's a bug that is caused by new changes. Not by a new permission that you don't know how to handle or don't know how it should work.
If I take it to some random case that I made up now:
Users had photos being shown for each of their address book contacts. It worked fine for all versions of Android, showing the picture of the caller based on what's on the address book.
So suppose one day, since Google changed the way it stored the photos on its servers (or on the OS, doesn't matter), all users can't see the photos anymore.
When users and developers reported to Google about this issue, could Google say :
"It's intended. We made changes that caused it. All you have to do is to re-upload the photos for each contact and it will work again. The good new is that you need to do it once!"
?
It doesn't make sense. Make backward compatibility a higher priority in your thinking of handling new Android versions.
Users and developers shouldn't suffer because of those choices that you make, and it's a terrible excuse to say that because you changed something under the hood, the UX should be worse.
UX should be better over Android versions. Not worse.
It's not the first time Google breaks functionality and UX for no good reason.
Google broke all clipboard managers (or any other tool that needs it) by not allowing apps to monitor the clipboard in the background, except for very specific cases. One of them was for keyboards, and Google's Gboard had the clipboard managing capability, while almost all keyboard apps don't have this feature at all.
If Google had a clipboard manager app, it wouldn't have created this restriction.
If Google had the Play Store be available for all Android devices (even those that don't have it), it wouldn't have created so many restrictions and obstacles for app-stores apps.
ma...@google.com <ma...@google.com> #21
lb...@gmail.com <lb...@gmail.com> #22
The technical background should be for admitting it's a bug. Not about saying that it's intended, closing it. It shouldn't be an excuse to have a bad UX behavior, but an explanation of a bug, which will also be followed by "we are working on fixing it. Thank you for reporting it" .
Read the example I've shown you on @20 about the fictional case. It's the exact same as here. That's how you chose to behave, and currently, you still do, as long as this is marked as "won't fix" and as long as you consider it as a mere side-effect of some changes behind the scenes.
lb...@gmail.com <lb...@gmail.com> #23
Here, Android Police made an article about it, after I wrote about it on reddit:
Maybe it will give you a clue about how others think of this matter.
Also maybe a tiny chance that you will change the way you handle new changes on the OS, including backward compatibility, UX, and API.
Currently I still see the status here as "won't fix" .
lb...@gmail.com <lb...@gmail.com> #24
-
-
-
ar...@gmail.com <ar...@gmail.com> #25
zh...@gmail.com <zh...@gmail.com> #26
lb...@gmail.com <lb...@gmail.com> #27
Actually not sure what "dumpster fire in its current state." means and how it helps in this conversation.
I'm trying to show that this issue is important.
Please focus on this, guys.
da...@gmail.com <da...@gmail.com> #28
lb...@gmail.com <lb...@gmail.com> #29
sa...@gmail.com <sa...@gmail.com> #30
If you need to shut down the app to grant it write access, inform the app to restart before it can write to obb directory, so it can fucking save its state and restart to it so the user doesn't have to fucking search the file again to install it. what if the app doesn't even need access to obb directory?
This is a bug and not an intended behaviour.
da...@gmail.com <da...@gmail.com> #31
Google need to rethink this philosophy of restrictions.
If we are able and willing to unlock the boot-loader, we should be allow to install any APK we want.
lb...@gmail.com <lb...@gmail.com> #32
Requested to fix it here:
Description
- Steps to reproduce the problem (including sample code if appropriate).
1. Do the same as on this issue:
But notice what happens when you click the button to start installing using either method.
Also notice what happens when you accept the install permission.
- What happened.
First click will show&close the dialog to accept the permission.
Second click, if you accept the permission, the app goes to the background and you see the dialog to accept the install process.
- What you think the correct behavior should be.
Should all appear as normal.