Commit Graph

8 Commits

Author SHA1 Message Date
Adam Cohen
2e6da1539b Refactoring DeviceProfile
-> Pulling out the parts of device profile which can (and need to be)
   initialized and accessed without access to an Activity context,
   ie. the invariant bits.
-> The invariant bits are stored in InvariantDeviceProfile which is
   initialized statically from LauncherAppState.
-> The DeviceProfile contains the Activity context-dependent bits,
   and we will create one of these for each Activity instance, and
   this instance is accessed through the Launcher activity.
-> It's possible that we can continue to refactor this such that
   all appropriate dimensions can be computed without an Activity
   context (by only specifying orientation). This would be an
   extension of this CL and allow us to know exactly how launcher
   will look in both orientations from any context.

Sets the stage for some improvements around b/19514688

Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
2015-05-21 16:16:40 -07:00
Chris Wren
8661761cb6 better support for multiple files
don't exit on error, just log.
new verbose flag to print more information

Change-Id: I5c4895a837cb8a31901aabceade3ab976abf4af0
2014-01-09 13:35:40 -05:00
Chris Wren
2fd318246f support multiple files and fix logcat smippets for launcher_protoutil
plus some code cleanup

Change-Id: I09b4a6aedbb1251a65d379464d830da694d38a38
2013-12-18 14:28:35 -05:00
Chris Wren
f6a22ada81 Add auto-detection of payload type
update docs and error messages
use png extension of files, since they are
don't create image files by default
use input filename for image files

Change-Id: I3e9c31a1de02976432d3f39cf82b5403055d620a
2013-12-16 13:56:25 -05:00
Chris Wren
ba2923a391 expose the protoutil for launcher as an executable script
Change-Id: Ie990262534d85b118c165589ecee55d64f3a58cc
2013-12-10 17:41:18 -05:00
Chris Wren
92aa423826 move to backup helper architecture
add journals to DecoderRing, for backup debugging

Bug: 10778984
Change-Id: I38e93853c05f72468b3800c172b96effc70a63e0
2013-10-07 14:43:22 +00:00
Chris Wren
978194c608 leave the padding on the backupkeys
this was self-consistent on the device, but the host tool
treats lack of padding in a different way.

Bug:10778984
Change-Id: I47f653a98f23ff0ce54218d100e0c8e2f92b67fa
2013-10-04 10:46:04 -04:00
Chris Wren
2b6c21d434 add a proto decoder host utility
Bug: 10778984
Change-Id: I1c0203a3a5b3a3b1e565af387ccdfa92b53f8335
2013-10-03 12:57:53 -04:00