From 9bcd0f1e66d4a8aa9e2e6b2b6d2c3efd6ffddb75 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 16 Apr 2015 18:04:25 -0700 Subject: Make createPresenter() and getUi() public. ... and update the visibility of their overriden instances. This allows us to create fragments with the BaseFragment/Presenter fragment which do not live in the incallui root directory. Bug: 20300758 Change-Id: I7f9b1c630538a04ca773ba155e5fb8efd6cf6af7 --- InCallUI/src/com/android/incallui/CallButtonFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'InCallUI/src/com/android/incallui/CallButtonFragment.java') diff --git a/InCallUI/src/com/android/incallui/CallButtonFragment.java b/InCallUI/src/com/android/incallui/CallButtonFragment.java index b2c812b7b..ebba1b1bc 100644 --- a/InCallUI/src/com/android/incallui/CallButtonFragment.java +++ b/InCallUI/src/com/android/incallui/CallButtonFragment.java @@ -112,13 +112,13 @@ public class CallButtonFragment private MaterialPalette mCurrentThemeColors; @Override - CallButtonPresenter createPresenter() { + public CallButtonPresenter createPresenter() { // TODO: find a cleaner way to include audio mode provider than having a singleton instance. return new CallButtonPresenter(); } @Override - CallButtonPresenter.CallButtonUi getUi() { + public CallButtonPresenter.CallButtonUi getUi() { return this; } -- cgit v1.2.3