From efe91971cbb687f72e4914530bd7abe96e8f6f8b Mon Sep 17 00:00:00 2001 From: roldenburg Date: Wed, 13 Dec 2017 17:14:12 -0800 Subject: Take user to install Duo if they tap "Set up" without the app installed Bug: 70034799 Test: DuoImplTest, GoogleCallLogAdapterTest PiperOrigin-RevId: 178981398 Change-Id: Id524dfe61bf3a2358d863dd8d5f7c6c083b8063c --- java/com/android/dialer/duo/Duo.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'java/com/android/dialer/duo/Duo.java') diff --git a/java/com/android/dialer/duo/Duo.java b/java/com/android/dialer/duo/Duo.java index 5f49e3e7e..d9147844f 100644 --- a/java/com/android/dialer/duo/Duo.java +++ b/java/com/android/dialer/duo/Duo.java @@ -33,6 +33,9 @@ public interface Duo { /** @return true if the Duo integration is enabled on this device. */ boolean isEnabled(@NonNull Context context); + /** @return true if Duo is installed on this device. */ + boolean isInstalled(@NonNull Context context); + /** * @return true if Duo is installed and the user has gone through the set-up flow confirming their * phone number. -- cgit v1.2.3