Set the AdvancedAppInfoPreferenceController preference to disabled when the app is uninstalled for the current user. This results in every preference under the advanced section to be greyed out, avoiding the null pointer exception. Bug: 238839849 Test: Unit tests && Manual test on multiple apps Change-Id: I5cdf47575da96f53915f5b552213bf0176f9d1d7