Merge "Remove a useless method" am: 3edc1b50bf am: 77b171be6f am: 107dd4f936 am: dce36b5b50

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426655

Change-Id: Iead91ab812e0b5aee6ee1fe96c52ebf22fbe4a5e