Define a constant Sliceable#NO_RES for no resource cases

Fix: 204733076
Test: build
Change-Id: Ifa3b9db0e915a3ec056ad68a9a1862811594d423
This commit is contained in:
Jason Chiu
2021-11-03 12:18:39 +08:00
parent 6821b6be32
commit 9fc0f18181
11 changed files with 21 additions and 14 deletions

View File

@@ -68,7 +68,7 @@ public abstract class TelephonyTogglePreferenceController extends TogglePreferen
@Override
public int getSliceHighlightMenuRes() {
// not needed since it's not sliceable
return 0;
return NO_RES;
}
/**