Skip to content

Commit

Permalink
Updated UserAgent string with latest gp version
Browse files Browse the repository at this point in the history
Signed-off-by: Domenico Iezzi <[email protected]>
  • Loading branch information
Domenico Iezzi committed Oct 13, 2017
1 parent 5d92b6d commit ed2d658
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions gpapi/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ def getDevicesReadableNames():


def getUserAgent():
return "Android-Finsky/7.1.15 (" \
"api=3" \
",versionCode={versionCode}" \
",sdk={sdk}" \
",device={device}" \
",hardware={hardware}" \
",product={product}".format(versionCode=device['vending.version'],
sdk=device['build.version.sdk_int'],
device=device['build.device'],
hardware=device['build.hardware'],
product=device['build.product'])
return ("Android-Finsky/8.1.72.S-all [6] [PR] 165478484 ("
"api=3"
",versionCode={versionCode}"
",sdk={sdk}"
",device={device}"
",hardware={hardware}"
",product={product}").format(versionCode=device['vending.version'],
sdk=device['build.version.sdk_int'],
device=device['build.device'],
hardware=device['build.hardware'],
product=device['build.product'])


def getDeviceConfig():
Expand Down

0 comments on commit ed2d658

Please sign in to comment.