19fb4df8fe
Better formatting, shorter code, adding read_switchable_filter_type function. Change-Id: Ib919b529385cae34c2d682b1c3093518b6942fc1