Yang baru untuk perusahaan di Android 14
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menyediakan ringkasan tentang enterprise API, fitur, dan perubahan perilaku
yang diperkenalkan di Android 14 (level API 34).
Android 14 (level API 34) menambahkan dua kolom berikut:
Bersama-sama, kolom-kolom ini memungkinkan aplikasi pribadi dengan izin READ_CONTACTS
untuk mencantumkan semua kontak profil kerja dan nomor telepon selama
kebijakan kontak antar-profil di DevicePolicyManager
mengizinkannya.
Akses antar-profil ke kontak
Kebijakan ini dapat ditetapkan dan dikueri menggunakan metode berikut di
DevicePolicyManager
, yang menentukan paket mana yang diizinkan untuk mengakses kontak
kerja dari profil pribadi:
Metode ini kompatibel dengan versi sebelumnya dan harus digunakan, bukan
metode berikut yang sekarang tidak digunakan lagi:
Penelusuran ID penelepon antar-profil
Demikian pula, Android 14 (level API 34) menambahkan metode berikut untuk
penelusuran ID penelepon antar-profil:
Metode ini kompatibel dengan versi sebelumnya dan harus digunakan, bukan
metode berikut yang sekarang tidak digunakan lagi:
Ultra wideband
Ultra wideband (UWB) adalah teknologi radio yang dapat menggunakan tingkat energi yang sangat rendah
untuk komunikasi jarak pendek dengan bandwidth tinggi dalam sebagian besar spektrum
radio.
Mulai Android 14 (level API 34), pemilik perangkat atau profil dapat melarang
UWB di perangkat milik organisasi dengan menerapkan pembatasan pengguna
DISALLOW_ULTRA_WIDEBAND_RADIO
dengan
DevicePolicyManager.addUserRestriction()
.
Penghentian penggunaan
Android 14 menyertakan penghentian penggunaan API penting berikut.
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-27 UTC."],[],[],null,["This page provides an overview of the enterprise APIs, features, and behavior\nchanges introduced in Android 14 (API level 34).\n| **Note:** Members of our [Enterprise Mobility Management (EMM) partner community](https://www.androidenterprise.dev/) can find more information about EMM-impacting changes in Android 14 in the corresponding [knowledge article](https://emm.androidenterprise.dev/s/article/EMM-impacting-changes-in-Android-14) on the EMM community site.\n\nContacts\n\nAndroid 14 (API level 34) adds the following two fields:\n\n- [`ContactsContract.Contacts#ENTERPRISE_CONTENT_URI`](/reference/android/provider/ContactsContract.Contacts#ENTERPRISE_CONTENT_URI)\n- [`ContactsContract.CommonDataKinds.Phone#ENTERPRISE_CONTENT_URI`](/reference/android/provider/ContactsContract.CommonDataKinds.Phone#ENTERPRISE_CONTENT_URI)\n\nTogether, these fields allow personal apps with the [`READ_CONTACTS`](/reference/android/Manifest.permission#READ_CONTACTS)\npermission to list all work profile contacts and phone numbers as long as the\ncross-profile contacts policy in `DevicePolicyManager` allows it.\n\nCross-profile access to contacts\n\nThe policy can be set and queried using the following methods in\n`DevicePolicyManager`, which specify which packages are allowed to access work\ncontacts from the personal profile:\n\n- [`setManagedProfileContactsAccessPolicy()`](/reference/android/app/admin/DevicePolicyManager#setManagedProfileContactsAccessPolicy(android.app.admin.PackagePolicy))\n- [`getManagedProfileContactsAccessPolicy()`](/reference/android/app/admin/DevicePolicyManager#getManagedProfileContactsAccessPolicy())\n\nThese methods are backward compatible and should be used instead of the\nfollowing methods that are now deprecated:\n\n- [`setCrossProfileContactsSearchDisabled()`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileContactsSearchDisabled(android.content.ComponentName,%20boolean))\n- [`getCrossProfileContactsSearchDisabled()`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileContactsSearchDisabled(android.content.ComponentName))\n\nCross-profile caller ID searches\n\nSimilarly, Android 14 (API level 34) adds the following methods for\ncross-profile caller ID searches:\n\n- [`setManagedProfileCallerIdAccessPolicy()`](/reference/android/app/admin/DevicePolicyManager#setManagedProfileCallerIdAccessPolicy(android.app.admin.PackagePolicy))\n- [`getManagedProfileCallerIdAccessPolicy()`](/reference/android/app/admin/DevicePolicyManager#getManagedProfileCallerIdAccessPolicy())\n\nThese methods are backward compatible and should be used instead of the\nfollowing methods that are now deprecated:\n\n- [`getCrossProfileCallerIdDisabled()`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileCallerIdDisabled(android.content.ComponentName))\n- [`setCrossProfileCallerIdDisabled()`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileCallerIdDisabled(android.content.ComponentName,%20boolean))\n\nUltra wideband\n\nUltra wideband (UWB) is a radio technology that can use a very low energy level\nfor short-range, high-bandwidth communications over a large portion of the radio\nspectrum.\n\nStarting in Android 14 (API level 34), a device or profile owner can disallow\nUWB on an organization-owned device by applying the\n[`DISALLOW_ULTRA_WIDEBAND_RADIO`](/reference/android/os/UserManager#DISALLOW_ULTRA_WIDEBAND_RADIO) user restriction with\n[`DevicePolicyManager.addUserRestriction()`](/reference/android/app/admin/DevicePolicyManager#addUserRestriction(android.content.ComponentName,%20java.lang.String)).\n\nDeprecations\n\nAndroid 14 includes the following notable API deprecations:\n\n- [`DevicePolicyManager#setCrossProfileCalendarPackages`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileCalendarPackages(android.content.ComponentName,%20java.util.Set%3Cjava.lang.String%3E)) and\n [`DevicePolicyManager#getCrossProfileCalendarPackages`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileCalendarPackages(android.content.ComponentName)) are deprecated.\n\n Calendar apps should migrate to [connected apps](https://developers.google.com/android/work/connected-apps) and device policy\n controllers (DPCs) should use\n [`DevicePolicyManager#setCrossProfilePackages`](/reference/android/app/admin/DevicePolicyManager#setCrossProfilePackages(android.content.ComponentName,%20java.util.Set%3Cjava.lang.String%3E)) instead.\n- The following methods are deprecated:\n\n - [`DevicePolicyManager#setCrossProfileContactsSearchDisabled`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileContactsSearchDisabled(android.content.ComponentName,%20boolean))\n - [`DevicePolicyManager#getCrossProfileContactsSearchDisabled`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileContactsSearchDisabled(android.content.ComponentName))\n - [`DevicePolicyManager#setCrossProfileCallerIdDisabled`](/reference/android/app/admin/DevicePolicyManager#setCrossProfileCallerIdDisabled(android.content.ComponentName,%20boolean))\n - [`DevicePolicyManager#getCrossProfileCallerIdDisabled`](/reference/android/app/admin/DevicePolicyManager#getCrossProfileCallerIdDisabled(android.content.ComponentName))\n\n DPCs should use the alternative methods outlined in the preceding\n [Contacts](#contacts) section."]]