diff options
author | Yorke Lee <yorkelee@google.com> | 2015-10-12 10:03:07 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-10-12 15:57:44 -0700 |
commit | 807afd8a39366b7423eacd83fb18bff2ba7a0422 (patch) | |
tree | 6f8c1638026f948f670a4739e4a9da5adbd3c0b2 /src/com/android/dialerbind/ObjectFactory.java | |
parent | f49c817d525ca3f3a85ccea10f8e94d397c7feb5 (diff) |
Move capability checker out of RegularSearchFragment
AOSP Dialer does not care about having location enabled,
so move the relevant code out into a separate fragment
Bug: 24172011
Change-Id: I7c29ba4ed8e3fb0a600360c10e9c9fdd6d543b1f
Diffstat (limited to 'src/com/android/dialerbind/ObjectFactory.java')
-rw-r--r-- | src/com/android/dialerbind/ObjectFactory.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/dialerbind/ObjectFactory.java b/src/com/android/dialerbind/ObjectFactory.java index c64afe83a..a1753fab3 100644 --- a/src/com/android/dialerbind/ObjectFactory.java +++ b/src/com/android/dialerbind/ObjectFactory.java @@ -65,4 +65,8 @@ public class ObjectFactory { // no-op return null; } + + public static RegularSearchFragment newRegularSearchFragment() { + return new RegularSearchFragment(); + } } |