NPE Guard lifecycle in preference controllers

Bug: 65492237
Test: robotests
Change-Id: I8a83da46e038e8d99870b2bf4b640d734fd4d1f6
3 files changed