1. 18 Oct, 2016 5 commits
  2. 05 Oct, 2016 2 commits
  3. 04 Oct, 2016 1 commit
    • spiiroin's avatar
      [usb-moded] Add mtp_mode-android-ffs configuration. JB#27650 · d580e69c
      spiiroin authored
      Existing configuration files do not cover case where android kernel
      is used to implement just mtp functionality using ffs based userspace
      code - mtp_mode-android uses "mtp" instead of "ffs" and pc_suite-android
      activates both mtp and obex support.
      
      Add mtp_mode-android-ffs.ini that is identical with pc_suite-android.ini
      except for the mode name which is "mtp" instead of "pc_suite".
      d580e69c
  4. 07 Jul, 2016 25 commits
  5. 11 May, 2016 3 commits
  6. 04 May, 2016 2 commits
  7. 29 Apr, 2016 1 commit
    • spiiroin's avatar
      [dbus] Handle missing mode setting gracefully. Fixes MER#1576 · 1aadb958
      spiiroin authored
      If usb mode setting is not present in usb-moded.ini and override is not
      specified in kernel command line, get_mode_setting() will return null.
      The handler for "get_config" D-Bus method call does not check the return
      value and using the null value triggers abort from sanity checks at
      libdbus. Attempting to pass NULL as string via D-Bus causes abort.
      
      Use MODE_UNDEFINED as fallback in case the setting value is not defined.
      
      Also remove potential memory leaks in the code used for determining the
      mode setting value and use correct function for releasing the resulting
      dynamically allocated string.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      1aadb958
  8. 27 Apr, 2016 1 commit