From: Jan Ekström Date: Tue, 11 Nov 2014 12:15:47 +0000 (+0200) Subject: config: fix inverted bit field check for a flag X-Git-Tag: accepted/tizen/ivi/20150112.012920~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=282db9de61a6d3e017a0e1806e65be43f317ac08;p=profile%2Fivi%2Fmurphy.git config: fix inverted bit field check for a flag Change-Id: I5085df0ee69d1437f1a79b60b2994c1b3e116fd9 --- diff --git a/packaging.in/murphy.lua b/packaging.in/murphy.lua index 8c7e68b..552b309 100644 --- a/packaging.in/murphy.lua +++ b/packaging.in/murphy.lua @@ -1726,8 +1726,10 @@ if sc then local time = 200 if msg.arg.anim_time then local t = msg.arg.anim_time + -- the actual time for the animation time = m:AND(t, time_mask) - nores = not m:AND(t, nores_mask) + -- flag for ignoring resource control + nores = m:AND(t, nores_mask) if m:AND(t, raise_mask) then msg.arg.raise = 1 elseif m:AND(t, lower_mask) then @@ -1770,8 +1772,10 @@ if sc then local time = 200 if msg.arg.anim_time then local t = msg.arg.anim_time + -- the actual time for the animation time = m:AND(t, time_mask) - nores = not m:AND(t, nores_mask) + -- flag for ignoring resource control + nores = m:AND(t, nores_mask) end if msg.arg.anim_name then a.hide = { msg.arg.anim_name, time }