Add support to clear stored touch calibration pref data
This patch adds support to clear stored touch calibration and association data from display prefs. To achieve this, any and all touch data is cleared from the stored pref before adding new pref values. The system already does this indirectly when it instantiates a new dictionary pref value for the touch data to be stored. However if the touch data map that the system is about to store is empty to begin with, this instantiation of a new dictionary never happens and the change to delete any stale stored touch data fails to propogate. Bug: 925551 Change-Id: I7230e05d0106e87b9223b2b75d2883f2269cf8c5 Component: Display prefs, touch calibration Reviewed-on: https://chromium-review.googlesource.com/c/1437519Reviewed-by:Ahmed Fakhry <afakhry@chromium.org> Commit-Queue: Malay Keshav <malaykeshav@chromium.org> Cr-Commit-Position: refs/heads/master@{#626262}
Showing
Please register or sign in to comment