- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 02:57 AM
Application device policy is set Automatic update but did not instal the system update automatically. Seems like that system update is downloading but not processing for the installation. As my app is on kiosk mode therefore there is no manual way to install the update. Application is running two user one is admin user and another is secondary user.
1. Admin user
2. Secondary
https://developer.android.com/work/dpc/system-updates#set-policy
Device policy creating with the selection:
pattern: String =
- "TYPE_INSTALL_AUTOMATIC"
- "TYPE_INSTALL_WINDOWED"
- "TYPE_POSTPONE"
fun mapToPatternToSystemUpdatePolicy(
pattern: String,
startTime: Int?,
endTime: Int?,
😞 SystemUpdatePolicy {
// Device update policy
if (pattern.contains("TYPE_INSTALL_AUTOMATIC")) {
return SystemUpdatePolicy.createAutomaticInstallPolicy()
} else if (pattern.contains("TYPE_INSTALL_WINDOWED")) {
// Update windowed time is et minutes.
if (startTime != null && endTime != null) {
return SystemUpdatePolicy.createWindowedInstallPolicy(
startTime,
endTime,
)
}
} else if (pattern.contains("TYPE_POSTPONE")) {
return SystemUpdatePolicy.createPostponeInstallPolicy()
}
return SystemUpdatePolicy.createAutomaticInstallPolicy()
}
Setup the policy in the :
val updatePolicy = DevicePolicyMapper.mapToPatternToSystemUpdatePolicy(
systemUpdatePolicy,
startTime,
endTime,
)
dpm.setSystemUpdatePolicy(adminComponentName, updatePolicy)
What can be the causes pretty unclear to me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 03:38 AM
I have tried with Windowed also. Doesn't work. System download the update but not able to install automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 03:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 03:53 AM
I am looking for Android system update like Android 13 has released for Android 12 devices. I can see from the settings that system update is ready to download and install. [installation process should work as automatic when new release is available].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 03:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 05:35 AM
We also see that our devices connected via mobile data also doesn't do an update.
Have you tried that connected to a Wifi?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 06:02 AM
Yes, device is connected with WIFI and admin. Device is downloading the update not able to install automatically. If there is issue with the internet issue in that case device will not able to download the update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 06:12 AM
I fully agree.
- Basic WiFi-profiles (configuration profiles) do not deploy into Device in Admin discussions
- Google assistant with work account in Admin discussions
- Unable to change configuration via CSV method for devices uploaded to Zero Touch customer portal in Admin discussions
- Intune - Android MGP Apps not showing in Company Portal in Admin discussions
- The open platform advantage: understanding Android open source in Admin resources