Comments (1)
补充复现:
用下面的代码片段创建一个空的share intent,并通过PackageManagerService查询能够接受分享的包列表。
final Intent intent = new Intent(Intent.ACTION_SEND);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
intent.setType("plain/text");
final PackageManager pm = getPackageManager();
final List<ResolveInfo> matches = pm.queryIntentActivities(intent, 0);
matches 列表末尾会包含一个无法解析的ResolveInfo,所有字段都是null,但 targetUserId
为10(壶中界的id)。
由于EMUI的应用选择框(com.huawei.android.internal.app.HwChooserActivity)也没有处理这个取值为null的异常,所以在Island外触发分享就会导致分享界面崩溃,但壶中界里面没有这个问题。
个人猜测可能是EMUI处理多用户的分享可能有问题,但我对安卓不太熟(上面的code snippet都是谷歌搜的 😅 ),请问这个算是Island引入的Bug还是垃圾EMUI?
from island.
Related Issues (20)
- Island
- Island
- Islan
- Insland issue
- Action not allowed
- How can i hide the "work" tab at the bottom of the app screen?
- Island is not ready (probably deactivated) HOT 3
- Island app not available my phone
- "security policy restricts this action"
- I can't access personal data from my work profile HOT 1
- Ransomware
- Not open app
- Calendars sync?
- Do not work on Samsung device?
- 不支持 小米澎湃OS吗?
- Hi wey
- Klk
- Island issue
- Uhh
- UPI APPS UNABLE TO VERIFY
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 island.