Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36810

Android: Remove direct use of Action strings, use dynamic lookup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.3.0
    • 5.3.0
    • None
    • Android

      The Bluetooth for Android port uses a lot of actions which are defined as static final String. Currently the strings are directly used. There is no guarantee that strings don't change. Therefore the static fields should rather be used.

      This requires some caching to avoid too much performance drain.

      This was highlighted by:
      https://codereview.qt-project.org/#patch,sidebyside,77809,4,src/bluetooth/android/devicediscoverybroadcastreceiver.cpp

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ablasche Alex Blasche
            ablasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes