summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorArtem Shvadskiy <ashvadskiy@cyngn.com>2016-02-01 13:00:42 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-04 12:01:24 -0800
commit4467b51a476a2fc452e90f2b48317c0963f229a4 (patch)
tree2144e7a96e7092ae04743537236027e3f2d98d2e /src/com
parentf4c5fae44d3e9dd118fcb80ef8dbc02bccf0c189 (diff)
downloadandroid_packages_apps_Trebuchet-4467b51a476a2fc452e90f2b48317c0963f229a4.zip
android_packages_apps_Trebuchet-4467b51a476a2fc452e90f2b48317c0963f229a4.tar.gz
android_packages_apps_Trebuchet-4467b51a476a2fc452e90f2b48317c0963f229a4.tar.bz2
Hide remote apps completely if user has certain restrictions
Restrictions: - User does not have access to install apps. - User is in a restricted profile. - User does not have Play Store installed. Change-Id: Ie762e265bd57a924617f53b8fe460a456622b3c9 issue-id: CYNGNOS-1787
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/launcher3/OverviewSettingsPanel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/OverviewSettingsPanel.java b/src/com/android/launcher3/OverviewSettingsPanel.java
index 133dc51..45a3e62 100644
--- a/src/com/android/launcher3/OverviewSettingsPanel.java
+++ b/src/com/android/launcher3/OverviewSettingsPanel.java
@@ -85,7 +85,7 @@ public class OverviewSettingsPanel {
res.getString(R.string.grid_size_text)}));
// Add additional external settings.
- RemoteFolderManager.onInitializeSettingsAdapter(values, res);
+ RemoteFolderManager.onInitializeSettingsAdapter(values, mLauncher);
String[] valuesArr = new String[values.size()];
values.toArray(valuesArr);