Ensure that CommandQueue is a singleton.

Bug: 143844964
Test: atest SystemUITests && manual
Change-Id: Iec19cac45d2096107604d8d8eda80e45cf7f0170
This commit is contained in:
Dave Mankoff
2019-11-05 18:30:15 -05:00
parent 6450a582fa
commit 50cb05b446

View File

@@ -30,6 +30,7 @@ public class StatusBarDependenciesModule {
* Provides our instance of CommandQueue which is considered optional.
*/
@Provides
@Singleton
public CommandQueue provideCommandQueue(Context context) {
return new CommandQueue(context);
}