VulpesOS/gaia/apps/system/test/unit/mock_task_manager.js
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

15 lines
329 B
JavaScript
Executable file

/* exported MockTaskManager */
'use strict';
function MockTaskManager() {
this.is_shown = false;
}
MockTaskManager.prototype = {
isActive: function() {},
start: function() {},
show: function() { this.is_shown = true; },
hide: function() { this.is_shown = false; },
isShown: function() { return this.is_shown; }
};