mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-12 18:11:57 +01:00
9bfef4cf4f
This allows to construct per-device settings by device type very easily device coordinators just do the following to declare which setting they support, the settings activity is then composed at runtime. @Override public int[] getSupportedDeviceSpecificSettings(GBDevice device) { return new int[]{ R.xml.devicesettings_miband3, R.xml.devicesettings_swipeunlock, R.xml.devicesettings_pairingkey }; } |
||
---|---|---|
.. | ||
activities | ||
adapter | ||
contentprovider | ||
database | ||
deviceevents | ||
devices | ||
entities | ||
export | ||
externalevents | ||
impl | ||
model | ||
service | ||
util | ||
GBApplication.java | ||
GBEnvironment.java | ||
GBException.java | ||
LockHandler.java | ||
Logging.java | ||
LoggingExceptionHandler.java | ||
SleepAlarmWidget.java |