Commit 76f4ecb4 authored by android's avatar android Committed by Shreerag Jayakrishnan
Browse files

Compare only 20 characters when find label on watch



On small screen devices, such as watch,
the last characters on permission lable will be omitted with ...
for example SMS, MMS.
If compare the full strings to call findByText,
the node will not be found.

When applying this patch, the case
android.appsecurity.cts.PermissionsHostTest#testNoResidualPermissionsOnUninstall
of module CtsAppSecurityHostTestCases will be passed.

Bug: 140327294

Change-Id: I798843be3b4d621c9531c42695db15284e544759
Signed-off-by: default avatarhuxiandong <huxiandong@xiaomi.com>
parent b1b1c4e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment