Merge "Remove obsolete TODO" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
568e63bc9b
@@ -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
|
// 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
|
// were to be used separately. Due negligible differences in xdpi and ydpi we can just
|
||||||
// take the average.
|
// 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;
|
mDpi = (displayMetrics.xdpi + displayMetrics.ydpi) / 2.0f;
|
||||||
mClassifierData = new ClassifierData(mDpi);
|
mClassifierData = new ClassifierData(mDpi);
|
||||||
mHistoryEvaluator = new HistoryEvaluator();
|
mHistoryEvaluator = new HistoryEvaluator();
|
||||||
|
|||||||
Reference in New Issue
Block a user