Add controllers for iinstant app related preferences.
For AppInfoDashboardFragment: - add app installer preference into the preference screen instead of creating it dynamically. - add controller for the App Installer, Instant App buttons, and instant app domains preferences. Bug: 69384089 Test: make RunSettingsRoboTests Change-Id: I8d362cacb78077c173130018c33c4d00abfe9843
This commit is contained in:
@@ -16,11 +16,9 @@
|
||||
|
||||
package com.android.settings.applications;
|
||||
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.ResolveInfo;
|
||||
import android.net.Uri;
|
||||
import android.util.Log;
|
||||
|
||||
// This class provides methods that help dealing with app stores.
|
||||
@@ -43,9 +41,6 @@ public class AppStoreUtil {
|
||||
} catch (IllegalArgumentException e) {
|
||||
Log.e(LOG_TAG, "Exception while retrieving the package installer of " + packageName, e);
|
||||
}
|
||||
if (installerPackageName == null) {
|
||||
return null;
|
||||
}
|
||||
return installerPackageName;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user