| commit | 0b41512a2ea3d5fbb2b82841557a96417398c398 | [log] [tgz] |
|---|---|---|
| author | Badhri Jagan Sridharan <badhri@google.com> | Fri Oct 10 23:19:06 2014 -0700 |
| committer | Elliott Hughes <enh@google.com> | Mon Feb 02 16:21:05 2015 -0800 |
| tree | 381db0232c00e524127d236191a5d13c1df2e4a7 | |
| parent | a73774e62e09c8e27039d3f8a5f1f842a0df740a [diff] |
init: Add support "&&" operator in property triggers
"&&" operator can now be used to test the validity
of two of more properties.
For example:
on property:test.a=1 && property:test.b=1
setprop test.c 1
The above stub sets the test.c to 1 only when
both test.a=1 and test.b=1
(cherry-pick of 162f7d797c67019a7a3f08c3b0f0ffc91d548ddc.)
Change-Id: I72c19f7aa92231372a416193618ee6c7fd368141
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>