You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
PackageManager: hasSystemFeature: report that we support full multitouch
This commit is contained in:
@@ -2118,8 +2118,13 @@ public class PackageManager {
|
|||||||
* false.
|
* false.
|
||||||
*/
|
*/
|
||||||
public boolean hasSystemFeature(String name) {
|
public boolean hasSystemFeature(String name) {
|
||||||
Slog.e(TAG, "!!!!!!! hasSystemFeature: case >" + name + "< is not implemented yet");
|
switch (name) {
|
||||||
return false; // FIXME
|
case "android.hardware.touchscreen.multitouch.distinct":
|
||||||
|
return true;
|
||||||
|
default:
|
||||||
|
Slog.e(TAG, "!!!!!!! hasSystemFeature: case >" + name + "< is not implemented yet");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user