Also fixes bug where DPM flags were set in onPreferenceChanged() which happened before being set on the checkbox preference. Change-Id: I5a43358d02830a22107f1239c596cc1bc67d11a1
Adding a new folder in development/samples is not enough to have it be packaged with the SDK. Make sure to edit development/build/sdk.atree to add the sample to the SDK build.