These constructors are currently very intertwined, passing `this` references from the constructor of one to the constructor of another before the first constructor is complete (and so the `this` reference isn't really valid yet). This change uses checker framework `@UnderInitialization` and `@NotOnlyInitialized` annotations to make it more clear that the references are not available yet. For the one 'direct' access needed in the second constructor (calling `getApplicationLooper()`) we now pass the `applicationLooper` directly alongside (to avoid needing to dereference the reference 'too early'). This change also ensures that where a class hierarchy has a 'dependent' class hierarchy, the 'subclass' instance is always used (by both subclass and superclass) without casting or manually hiding the superclass field, by defining an overridable `getFoo()` method instead and always using it. #minor-release PiperOrigin-RevId: 462335043
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BitmapLoader.java | Loading commit data... | |
| CommandButton.java | Loading commit data... | |
| ConnectedControllersManager.java | Loading commit data... | |
| ConnectionRequest.java | Loading commit data... | |
| ConnectionState.java | Loading commit data... | |
| DefaultActionFactory.java | Loading commit data... | |
| DefaultMediaNotificationProvider.java | Loading commit data... | |
| LibraryResult.java | Loading commit data... | |
| MediaBrowser.java | Loading commit data... | |
| MediaBrowserImplBase.java | Loading commit data... | |
| MediaBrowserImplLegacy.java | Loading commit data... | |
| MediaConstants.java | Loading commit data... | |
| MediaController.java | Loading commit data... | |
| MediaControllerHolder.java | Loading commit data... | |
| MediaControllerImplBase.java | Loading commit data... | |
| MediaControllerImplLegacy.java | Loading commit data... | |
| MediaControllerStub.java | Loading commit data... | |
| MediaLibraryService.java | Loading commit data... | |
| MediaLibraryServiceLegacyStub.java | Loading commit data... | |
| MediaLibrarySessionImpl.java | Loading commit data... | |
| MediaNotification.java | Loading commit data... | |
| MediaNotificationManager.java | Loading commit data... | |
| MediaSession.java | Loading commit data... | |
| MediaSessionImpl.java | Loading commit data... | |
| MediaSessionLegacyStub.java | Loading commit data... | |
| MediaSessionService.java | Loading commit data... | |
| MediaSessionServiceLegacyStub.java | Loading commit data... | |
| MediaSessionStub.java | Loading commit data... | |
| MediaStyleNotificationHelper.java | Loading commit data... | |
| MediaUtils.java | Loading commit data... | |
| PlayerInfo.java | Loading commit data... | |
| PlayerWrapper.java | Loading commit data... | |
| QueueTimeline.java | Loading commit data... | |
| SequencedFutureManager.java | Loading commit data... | |
| SessionCommand.java | Loading commit data... | |
| SessionCommands.java | Loading commit data... | |
| SessionPositionInfo.java | Loading commit data... | |
| SessionResult.java | Loading commit data... | |
| SessionToken.java | Loading commit data... | |
| SessionTokenImplBase.java | Loading commit data... | |
| SessionTokenImplLegacy.java | Loading commit data... | |
| SimpleBitmapLoader.java | Loading commit data... | |
| package-info.java | Loading commit data... |