diff options
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c index 7af4cca37e..dd1f60a849 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -76,6 +76,9 @@ | |||
76 | #include "skin_engine/skin_engine.h" | 76 | #include "skin_engine/skin_engine.h" |
77 | #include "statusbar-skinned.h" | 77 | #include "statusbar-skinned.h" |
78 | #include "bootchart.h" | 78 | #include "bootchart.h" |
79 | #if defined(APPLICATION) && (CONFIG_PLATFORM & PLATFORM_ANDROID) | ||
80 | #include "notification.h" | ||
81 | #endif | ||
79 | 82 | ||
80 | #ifdef IPOD_ACCESSORY_PROTOCOL | 83 | #ifdef IPOD_ACCESSORY_PROTOCOL |
81 | #include "iap.h" | 84 | #include "iap.h" |
@@ -333,11 +336,11 @@ static void init_tagcache(void) | |||
333 | 336 | ||
334 | static void init(void) | 337 | static void init(void) |
335 | { | 338 | { |
339 | system_init(); | ||
340 | kernel_init(); | ||
336 | #ifdef APPLICATION | 341 | #ifdef APPLICATION |
337 | paths_init(); | 342 | paths_init(); |
338 | #endif | 343 | #endif |
339 | system_init(); | ||
340 | kernel_init(); | ||
341 | buffer_init(); | 344 | buffer_init(); |
342 | enable_irq(); | 345 | enable_irq(); |
343 | lcd_init(); | 346 | lcd_init(); |
@@ -351,6 +354,9 @@ static void init(void) | |||
351 | #if (CONFIG_PLATFORM & PLATFORM_SDL) | 354 | #if (CONFIG_PLATFORM & PLATFORM_SDL) |
352 | sim_tasks_init(); | 355 | sim_tasks_init(); |
353 | #endif | 356 | #endif |
357 | #if (CONFIG_PLATFORM & PLATFORM_ANDROID) | ||
358 | notification_init(); | ||
359 | #endif | ||
354 | lang_init(core_language_builtin, language_strings, | 360 | lang_init(core_language_builtin, language_strings, |
355 | LANG_LAST_INDEX_IN_ARRAY); | 361 | LANG_LAST_INDEX_IN_ARRAY); |
356 | #ifdef DEBUG | 362 | #ifdef DEBUG |