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 95c7594d6d2d14368abd0235351ca5e1bd413718..7083116de28b1be1dd243b8e73688e2d67cafa6d 100644 |
--- a/chrome/browser/chromeos/note_taking_helper.cc |
+++ b/chrome/browser/chromeos/note_taking_helper.cc |
@@ -148,7 +148,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, |