diff options
author | Andrew Lee <anwlee@google.com> | 2015-04-16 18:04:25 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-04-16 18:05:54 -0700 |
commit | 9bcd0f1e66d4a8aa9e2e6b2b6d2c3efd6ffddb75 (patch) | |
tree | b24c7ca16bc9e633503c75d9d948e5c73e393a0f /InCallUI/src/com/android/incallui/CallButtonFragment.java | |
parent | 4835bf85d6908e55630d58d889f654acbfe011bb (diff) |
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
Diffstat (limited to 'InCallUI/src/com/android/incallui/CallButtonFragment.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallButtonFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |