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/CallCardFragment.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/CallCardFragment.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardFragment.java b/InCallUI/src/com/android/incallui/CallCardFragment.java index 5e1c26a30..9359fd5c0 100644 --- a/InCallUI/src/com/android/incallui/CallCardFragment.java +++ b/InCallUI/src/com/android/incallui/CallCardFragment.java @@ -120,12 +120,12 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr private MaterialPalette mCurrentThemeColors; @Override - CallCardPresenter.CallCardUi getUi() { + public CallCardPresenter.CallCardUi getUi() { return this; } @Override - CallCardPresenter createPresenter() { + public CallCardPresenter createPresenter() { return new CallCardPresenter(); } |