LG-VX code cleanup
Nathan Hjelm <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
This patch attempts to tackle the problems created by the increasing number of phones which need DM for file access. I collected the DM code into the VX-8500 module and changed the inheritance of the VX-9800. I see this patch as a temporary fix and suggest that the DM code might best be collected into its own module. Changes: com_lgvx4400: - Defined getgroups method. - Modified getfundamentals to use the getgroups and get_esn methods. com_lgvx5300, com_lgvx8100, com_lgvx8300, com_lgvx8500, com_lgvx8700, com_lgvx9800: - The getfundamentals methods in these modules did not differ from the method inherited from the com_lgvx4400 module. I removed the duplicate code. com_lgvx5300: - Changed parent phone to the VX-8300 to inherit common code. - Removed repeated code. com_lgvx8500: - Changed when DM mode is entered. All phones that need to be in DM will now enter DM when file access is requested (read/write/stat). This change serves two purposes: 1) phone will always be in DM mode when a file is read/written, and 2) since it the VX-9400 appears to drop out of DM after a short while we may need to re-enter DM on any file access (this behavior needs to be verified). - Modified DM code to eliminate repeated code between the VX-8500, VX-8700, VX-9400, and VX-9900. - Added bluetooth ID for the VX-8500, VX-8600, VX-8700, and VX-9400. com_lgvx9400: - Fixed wallpaper sizes. com_lgvx8700: - Fixed wallpaper sizes. - Removed repeated code. - Enter DM on file access. com_lgvx9800: - Removed repeated code. - Inherit from the VX-8500 for DM mode on the VX-9900. com_lgvx9900: - DM mode v5 for T9VZV02. This has been verified to work. Initial LG VX-9400 support is also included with this patch.  -Nathan Hjelm ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ BitPim-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bitpim-devel