spelling: preexisting

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 11:09:44 -05:00
parent 815e361d75
commit 8ca8cffcc3
2 changed files with 5 additions and 5 deletions

View file

@ -405,8 +405,8 @@ static void prv_is_ancs_alive_cb(void *data) {
}
// -----------------------------------------------------------------------------
//! With iOS 8.2 the pre-existing flag seems to be broken. Don't allow notifications for a bit after
//! reconnection so that all the "real" pre-existing notification don't come through again.
//! With iOS 8.2 the preexisting flag seems to be broken. Don't allow notifications for a bit after
//! reconnection so that all the "real" preexisting notification don't come through again.
static RegularTimerInfo s_notification_connection_delay_timer;
static bool s_just_connected = false;
@ -893,9 +893,9 @@ static void prv_handle_ns_notification(uint32_t length, const uint8_t *notificat
// Handle the EventID
switch (nsnotification->event_id) {
case EventIDNotificationAdded:
// In iOS 8.2 several apps (especially mail.app) seem to be setting the pre-existing flag
// In iOS 8.2 several apps (especially mail.app) seem to be setting the preexisting flag
// when they shouldn't. This appeared to be fixed in iOS 9 beta 1.
// By skipping the pre-existing check we will re-recieve all the notifications
// By skipping the preexisting check we will re-recieve all the notifications
// we got in the past 2 hours. To get past this ignore notifications for the first couple
// seconds after connecting
if (s_just_connected && (nsnotification->event_flags & EventFlagPreExisting)) {

View file

@ -90,7 +90,7 @@ void hrm_manager_handle_prefs_changed(void);
//! This should not be used by KernelBG or KernelMain clients. For KernelBG client subscriptions,
//! please see \ref hrm_manager_subscribe_with_callback. KernelMain clients are not yet supported.
//! If the app/worker is already subscribed, this will update the subscription based on the passed
//! in arguments and return the pre-existing HRMSessionRef.
//! in arguments and return the preexisting HRMSessionRef.
//! @param app_id the application's AppInstallId
//! @param update_interval_s requested update interval
//! @param expire_s after this many seconds, this subscription will automatically expire