chore: Cleanup, and hidden feature logged

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach
2025-10-04 23:03:42 +07:00
parent 5180c3d4c4
commit 11f7abcb66
1818 changed files with 104955 additions and 147858 deletions
@@ -61,17 +61,21 @@ public interface BcSmartspaceDataPlugin extends Plugin {
throw new UnsupportedOperationException("Not implemented by " + getClass());
}
/** Sets the event dispatcher for smart space targets. */
void setEventDispatcher(SmartspaceEventDispatcher eventDispatcher);
/** Register a SmartspaceEventNotifier. */
default void registerSmartspaceEventNotifier(SmartspaceEventNotifier notifier) {
throw new UnsupportedOperationException("Not implemented by " + getClass());
}
/**
* Overrides how Intents/PendingIntents gets launched. Mostly to support auth from
* the lockscreen.
*/
void setIntentStarter(IntentStarter intentStarter);
/** Push a SmartspaceTargetEvent to the SmartspaceEventNotifier. */
default void notifySmartspaceEvent(SmartspaceTargetEvent event) {
throw new UnsupportedOperationException("Not implemented by " + getClass());
}
/** Returns the smartspace event notifier */
SmartspaceEventNotifier getEventNotifier();
/** Allows for notifying the SmartspaceSession of SmartspaceTargetEvents. */
interface SmartspaceEventNotifier {
/** Pushes a given SmartspaceTargetEvent to the SmartspaceSession. */
void notifySmartspaceEvent(SmartspaceTargetEvent event);
}
/**
* Create a view to be shown within the parent. Do not add the view, as the parent
@@ -167,6 +171,12 @@ public interface BcSmartspaceDataPlugin extends Plugin {
*/
default void setKeyguardBypassEnabled(boolean enabled) {}
/**
* Overrides how Intents/PendingIntents gets launched. Mostly to support auth from
* the lockscreen.
*/
void setIntentStarter(IntentStarter intentStarter);
/**
* When on the lockscreen, use the FalsingManager to help detect errant touches
*/
@@ -249,19 +259,6 @@ public interface BcSmartspaceDataPlugin extends Plugin {
void startPendingIntent(View v, PendingIntent pi, boolean showOnLockscreen);
}
/** SmartspaceEventDispatcher which also controls controlling intent launching behavior */
interface SmartspaceEventNotifier extends SmartspaceEventDispatcher {
/** The intent starter for controlling activity launches */
@Nullable IntentStarter getIntentStarter();
}
/** Allows for notifying the SmartspaceSession of SmartspaceTargetEvents. */
interface SmartspaceEventDispatcher {
/** Pushes a given SmartspaceTargetEvent to the SmartspaceSession. */
void notifySmartspaceEvent(SmartspaceTargetEvent event);
}
/** Interface for delegating time updates */
interface TimeChangedDelegate {
/** Register the callback to be called when time is updated **/