Skip to content

Conversation

@andhikayuana
Copy link
Contributor

@andhikayuana andhikayuana commented Apr 5, 2025

kcw-grunt and others added 5 commits March 31, 2025 17:57
This reverts commit 4e252ac.

# Conflicts:
#	app/src/main/java/com/brainwallet/tools/manager/APIManager.kt
This reverts commit 4e252ac.

# Conflicts:
#	app/src/main/java/com/brainwallet/tools/manager/APIManager.kt
@andhikayuana andhikayuana self-assigned this Apr 5, 2025
@andhikayuana andhikayuana requested review from josikie and kcw-grunt and removed request for kcw-grunt April 7, 2025 03:49
@andhikayuana andhikayuana marked this pull request as ready for review April 7, 2025 03:50
@kcw-grunt
Copy link
Collaborator

👀 @andhikayuana

@josikie
Copy link
Collaborator

josikie commented Apr 7, 2025

🚀👀👀

josikie
josikie previously approved these changes Apr 7, 2025
Copy link
Collaborator

@josikie josikie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks! @andhikayuana

I have some questions, I'm curious

private static final long SYNC_PERIOD = TimeUnit.HOURS.toMillis(24);
private static SyncProgressTask syncTask;
public boolean running;
public volatile boolean running;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does it get name volatile?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in short, the change is immediately visible to other threads.

https://www.w3schools.com/java/ref_keyword_volatile.asp

@Before
fun setUp() {
apiManager = spyk(APIManager(remoteConfigSource), recordPrivateCalls = true)
apiManager = spyk(BRApiManager(remoteConfigSource), recordPrivateCalls = true)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is Spyke function, and how does it work?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@kcw-grunt kcw-grunt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok for currrent users but there is a critical issue so that second PIN entry doesnt doesnt dimiss the view

@kcw-grunt
Copy link
Collaborator

kcw-grunt commented Apr 7, 2025

Looks ok for currrent users but there is a critical issue so that second PIN entry doesnt doesnt dimiss the view
Hey @andhikayuana :

Please see:

Emulator (Pixel 6a)
pin not dismissing
Redmi A3 Screen Record
pin not dismissing-redmiA3

@andhikayuana
Copy link
Contributor Author

Looks ok for currrent users but there is a critical issue so that second PIN entry doesnt doesnt dimiss the view
Hey @andhikayuana :

Please see:

Emulator (Pixel 6a)
pin not dismissing
Redmi A3 Screen Record
pin not dismissing-redmiA3

sure, will check it later

Copy link
Collaborator

@kcw-grunt kcw-grunt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andhikayuana
Copy link
Contributor Author

LGTM @andhikayuana

thank you!

@kcw-grunt kcw-grunt merged commit 4ed8af3 into develop Apr 8, 2025
1 check failed
@kcw-grunt kcw-grunt deleted the hotfix/api-manager-fix branch April 8, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants