Project

General

Profile

Actions

New Feature #12733

open

Add new restrictions to restrict apps by app type

Added by Sandaru Daminda 4 months ago. Updated about 1 month ago.

Status:
New
Priority:
None
Start date:
13/03/2025
Due date:
% Done:

0%

Estimated time:
Device Type:
Component:
Type:
Android
QA Start Time:
QA Due Time:
QA Estimated Time(Hours):

Description

We can get the application type from the below APIs, if provided and we can restrict apps based on this type.
Ex - CATEGORY_GAME,CATEGORY_SOCIAL,CATEGORY_VIDEO,CATEGORY_NEWS

PackageManager pm = context.getPackageManager();
List<ApplicationInfo> packages = pm.getInstalledApplications(PackageManager.GET_META_DATA);

for (ApplicationInfo appInfo : packages) {
String appName = (String) pm.getApplicationLabel(appInfo);
String packageName = appInfo.packageName;
String appType = getAppCategory(pm, appInfo);
}

Actions #1

Updated by Arshana Atapattu about 1 month ago

  • Project changed from product-uem 7.1.0 GA to product-uem 7.0.0 GA
Actions #2

Updated by Arshana Atapattu about 1 month ago

  • Project changed from product-uem 7.0.0 GA to product-uem 7.1.0 GA
Actions #3

Updated by Arshana Atapattu about 1 month ago

  • Project changed from product-uem 7.1.0 GA to product-uem 7.0.0 GA
Actions

Also available in: Atom PDF