Merge "Remove a useless method" am: 2a22f2d1d0 am: 077001edc1 am: 78d3a61273 am: 4a67ac6061

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

Change-Id: Iead91ab812e0b5aee6ee1fe96c52ebf22fbe4a5e