Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e00898b5 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Also look at ro.product.board." into gingerbread

parents 27c58f48 2e71abe7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -88,8 +88,8 @@ class EdifyGenerator(object):
  def AssertDevice(self, device):
    """Assert that the device identifier is the given string."""
    cmd = ('assert(' + 
           ' || \0'.join(['getprop("ro.product.device") == "%s" || getprop("ro.build.product") == "%s"'
                         % (i, i) for i in device.split(",")]) + 
           ' || \0'.join(['getprop("ro.product.device") == "%s" || getprop("ro.build.product") == "%s" || getprop("ro.product.board") == "%s"'
                         % (i, i, i) for i in device.split(",")]) + 
           ');')
    self.script.append(self._WordWrap(cmd))