  }
  
  static void navigate_to_settings(UIState *s) {
  #ifdef QCOM
    system("am broadcast -a 'ai.comma.plus.SidebarSettingsTouchUpInside'");
  #else
    // computer UI doesn't have offroad settings
  #endif
  }
 
</s> remove       system("service call window 18 i32 0");  // disable event processing
 </s> add  </s> remove       system("service call window 18 i32 1");  // enable event processing
 </s> add 
  enable_event_processing(true);
  }
  
  static void navigate_to_settings(UIState *s) {
  #ifdef QCOM
  enable_event_processing(true);
    system("am broadcast -a 'ai.comma.plus.SidebarSettingsTouchUpInside'");
  #else
    // computer UI doesn't have offroad settings
  #endif
  }
keep keep keep add keep keep keep keep keep
 fix offroad processing events in bg (#1266)

* fix offroad processing events in bg

* first run of ui

* actually, we don't need that at all

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/ui/ui.cc