hidl: livedisplay: Fix reading mode string comparison
authorLuK1337 <priv.luk@gmail.com>
Wed, 10 Jul 2019 08:36:49 +0000 (10:36 +0200)
committerLuK1337 <priv.luk@gmail.com>
Wed, 10 Jul 2019 08:36:49 +0000 (10:36 +0200)
commitbf9997860ef057270a6499c794f49f7eca742b13
tree53e7361d77f8b86f0e999bd58912838aae44a51e
parentfac70594bed3d3bec56b10f0585acd435dac78bd
hidl: livedisplay: Fix reading mode string comparison

* Since we are trimming the string it will
  never match one with trailing space at the end.

Change-Id: Iea76092112555ed8b858560f07ef8e88f0ff593b
lineagehw/hidl/livedisplay/ReadingEnhancement.cpp