Localhost Url fails to change brightness after enrollmentSolved

Participant
Discussion
2 months ago

Hi,

We’ve enrolled our Android device via android enterprise device owner and installed our custom app, which controls device brightness through a localhost Api.

Prior to enrollment, the app functioned correctly and could both read and set brightness levels via this url. However, once the device is enrolled in hexnode, brightness changes via the localhost Api no longer take effect. Interestingly, if the brightness is changed manually from the device settings, our app can still detect the updated value.

To be sure it wasn’t a policy issue, we removed all policies from the device, took it out of kiosk, and manually reinstalled the app. Even then, the issue persisted

Could Device owner mode or hexnode be blocking or interfering with localhost communication?

Replies (4)

Marked SolutionPending Review
Participant
2 months ago
Marked SolutionPending Review

That’s interesting. I don’t think Hexnode actually blocks localhost URLs. Those are internal, right? I don’t think they go through anything like web filtering. Also, if i am sure Hexnode’s web content filtering only works on Knox devices, and even then, it’s meant for external websites, not localhost. 

Also, you mentioned brightness. I think Hexnode can actually control that without needing a separate app. I’ve done it before using the portal. Might be worth trying that out in the meantime.

Marked SolutionPending Review
Participant
2 months ago
Marked SolutionPending Review

Oh really? I didn’t know that. I haven’t come across any brightness setting in the policies or remote actions for Android. If that works, it could help with our needs for now.

Marked SolutionPending Review
Participant
2 months ago
Marked SolutionPending Review

Yeah, the brightness setting is part of the peripheral settings under the Android kiosk section. If you configure the device in kiosk mode, you’ll find an option to set the brightness level there.

Marked SolutionPending Review
Participant
2 months ago
Marked SolutionPending Review

Got it, thank you! I’ll try out the Peripheral settings for now.

Save