Update RuntimePermissionsBasic Java sample.

* Doing this to prepare for adding Kotlin version.
* Moved to use only base-build template.
* Minor styling changes.

Bug: 70294270
Change-Id: I9be4c83484b2605f6e306930f9cf0f3c4c10c03f
19 files changed