Use hasSystemFeature() API to check for p2p

Bug: 5267396
Change-Id: I4ff3f77c15322564f63beea793c4585cece596e0
3 files changed