Closed Bug 2030410 Opened 2 months ago Closed 1 month ago

[IPProtection] Refactor IPProtectionHandler.StateInfo from using Int to enum

Categories

(Firefox for Android :: Privacy, enhancement)

All
Android
enhancement

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: mavduevskiy, Assigned: mavduevskiy)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.

brought up during review

consider refactoring MenuItem status enums as well, from this discussion

synced with Tom, a draft of the approach from the sync session

            // NOT AUTHORISED
            const val PROXY_STATE_NOT_READY = 0
            // AUTHORISED
            const val PROXY_STATE_READY = 1
            // ACTIVATING
            const val PROXY_STATE_ACTIVATING = 2
            // ACTIVE
            const val PROXY_STATE_ACTIVE = 3
            const val PROXY_STATE_ERROR = 4
            // DATA LIMIT REACHED
            const val PROXY_STATE_PAUSED = 5
Blocks: 2022109
Assignee: nobody → mavduevskiy

Work in progress

Attachment #9576043 - Attachment description: WIP: Bug 2030410 - Refactor IPProtection state → Bug 2030410 - Refactor IPProtection state
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: