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/BaseFragment.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/BaseFragment.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/BaseFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/BaseFragment.java b/InCallUI/src/com/android/incallui/BaseFragment.java index 037c2455f..58d991acd 100644 --- a/InCallUI/src/com/android/incallui/BaseFragment.java +++ b/InCallUI/src/com/android/incallui/BaseFragment.java @@ -29,9 +29,9 @@ public abstract class BaseFragment<T extends Presenter<U>, U extends Ui> extends private T mPresenter; - abstract T createPresenter(); + public abstract T createPresenter(); - abstract U getUi(); + public abstract U getUi(); protected BaseFragment() { mPresenter = createPresenter(); |