Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Change-Id: Ib1b8cea2b4a4cbe7b526ed8568a0f34bc3470b8c
Based on oneplus3's implementation. Change-Id: Ibc4bd629f8280d63f84d23981e01cc861992c17f