OSDN Git Service

support chinese character for ota package's path
authoraquanox <aquanox@163.com>
Fri, 1 Sep 2017 17:49:50 +0000 (01:49 +0800)
committeraquanox <aquanox@163.com>
Tue, 5 Sep 2017 16:41:21 +0000 (16:41 +0000)
commitb80c3cd1cff815d3d08a0996d7f73ca09f6e9032
treebb6442657b20c1e064789d96f523ebb3cb823358
parentd8f298365a34d91340030ef81acc18fdf128fd01
support chinese character for ota package's path

It had been tested work well for both english characters
and chinese english misc characters.
Because utf-8 is supported in recovery mode, so
if we stored message by utf-8 encoding, we can
handle non-ascii character for ota packages's path.

Change-Id: I19555dc75640bbfd481f23009bff511c07ae0bdb
Signed-off-by: aquanox <aquanox@163.com>
services/core/java/com/android/server/RecoverySystemService.java