Skip to content
This repository has been archived by the owner on Feb 25, 2025. It is now read-only.

Commit

Permalink
Makes | platformViewId | large enough to require a long.
Browse files Browse the repository at this point in the history
  • Loading branch information
0xZOne committed Feb 20, 2023
1 parent a081806 commit ccfedc8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ public void getPlatformViewById_hybridComposition() {
public void createPlatformViewMessage_initializesAndroidView() {
PlatformViewsController platformViewsController = new PlatformViewsController();

final long platformViewId = 0L;
// The value is actually large enough to require a long.
final long platformViewId = 0x80000000L;
assertNull(platformViewsController.getPlatformViewById(platformViewId));

PlatformViewFactory viewFactory = mock(PlatformViewFactory.class);
Expand Down

0 comments on commit ccfedc8

Please sign in to comment.