Closed AndroidDeveloperLB closed 6 years ago
About this: https://android.googlesource.com/platform/packages/apps/Launcher3/#
Inside the class InvariantDeviceProfile, when you call getPredefinedDeviceProfiles , it returns a list of a single item, and even then, it's faulty:
InvariantDeviceProfile
getPredefinedDeviceProfiles
This causes a "arithmeticexception divide by zero" later, in DeviceProfile class, when the launcher tries to use the countX field, because it's 0 :
DeviceProfile
countX
Please fix this.
Attached here the updated build.gradle file, because the one that's on the repo causes various building issues. build.zip
Oh it's the wrong repository. Sorry.
About this: https://android.googlesource.com/platform/packages/apps/Launcher3/#
Inside the class
InvariantDeviceProfile
, when you callgetPredefinedDeviceProfiles
, it returns a list of a single item, and even then, it's faulty:This causes a "arithmeticexception divide by zero" later, in
DeviceProfile
class, when the launcher tries to use thecountX
field, because it's 0 :Please fix this.