code: def _patch_magic(self, buffer, orig):
          
          if ("Zip" in orig) or ('(JAR)' in orig) and androconf.is_android_raw(buffer) == 'APK':
              return "Android application package file"
  
          return orig
docs: Overwrite some probably wrong detections by mime libraries
  
          :param buffer: bytes of the file to detect
          :param orig: guess by mime libary
          :returns: corrected guess