Index: chrome/browser/chromeos/note_taking_helper.cc |
diff --git a/chrome/browser/chromeos/note_taking_helper.cc b/chrome/browser/chromeos/note_taking_helper.cc |
index d39ca6cf5f6406d2e048eb4384144e268db61a02..d67e2729aed47199b468f7580edf44e9b66caaee 100644 |
--- a/chrome/browser/chromeos/note_taking_helper.cc |
+++ b/chrome/browser/chromeos/note_taking_helper.cc |
@@ -151,7 +151,8 @@ void NoteTakingHelper::SetPreferredApp(Profile* profile, |
bool NoteTakingHelper::IsAppAvailable(Profile* profile) { |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
DCHECK(profile); |
- return ash::IsPaletteFeatureEnabled() && !GetAvailableApps(profile).empty(); |
+ return ash::palette_utils::HasStylusInput() && |
+ !GetAvailableApps(profile).empty(); |
} |
void NoteTakingHelper::LaunchAppForNewNote(Profile* profile, |