make device setting be able to use either Intent or PendingIntent

BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I42583b358255c6d0226b739ba33cadc1d67d860a
12 files changed