Loading
appops: Fix an off-by-one error that causes the location icon to stay on
Commit bdfde4fc added Bluetooth AppOps capabilities, but it contained a subtle bug where the string representation was added in the wrong place, offseting every operation after it by 1. This broke the toString functionality but didn't have any consequence since this was used for logging purposes only. Commit b01b0892 changed AppOps so that operations are persisted by name instead of by index, this caused the string representation offset to affect functionality and, among other things, one of the consequences was that coarse location requests were being interpreted by AppOps as high-energy location requests. Change-Id: I319f1ac1c5910098689b4cb8645eb92c0e3538cb