Remove usage of deprecated toolbar methods am: 1033c500cf am: e37e75983e am: 849af4cd97

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/SettingsIntelligence/+/11723392

Change-Id: Ic56e436df029f34d09099f6d5063eac6546c0963