setKeepBond
Sets whether the bond information should be preserver after flashing new application. This feature requires Legacy DFU Bootloader version 0.6 or newer (SDK 8.0.0+). Please see the EXTRA_KEEP_BOND for more information regarding requirements.
This flag is ignored when Secure DFU Buttonless Service is used. It will keep or remove the bond depending on the Buttonless service type.
Important: The flag does not ensure that the DFU is performed on an encrypted link. If the bond information is present only on Android side, but not on the peripheral side, Android (version 4.3-10) will connect without encryption. On those versions it is not possible to ensure the link is truly encrypted, as getBondState returns BOND_BONDED also if bonding isn't used.
Return
the builder
Parameters
whether the bond information should be preserved in the new application.