Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[ios] fixed, add syslog messages when system/frontrow kills us so we …

…can better debug user logs
  • Loading branch information...
commit 9805cfa995c01c6216b3a673855fcbe40d10d6ef 1 parent 010b6d6
@davilla davilla authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 xbmc/osx/atv2/XBMCController.mm
View
5 xbmc/osx/atv2/XBMCController.mm
@@ -317,7 +317,7 @@ - (void)controlWasActivated
- (void)controlWasDeactivated
{
- //NSLog(@"%s", __PRETTY_FUNCTION__);
+ NSLog(@"XBMC was forced by FrontRow to exit via controlWasDeactivated");
[m_glView stopAnimation];
@@ -654,6 +654,9 @@ - (void)observeDefaultCenterStuff: (NSNotification *) notification
{
//NSLog(@"default: %@", [notification name]);
+ if ([notification name] == UIApplicationDidReceiveMemoryWarningNotification)
+ NSLog(@"XBMC: %@", [notification name]);
+
//if ([notification name] == kBRScreenSaverActivated)
// [m_glView stopAnimation];
Please sign in to comment.
Something went wrong with that request. Please try again.