Comments (6)
你好,我这边Android11的系统是正常,app返回到桌面服务就调用了onDestory可以检查一下是否应用设置了类似 退出页面不保留进程的这种设置
from remoteview.
那就有点奇怪,我用的android11的模拟器也是如此,现象就是推到桌面之后(app回到后台),悬浮框就没了。
from remoteview.
可以看下,回到桌面就不显示了,同时调用了FloatWinfowServices 里面的onDestory方法,其他android9 android10的系统我这边测试正常。
from remoteview.
我也是 。。11返回桌面就destory了
from remoteview.
moveTaskToBack(true);
这个方法,在小米手机安卓10以上会有问题,调用后,按home键,那个页面就会被销毁掉
from remoteview.
请问有大佬解决这个问题了吗
from remoteview.
Related Issues (3)
- 要将这个悬浮图片在屏幕中漂动,这个坐标要怎么设置,要怎么调用相关的方法呢。 HOT 2
- 红米k30全面屏多任务监听失效 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remoteview.