Loading core/java/android/app/admin/DevicePolicyManager.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -8733,6 +8733,7 @@ public class DevicePolicyManager { */ */ public void setMandatoryBackupTransport( public void setMandatoryBackupTransport( @NonNull ComponentName admin, @Nullable ComponentName backupTransportComponent) { @NonNull ComponentName admin, @Nullable ComponentName backupTransportComponent) { throwIfParentInstance("setMandatoryBackupTransport"); try { try { mService.setMandatoryBackupTransport(admin, backupTransportComponent); mService.setMandatoryBackupTransport(admin, backupTransportComponent); } catch (RemoteException re) { } catch (RemoteException re) { Loading @@ -8748,6 +8749,7 @@ public class DevicePolicyManager { * mandatory or {@code null} if backups are not mandatory. * mandatory or {@code null} if backups are not mandatory. */ */ public ComponentName getMandatoryBackupTransport() { public ComponentName getMandatoryBackupTransport() { throwIfParentInstance("getMandatoryBackupTransport"); try { try { return mService.getMandatoryBackupTransport(); return mService.getMandatoryBackupTransport(); } catch (RemoteException re) { } catch (RemoteException re) { Loading Loading
core/java/android/app/admin/DevicePolicyManager.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -8733,6 +8733,7 @@ public class DevicePolicyManager { */ */ public void setMandatoryBackupTransport( public void setMandatoryBackupTransport( @NonNull ComponentName admin, @Nullable ComponentName backupTransportComponent) { @NonNull ComponentName admin, @Nullable ComponentName backupTransportComponent) { throwIfParentInstance("setMandatoryBackupTransport"); try { try { mService.setMandatoryBackupTransport(admin, backupTransportComponent); mService.setMandatoryBackupTransport(admin, backupTransportComponent); } catch (RemoteException re) { } catch (RemoteException re) { Loading @@ -8748,6 +8749,7 @@ public class DevicePolicyManager { * mandatory or {@code null} if backups are not mandatory. * mandatory or {@code null} if backups are not mandatory. */ */ public ComponentName getMandatoryBackupTransport() { public ComponentName getMandatoryBackupTransport() { throwIfParentInstance("getMandatoryBackupTransport"); try { try { return mService.getMandatoryBackupTransport(); return mService.getMandatoryBackupTransport(); } catch (RemoteException re) { } catch (RemoteException re) { Loading