|
|
@ -509,6 +509,7 @@ var androidOperationModule = function () {
|
|
|
|
deviceGlobalConfigurations["displayOrientation"] = operationData["displayOrientation"];
|
|
|
|
deviceGlobalConfigurations["displayOrientation"] = operationData["displayOrientation"];
|
|
|
|
if (deviceGlobalConfigurations["isMultiUserDevice"] === true) {
|
|
|
|
if (deviceGlobalConfigurations["isMultiUserDevice"] === true) {
|
|
|
|
deviceGlobalConfigurations["isLoginRequired"] = operationData["isLoginRequired"];
|
|
|
|
deviceGlobalConfigurations["isLoginRequired"] = operationData["isLoginRequired"];
|
|
|
|
|
|
|
|
deviceGlobalConfigurations["tenantDomainName"] = $("#logged-in-user").data("domain");
|
|
|
|
var storeApps = $("#cosu-profile-app-configs-storeapps").data("storeapps");
|
|
|
|
var storeApps = $("#cosu-profile-app-configs-storeapps").data("storeapps");
|
|
|
|
var primaryUserApps = {
|
|
|
|
var primaryUserApps = {
|
|
|
|
"username" : "primaryUser",
|
|
|
|
"username" : "primaryUser",
|
|
|
@ -522,7 +523,7 @@ var androidOperationModule = function () {
|
|
|
|
userAppConfigurations[index]["visibleAppList"].split(/,(?![^{]*})/)
|
|
|
|
userAppConfigurations[index]["visibleAppList"].split(/,(?![^{]*})/)
|
|
|
|
.map(function (item) {
|
|
|
|
.map(function (item) {
|
|
|
|
var packageName = item.trim();
|
|
|
|
var packageName = item.trim();
|
|
|
|
if (packageName) {
|
|
|
|
if (packageName && storeApps) {
|
|
|
|
var i;
|
|
|
|
var i;
|
|
|
|
for (i=0; i<storeApps.length; i++) {
|
|
|
|
for (i=0; i<storeApps.length; i++) {
|
|
|
|
if (packageName === storeApps[i]["packageName"]) {
|
|
|
|
if (packageName === storeApps[i]["packageName"]) {
|
|
|
|