Use SettingsLib preferences in role.

A lot of preferences weren't in SettingsLib when role was introduced
in Q, but we can use them now, which is also important for the new S
look-and-feel.

Bug: 177638625
Test: manually observe on R and S platform.
Change-Id: I0f99c8f925b34b28892259ac31ced7893d89bddc
19 files changed