Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20037

Wrong Ti.Android.currentActivity in `open` handler

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.2.0
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Ti SDK 5.0.2

      Description

      currentActivity must be same with current window activity but it correspond to root app activity.

      function windowOpened(evt) {    
      	Ti.API.debug('Main window opened', evt.source.getActivity() === Ti.Android.currentActivity);
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ybanev Yordan Banev
                Reporter:
                falko Andrey Tkachenko
                Reviewer:
                Yordan Banev
                Tester:
                Abir Mukherjee
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20712
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code