GitHub PushEvent at 2014-09-19 06:47:09
Repository: android_frameworks_base
Actor: dimfishr
Payload: {"shas":[["978c8bb8f6805e8f754444016e20224e1dbe01bd","e3579b1e47f273529f0f929453e939a68ede9fd1@cyngn.com","Fix attribute resolution in theme lookup\n\n[Fixes Known Issues]\n1. (CM) Chrome beta crashing w/ Hexo applied and menu button is pressed.\n2. (AOSP) TextAppearance - fontFamily attr is incorrect (looked up in wrong package!) when\n    a string value is defined in a style, and that style is set as the app's theme.\n\n[Terminology]\n1) Theme:    is the standard android definition of a theme.\n             e.g in your manifest you may set android:theme=\"@style/foo\"\n2) CM-Theme: will be a Cyanogen theme. e.g. \"Hexo\"\n\n3) Block: Also called index. Can be considered the cookie or ID to lookup a package in the resources.\n          When a CM-Theme is applied, block 0 is framework, block 1 is the app, and block 2 is the\n          CM-Theme.\n\n[Background]\nWhen a value for an attribute has not been found, the last resort is to look at a theme's base value.\nThis is done by using theme->getAttribute(...) which will return the value. The value is\nunresolved if its a reference type. The block value will also be returned.\n\nSince the value may be a reference and therefore unresolved, a call is then made to\nResTable::resolveReference(..) to do the final resolution. As part of its input, resolveReference\ntakes a block as a starting point.\n\nIn the case where resolveReference(...) is asked to resolve something that is not a reference,\nfor example, a string type, then it will simply return the same value and block. *Important* The block\nvalue is then saved for the next call to get an attribute value. So if this block value is wrong\nit will remain incorrect.\n\nTherefore if resolveReference is passed the wrong starting block with a string value, then the wrong\nblock will be returned.\n\n[Example]\n1. 0x0101009b (android:attr/textColorLink) is first attribute to be looked up.\n2. textColorLink has a value of 0x01020123 which maps to theme id 0x01020111. The block for theme\nis \"2\" so block is set to 2. The value for this attribute is put into the array.\n3. 0x010103ac (android:attr/fontFamily) is the next attribute to be looked up.\n4. fontFamily is found in the theme as type string. The value is 0x7b9 (1977) and newblock variable\n   is set to 1 since this value is found in the app's string pool. The block variable still == 2.\n5. resolveReference() is called with block=2. The function does nothing and returns block=2.\n   The fontFamily thus is stored wtih value=1977 and a block value of \"2\" instead of \"0\".\n\nChange-Id: I2b979911b1b8ffb79c4cf310ae60682c84c11fcb","Andy Mast",true],["8d1f86399619899d3ba8efb2a2a21edc03f081c9","4bceda912b479e46f041c22bcc2c9ed75fe8d5cc@web.de","Only show status bar blocker view if nav bar is translucent.\n\nIt's the background drawable of the translucent nav bar that makes the\nblocker view necessary (as the background creates a visual 'gap' between\nstatus bar and visual start of the nav bar), so if the nav bar isn't\ntranslucent, there's no need for the view.\n\nChange-Id: I684c8d24abe3d4393ae7db88fe5023aa65836164","Danny Baumann",true],["bb7cbbb3c8d52b1667f168c6b2c92583870fc706","419b20914ad8ee7cdbbc7674d01c492d53cd267e@gmail.com","Keyguard: fix chopped keyguard on hdpi MSim devices\n\nBoth the CarrierText and MSimCarrierText were in the View, taking\nadditional space. Remove CarrierText from the view in case of MSim.\n\nChange-Id: I803695044d06470ef9af59863ba92444e41488f5","Pawit Pornkitprasan",true],["e6995cded23712ebf5a6d4c2a79dbd8fbf7f49af","bc036ba75db61f1ba752a1624a8cf0a594c498b9@gmail.com","Revert \"SystemUI: fix hidden clock style after a reboot\"\n\nThis reverts commit 28a5f8f4fc47e9623327caa5a4a642f8c17569b1.","dimfishr",true],["6e33dd528a65f6e2fa0c63268fc51d0a5c6542b8","bc036ba75db61f1ba752a1624a8cf0a594c498b9@gmail.com","Revert \"SystemUI: allow for the clock to be centered (1 of 2)\"\n\nThis reverts commit 36672e70e1d28d54c584f5e5ec978392381d0027.","dimfishr",true],["f8118773433b5f985ac7713cec01cac98bc6cd0e","bc036ba75db61f1ba752a1624a8cf0a594c498b9@gmail.com","Add en_RU language","dimfishr",true],["9071cbc88358246c52a7d9ab6137216639ce531a","bc036ba75db61f1ba752a1624a8cf0a594c498b9@gmail.com","Fix Wifi","dimfishr",true],["acd4e5f891029f024dd5a47c22ace92982d888b1","7af113c271132b9d8387aeaf1cc5cde42e25a9c4@gmail.com","[1/3] Base: Flip to Mute/Reject Call\n\nSaving flip action value to settings container\n\nTelephony: https://gerrit.omnirom.org/#/c/4670/\nInCallUI: https://gerrit.omnirom.org/#/c/4669/\n\nChange-Id: Ie72dda49d78b23b9bc7d8a886f6916f678c918d1\n\nConflicts:\n\tcore/java/android/provider/Settings.java","Sasikumar D R",true],["093666e6d200d135a1a71214d2719fd01f749152","338da36b0b88a09286ade72059277a2652c85f05@googlemail.com","[1/3] Base: Incoming Call in Background\n\nPatch ported from 4.2 which was done by our lovely HCP. A\nvery popular one so we bring it back and adapt it to 4.4\n\nAllows user to set that Incoming Call UI will remain in background\nif screen is on. Instead, a notification is added to StatusBar, which\ncan be used to bring up the Incoming Call UI. Ringtone and vibration\nstill occur as per system settings.\n\nThis has the same effect as apps marked as \"immersive\". It prevents\nthe incoming call from backgrounding the current activity.\n\nChange-Id: I1eb0ae6b10ba02c3f1df95265d26a6c61db74aab\n\nConflicts:\n\tcore/java/android/provider/Settings.java","Lars Greiss",true],["8b4e8843bfdc847ff20a781c0a4bf3ef2630e140","338da36b0b88a09286ade72059277a2652c85f05@googlemail.com","[1/2] Frameworks: Statusbar clock and date customizations\n\nThis commit add support for:\n\n- Clock and date enable/disable\n- Clock and date position\n- AM/PM styles multilang support\n- color\n- Date format\n- Date style\n\nChange-Id: I73d854ed5cfb57fa19e4b5554bb10cb2e1ce9b65","Lars Greiss",true],["9cad034c7be2d76b90c8238adfb5979818e557cd","bc036ba75db61f1ba752a1624a8cf0a594c498b9@gmail.com","Framework:  Fix Statusbar Center Clock","dimfishr",true],["37e2933152ec0e143be7706135a6fa482064987c","fec74e83c530633a43be6ce05ff7dd77feeb4e41@gmail.com","[1/2] SystemUI: Network speed indicator\n\nChange-Id: I88e7cdfe20342c695a33383db36bf80bb4ffe009\n\nConflicts:\n\tcore/java/android/provider/Settings.java\n\n[1/2] SystemUI: Update network traffic indicator\n\nAndroid measures the amount of data transferred in bytes,\nhowever, by convention, data rates should be measured in bits\nper second.\n\n*Convert the change in total data and time to bits and seconds,\nand then divide the amount transferred by the number of\nseconds that have elapsed.\n\n*Update the labels and have them use the correct SI prefixes.\n\n*Factor out or add @hide to public methods and constructors\n\n*Remove all Runnables and Messages from Handler queue when\ndisabled\n\n*Minor formatting changes to stay consistent with Android's\ncode-style guidelines.\nhttps://source.android.com/source/code-style.html\n\nPS2: Set maximum digits to prevent it from filling the statusbar\nPS3: Rebase\nPS4: Add ability to display either bits or bytes\n\nChange-Id: I9add610a8d14f5a48f2af0a82ced0c186224e282\n\nConflicts:\n\tcore/java/android/provider/Settings.java\n\n[1/2] Base: Upgrade network traffic meter\n\n*Updated class name to be less ambiguous\n*Replaced the multi-check in settings with a proper listview\n*Added the ability to view up-stream, down-stream or both\n*Added the option to change how often it refreshes\n*Added a check before it updates the status bar to prevent it from\nrefreshing everything needlessly\n*Added icons to show data direction\n*Remove unused style attributes\n\nIcon artwork is courtesy android design downloads\nSome features were inspired by previous work done by 0xD34D\n\nOmniGears: https://gerrit.omnirom.org/#/c/5130/\n\nChange-Id: I9f86292a6adbc5e30967df76fae510be248fc38b\n\nConflicts:\n\tcore/java/android/provider/Settings.java\n\tpackages/SystemUI/res/values/custom_dimens.xml\n\tpackages/SystemUI/res/values/custom_styles.xml\n\tpackages/SystemUI/res/values/dimens.xml\n\tpackages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarTransitions.java","htchoi1995",true],["ec9da4caa0b0655a4bbbc43195abe7437c07d25b","bc036ba75db61f1ba752a1624a8cf0a594c498b9@gmail.com","Base: Disable Call Log 500 limit","dimfishr",true],["bd4d65afa775aadbfb0abeb4ed67b6992b885d44","338da36b0b88a09286ade72059277a2652c85f05@googlemail.com","Base: Follow on seekbars new UI guideline for 4.4\n\ngoogle forgot some things.....seekbar is one example\n\nChange-Id: I996062a978322c93694e360dff1e4f42dc589062\n\nfb: correct seeker fb style for 4.4\n\nbased on this commit https://github.com/SlimRoms/frameworks_base/commit/a845169c128c19825a69a0ebdf2e4d366fdd67ad\n\nthe idea was good but bad done. A middle in the night action lol.\nProblem is that holo light themed app cannot handle the white seekbar of course\nSo add the complete seekbar into the Holo.Light switch to support both cases\n\nHolo: white seekbar\nHolo.Light: drak gray seekbar\n\nChange-Id: I82252d0cb30cd4af47d624a37ccc904cb7e9c1e6\n\nfb: global menu follow new 4.4 UI\n\nthe sound indicator is still ICS blue...change it to white\nIn general we should consider to change all tab_selected\nfiles into a Holo.Light switch due it is already defined in styles.xml\n\nbut thats work for our themer :p\n\nChange-Id: I02b5331e223319517c5536522cd6bc419745ce3f\n\nfb: update missing google UI changes for 4.4\n\nthanks to kroz other things are now as well consistent to the new\ngoogle UI style\n\nChange-Id: I604d29293b04bbcf279efd4d5bf2970ff8ee0c75\n\nfb: changed all open forgoten UI from google into new UI\n\nthanks kroz\n\nChange-Id: Ibc32ad8e73617dd74c8cd313dc2e071962eec966\n\nfb: change alert dialog to new 4.4 UI guidelines and add\n\nHolo / Holo.Light switch to reflect it proper on the\ndifferent app styles\n\nChange-Id: I0fb7cd06d19a8eef66551e9f0281d60f33b2efe6","Lars Greiss",true],["937654a26e940afba5c89bad1eb0ad9397aa6329","bc036ba75db61f1ba752a1624a8cf0a594c498b9@gmail.com","Core: Title divider 4.4 UI guidelines","dimfishr",true],["4647b31e2e600dfa702dc889d35d2b600ec13b19","bc036ba75db61f1ba752a1624a8cf0a594c498b9@gmail.com","Base: Improve Notification Pull Down and Swipe","dimfishr",true],["8c8279860b72e8202cb472f2b4493b9ae7a69aad","28dad2a4fd4400519093d168b4416744edb2e68c@gmail.com","[1/2] Navigation bar dimensions\n\n- Change height when in portrait\n- Change width when in landscape\n- Option to enable or disable nav bar\n\nThis is partially ported from SlimRoms\nThanks to @kufikugel\n\nChange-Id: Ic2bfb32684c3d74062d123266db1516e09d92fb6\n\nConflicts:\n\tpackages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java\n\tpolicy/src/com/android/internal/policy/impl/PhoneWindowManager.java","cristianomatos",true],["1849a8e2ae3bed52cac387f5f4592474fbdeb1ff","bc036ba75db61f1ba752a1624a8cf0a594c498b9@gmail.com","PowerManager : Enable Proximity Check","dimfishr",true],["63c23c86775959f364f26297905c524d162f7be2","28dad2a4fd4400519093d168b4416744edb2e68c@gmail.com","[1/2]  SytemUI: Custom clear recents button","cristianomatos",true],["3e32ad138e412185f6bb8cf6aaf5914e7270310b","b2abd4fd7a88af9e2060dd190b9a75981518104c@gmail.com","[1/2] Core Framework: Wakelock Blocker","maxwen",true]],"size":20,"ref":"refs/heads/cm-11.0","head":"3e32ad138e412185f6bb8cf6aaf5914e7270310b"}