OSDN Git Service

Sensor: use FlattenableUtils::align
authorSteven Moreland <smoreland@google.com>
Tue, 8 Oct 2019 00:30:23 +0000 (17:30 -0700)
committerSteven Moreland <smoreland@google.com>
Tue, 8 Oct 2019 00:30:23 +0000 (17:30 -0700)
commitd58cf5acb863eddbbeb9982439965e259045940e
tree9e0c8f5ad1593156b7de836dcaf3c021e0f828ee
parentadbb90baf6164ef7a0ee16b387abfd61a9673f6d
Sensor: use FlattenableUtils::align

Since it memsets skipped over memory now.

Bug: 141890807
Test: boot, check buffer is zero'd here
Change-Id: Ieb3cd90215a3ccc1dc43365ecde251a50db08553
libs/sensor/Sensor.cpp