nfc(app): Enable DirectBootAware for NFC service

Also, migrate existing data from CE storage to DE storage on first user
unlock after enabling DirectBootAware in NFC service.

Note: Because of the need for flagging, had to create a duplicate
NfcApplication Manifest entry with the flag on and
"directBootAware=true".

Bug: 321310938
Test: atest NfcServiceTest
Test: Manual tests
Verified upgrade from old NFC APK (directBootAware = false)
to new NFC APK (directBootAware = true) and
ensured that all data has been migrated correctly.
Flag: com.android.nfc.flags.enable_direct_boot_aware
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6466572d42fbbf65ffb9fe18ff184518d9c86cbe)

Change-Id: Ifc98b6cef1ddf57c73775ac25fc8095b089ac7d0
5 files changed
tree: e6eec754ada937963d8227e561ce623cfaef2c64
  1. NfcNci/