Hello,
does this number never change even when user has upgraded Android's version?
Android ID will not be changed.
Open the source code that generate the Ssaid(Android ID) getSsaidSettingLocked based on two parameters: a random ID generated on first use to identify a user ID (in multi-users or work profiles), and the app's signing key. If you update android version, these parameters will not be changed.
If user ID is randomized after a factory reset, the app-specific Android ID should be changed.
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.