policy: bugfix -> get const data instead non-const 07/244107/1
authorAdrian Szyndela <adrian.s@samsung.com>
Mon, 14 Sep 2020 11:04:25 +0000 (13:04 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Tue, 15 Sep 2020 06:02:31 +0000 (08:02 +0200)
commita9ebf27841be1223bb35abfd9d72ff0ee16fae87
tree27ae57bbb84ae6cff5236952a2dd1ad85de8af89
parentd52db58b034883fcc08dd52de4ad1e310d205b44
policy: bugfix -> get const data instead non-const

Get const data instead of non-const data for constant strings.
It triggered asserts when they are enabled, although the underlying
production code is the same.

Change-Id: Ic7102b6601ca168e6bf5f6902988a06c6ab76f03
bus/policy.c