From 56918509c7f4f8ec021de897a732b4bc4859c0b0 Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Wed, 20 Apr 2016 18:36:18 -0700 Subject: [PATCH] Remove obsolete TODO Change-Id: Ia76b7f1cea0799c46ae5c933741c865869e39f5f Fixes: 27550895 --- .../android/systemui/classifier/HumanInteractionClassifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/classifier/HumanInteractionClassifier.java b/packages/SystemUI/src/com/android/systemui/classifier/HumanInteractionClassifier.java index 5e35d76f24f03..851ab77188205 100644 --- a/packages/SystemUI/src/com/android/systemui/classifier/HumanInteractionClassifier.java +++ b/packages/SystemUI/src/com/android/systemui/classifier/HumanInteractionClassifier.java @@ -67,7 +67,7 @@ public class HumanInteractionClassifier extends Classifier { // If the phone is rotated to landscape, the calculations would be wrong if xdpi and ydpi // were to be used separately. Due negligible differences in xdpi and ydpi we can just // take the average. - // TODO: make this respect DPI changes. + // Note that xdpi and ydpi are the physical pixels per inch and are not affected by scaling. mDpi = (displayMetrics.xdpi + displayMetrics.ydpi) / 2.0f; mClassifierData = new ClassifierData(mDpi); mHistoryEvaluator = new HistoryEvaluator();