Deepanshu Gupta
04861ed488
am 91043364: am 52be792b: am 27d3b926: Fix error when using list as actionBarNavMode. [DO NOT MERGE]
...
* commit '91043364b95fe58225437e2220d497ef6e33edf6':
Fix error when using list as actionBarNavMode. [DO NOT MERGE]
2014-09-26 00:59:08 +00:00
Deepanshu Gupta
91043364b9
am 52be792b: am 27d3b926: Fix error when using list as actionBarNavMode. [DO NOT MERGE]
...
* commit '52be792bad7cbd059daab02a23e28ef1df61f2ce':
Fix error when using list as actionBarNavMode. [DO NOT MERGE]
2014-09-26 00:46:07 +00:00
Deepanshu Gupta
52be792bad
am 27d3b926: Fix error when using list as actionBarNavMode. [DO NOT MERGE]
...
* commit '27d3b9264e2dcfb86400a60891a5e39cdf027d55':
Fix error when using list as actionBarNavMode. [DO NOT MERGE]
2014-09-26 00:36:41 +00:00
Deepanshu Gupta
27d3b9264e
Fix error when using list as actionBarNavMode. [DO NOT MERGE]
...
A bug in the framework leads to the wrong argument being passed to
defStyleRes when obtaining styled attributes. The framework however just
ignores the attribute in such a case. LayoutLib logs an error to help
developers find bugs in their code.
The bug was seen when using list as the actionBarNavMode.
This change ignores the attribute if it detects that it's the framework
bug. Also, we change the error to a warning.
Change-Id: I58e1fe4469de0329a27b577d75c0a59c48d0381b
2014-09-25 22:59:58 +00:00
Deepanshu Gupta
d3328343de
am f264080d: am 3ce96efc: am d181ffe6: Merge "Resolve color xml attributes properly. [DO NOT MERGE]" into jb-dev
...
* commit 'f264080d227617d431804e110e65cc154e8a8d17':
Resolve color xml attributes properly. [DO NOT MERGE]
2014-09-04 04:46:39 +00:00
Deepanshu Gupta
a6f32d7ff1
am 64d4ef8c: am 63889480: am 6530cca1: Fix "@null" resource values in LayoutLib. [DO NOT MERGE]
...
* commit '64d4ef8cf2f9ec6b7af6795fa9feb18cc07ba3d9':
Fix "@null" resource values in LayoutLib. [DO NOT MERGE]
2014-09-04 04:46:28 +00:00
Deepanshu Gupta
f264080d22
am 3ce96efc: am d181ffe6: Merge "Resolve color xml attributes properly. [DO NOT MERGE]" into jb-dev
...
* commit '3ce96efc2ceeb1666db330ad837409fd494ec108':
Resolve color xml attributes properly. [DO NOT MERGE]
2014-09-04 04:31:01 +00:00
Deepanshu Gupta
64d4ef8cf2
am 63889480: am 6530cca1: Fix "@null" resource values in LayoutLib. [DO NOT MERGE]
...
* commit '638894803cc8bb57d73ea6aaddd1accbeb52643e':
Fix "@null" resource values in LayoutLib. [DO NOT MERGE]
2014-09-04 04:27:43 +00:00
Deepanshu Gupta
3ce96efc2c
am d181ffe6: Merge "Resolve color xml attributes properly. [DO NOT MERGE]" into jb-dev
...
* commit 'd181ffe6881d0a1b49193b5f70dac0cc7cc9aae3':
Resolve color xml attributes properly. [DO NOT MERGE]
2014-09-04 03:18:39 +00:00
Deepanshu Gupta
638894803c
am 6530cca1: Fix "@null" resource values in LayoutLib. [DO NOT MERGE]
...
* commit '6530cca1edf79ddcd520e2e5bc2695adfb0d3680':
Fix "@null" resource values in LayoutLib. [DO NOT MERGE]
2014-09-04 03:18:27 +00:00
Deepanshu Gupta
d181ffe688
Merge "Resolve color xml attributes properly. [DO NOT MERGE]" into jb-dev
2014-09-04 01:54:08 +00:00
Jean-Michel Trivi
2cb287f9cc
am 9ea996a3: Do not restore the media button event receiver
...
* commit '9ea996a330a21af89f308bdf52e02a470643013b':
Do not restore the media button event receiver
2014-08-29 16:41:10 +00:00
Deepanshu Gupta
6530cca1ed
Fix "@null" resource values in LayoutLib. [DO NOT MERGE]
...
Bug: http://b.android.com/74072
Change-Id: Ib84906d86772ac3df2407e71ad2167797bec4542
(cherry picked from commit c9cd725f1013bed27e6f6594b176c10a6a4c0f16)
2014-08-26 00:51:54 +00:00
Deepanshu Gupta
f2e26413fb
Resolve color xml attributes properly. [DO NOT MERGE]
...
Color attributes were not being converted to int properly. The
conversion to int was a simple string to int using base 16. This change
resolves the colors as per #RGB, #ARGB, #RRGGBB or #AARRGGBB format
depending on the length of the attribute. All values that begin with '#'
are treated as colors.
Bug: http://b.android.com/73845
Change-Id: I8ad089b821af1e290b9b95771b50213fe2fdd784
(cherry picked from commit 81564dfe60020fa977d39d168f682e9d61825660)
2014-08-26 00:28:18 +00:00
Jean-Michel Trivi
9ea996a330
Do not restore the media button event receiver
...
Do not restore the media button event receiver on behalf of the
application that registered. Prevents reported vulnerability.
Bug 15428797
Change-Id: I507faefd211def0d2ea074706de76c0d06157c5a
2014-08-25 11:23:36 -07:00
Deepanshu Gupta
3a544a81b3
resolved conflicts for merge of a232a68d to jb-mr1.1-docs
...
Change-Id: I1ea220e3e0a81880db68abab87beab56dc4a336c
2014-08-06 15:00:14 -07:00
Deepanshu Gupta
a232a68d4c
resolved conflicts for merge of 5476cfee to jb-mr1-dev
...
Change-Id: I5197271e6fdd36fed9ca9f9b7221d9a99141a4b4
2014-08-06 14:41:02 -07:00
Deepanshu Gupta
5476cfee6b
am 505c675c: Fix SystemProperties in LayoutLib.
...
* commit '505c675c3a536ac7c6ad264eb62542537532119c':
Fix SystemProperties in LayoutLib.
2014-08-06 21:28:24 +00:00
Deepanshu Gupta
505c675c3a
Fix SystemProperties in LayoutLib.
...
Not all System Properties were used via Build class. Also, properties
like SDK_INT which called SystemProperties directly were not initialized
properly.
This change is essentially cherry picking of the relevant parts from the
following commits:
984749bf75c9ce9d3401b8410ea7d6276544b6ee
167bc25bceea9280bbe4858db4cb8233f86ce325
Bug: http://b.android.com/73046
Change-Id: Ia0fb467ee6d5fdedda500d57d02be20006f115df
2014-08-05 17:47:30 -07:00
Deepanshu Gupta
87234e8544
am 9c48ab82: am ccf7b2aa: am 5af7324a: Fix style resolution for styles with \'.\' [DO NOT MERGE]
...
* commit '9c48ab82084828087c47086f2379b4927ec057e2':
Fix style resolution for styles with '.' [DO NOT MERGE]
2014-07-18 21:50:15 +00:00
Deepanshu Gupta
9c48ab8208
am ccf7b2aa: am 5af7324a: Fix style resolution for styles with \'.\' [DO NOT MERGE]
...
* commit 'ccf7b2aac600b6069f03f7f420872b64cc5e6726':
Fix style resolution for styles with '.' [DO NOT MERGE]
2014-07-18 21:45:28 +00:00
Deepanshu Gupta
ccf7b2aac6
am 5af7324a: Fix style resolution for styles with \'.\' [DO NOT MERGE]
...
* commit '5af7324ace4f318d7395b680beabec7a0f0e39b3':
Fix style resolution for styles with '.' [DO NOT MERGE]
2014-07-18 21:39:35 +00:00
Deepanshu Gupta
5af7324ace
Fix style resolution for styles with '.' [DO NOT MERGE]
...
Bug: b.android.com/72698
Change-Id: I96fb549cf5787d9e8cde2245524a8173471a60ca
(cherry picked from commit f2fa79e9b5 )
2014-07-10 00:30:03 +00:00
Deepanshu Gupta
295184bc71
am 8782a120: resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
* commit '8782a12005e90bbd49be579fb8ede3a42a007380':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 20:10:55 +00:00
Deepanshu Gupta
8782a12005
resolved conflicts for merge of 61fb5784 to jb-mr1-dev
...
Change-Id: I079d5db0d69fd1972e6754cdd1829dfd1645202d
2014-06-04 12:43:01 -07:00
Deepanshu Gupta
61fb578432
am 3ff08eb6: Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
...
* commit '3ff08eb6bf68868d4f4e872fbbf1ecaf521934a9':
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
2014-06-04 19:32:05 +00:00
Deepanshu Gupta
704954c96a
am 5f56ea8d: am f48ab8fe: am 3b7c09b4: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
* commit '5f56ea8d802b3a7ce5ba8992a84dd3b462676e0e':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
2014-06-03 20:28:48 +00:00
Deepanshu Gupta
5f56ea8d80
am f48ab8fe: am 3b7c09b4: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
* commit 'f48ab8feec71419e574a2d2f08a29be87743ef07':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
2014-06-03 20:24:25 +00:00
Deepanshu Gupta
f48ab8feec
am 3b7c09b4: LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
* commit '3b7c09b4336f421c489523c10278ecfbfb0708a7':
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
2014-06-03 20:21:10 +00:00
Deepanshu Gupta
3ff08eb6bf
Distinguish between menus in ActionBar and popup. [DO NOT MERGE]
...
Mark the menus in the ActionBar and the ones in the Overflow popup
separately. This enables the IDE to differentiate between the two and
enable gestures such as double-click to open the menu xml for menus in
the ActionBar and single click for the menus in the Overflow popup.
Change-Id: I7a23f87d34d618a134ffbe3a665be695915d4bae
(cherry picked from commit 03c0735017 )
2014-05-30 14:50:55 -07:00
Deepanshu Gupta
3b7c09b433
LayoutLib: Correctly resolve ?attr/foo [DO NOT MERGE]
...
?attr/foo in platform files wasn't resolved properly. The IDE checked
the app namespace for the attribute even though it is being referenced
from a platform file.
Change-Id: I7db6dfef5b540d99804c298120578da9d060b886
(cherry picked from commit 08d2007b33 )
2014-05-30 14:50:39 -07:00
Deepanshu Gupta
e0be42a9f9
am 40bfb60e: Fix build due to incorrect merges [DO NOT MERGE]
...
* commit '40bfb60efa0e92259a417a5cbfd6095759c678b7':
Fix build due to incorrect merges [DO NOT MERGE]
2014-05-13 23:40:37 +00:00
Deepanshu Gupta
f266873c80
am 1c55797d: Fix build
...
* commit '1c55797d0e786b6594e769c2fa424e1b8386648e':
Fix build
2014-05-13 23:40:34 +00:00
Deepanshu Gupta
40bfb60efa
Fix build due to incorrect merges [DO NOT MERGE]
...
Change-Id: Ib3b4dafeed6ba4c07450d13d9908fb05a1a4542f
2014-05-13 15:52:39 -07:00
Deepanshu Gupta
1c55797d0e
Fix build
...
remove a line that shouldn't have been merged into this branch.
The build will still be broken for this branch, but this will fix it for
many branches downstream.
Change-Id: I2f556636640eb823dc2834afae7b536e79b79607
2014-05-13 15:47:04 -07:00
Deepanshu Gupta
70efbad064
am bd5a3e65: am 1677a9bd: Merge "resolve conflicts for merge 5a7b3b65 correctly" into jb-dev-plus-aosp
...
* commit 'bd5a3e6510e83b161a0e40c191d349524ae4a8e6':
resolve conflicts for merge 5a7b3b65 correctly
2014-05-13 17:58:17 +00:00
Deepanshu Gupta
8bf73eae6c
am 0ad4f2ce: resolved conflicts for merge of 7377c7be to jb-mr1-dev
...
* commit '0ad4f2cedde037c2b09a7f09c5f95f0984267c64':
Add Navigation Bar to BridgeWindowManager [DO NOT MERGE]
2014-05-13 17:58:14 +00:00
Deepanshu Gupta
bd5a3e6510
am 1677a9bd: Merge "resolve conflicts for merge 5a7b3b65 correctly" into jb-dev-plus-aosp
...
* commit '1677a9bdeba3961625236925e754920fca1b7e89':
resolve conflicts for merge 5a7b3b65 correctly
2014-05-13 17:53:55 +00:00
Deepanshu Gupta
0ad4f2cedd
resolved conflicts for merge of 7377c7be to jb-mr1-dev
...
Change-Id: I26d2e3478536826608413094e17cd36da43b4e23
2014-05-13 10:44:24 -07:00
Deepanshu Gupta
5454be00b1
am 5dae7fda: am 9359dc2e: am 2d3fa7ba: Support actionProviderClass attribute for menus [DO NOT MERGE]
...
* commit '5dae7fda38850a5146a6b8a4edbfd9aa96aea484':
Support actionProviderClass attribute for menus [DO NOT MERGE]
2014-05-13 17:42:09 +00:00
Deepanshu Gupta
d388afada2
am b6de60e0: am df2da3d7: am 7bc363ba: Add special system view cookie to OverflowButton. [DO NOT MERGE]
...
* commit 'b6de60e0020dbed906b1d275de17f8c615b2b242':
Add special system view cookie to OverflowButton. [DO NOT MERGE]
2014-05-13 17:42:06 +00:00
Deepanshu Gupta
ebd909cca1
am ae5e0c7b: am 4eab4e14: am 5268248e: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
...
* commit 'ae5e0c7b9f24564547d38a77641b120d6685dd5a':
Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
2014-05-13 17:42:03 +00:00
Deepanshu Gupta
b161d6ba7f
am 673d9734: resolved conflicts for merge of 00d09649 to jb-mr1-dev
...
* commit '673d9734c2d9b62ecd41dcac3c730d242952989e':
Fix style warnings in RenderSessionImpl [DO NOT MERGE]
2014-05-13 17:42:00 +00:00
Deepanshu Gupta
5dae7fda38
am 9359dc2e: am 2d3fa7ba: Support actionProviderClass attribute for menus [DO NOT MERGE]
...
* commit '9359dc2e7d6bc671af3fee0c1dc540dd3685365c':
Support actionProviderClass attribute for menus [DO NOT MERGE]
2014-05-13 17:40:55 +00:00
Deepanshu Gupta
b6de60e002
am df2da3d7: am 7bc363ba: Add special system view cookie to OverflowButton. [DO NOT MERGE]
...
* commit 'df2da3d7c9f82ff2304f630f4ff9fc2cb3001c6f':
Add special system view cookie to OverflowButton. [DO NOT MERGE]
2014-05-13 17:40:52 +00:00
Deepanshu Gupta
ae5e0c7b9f
am 4eab4e14: am 5268248e: Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
...
* commit '4eab4e14c8453a0b41923c714a05dccdd72d7829':
Use ApplicationInfo only when not in edit mode [DO NOT MERGE]
2014-05-13 17:40:49 +00:00
Deepanshu Gupta
673d9734c2
resolved conflicts for merge of 00d09649 to jb-mr1-dev
...
Change-Id: Ib3c34a1989d4251c3ac4755c52fe05a81644930a
2014-05-13 10:17:09 -07:00
Deepanshu Gupta
cc9e359699
am 5280c911: am 0df5ae65: am 0f209967: Add view cookies for action bar menus. [DO NOT MERGE]
...
* commit '5280c911d81a7db5ec8854850bef60d8b0951358':
Add view cookies for action bar menus. [DO NOT MERGE]
2014-05-13 17:14:17 +00:00
Deepanshu Gupta
7ef276450f
am f192096a: am 17585160: am 26c37321: Add missing layout params to xlarge action bar. [DO NOT MERGE]
...
* commit 'f192096a137ea0a789b2adca2111742beccb4533':
Add missing layout params to xlarge action bar. [DO NOT MERGE]
2014-05-13 17:14:15 +00:00
Deepanshu Gupta
9978c0363e
am 1867f58d: am 3027b69e: am f7e57949: Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
...
* commit '1867f58d6ceebac899b60b029e34f3a1fcabba7f':
Overflow menu popup for Action Bar in Layoutlib [DO NOT MERGE]
2014-05-13 17:14:12 +00:00