Leon Scroggins III
604ae32bcc
am 4dae8e41: Merge "DO NOT MERGE: Ensure that unparcelling Region only reads the expected number of bytes" into lmp-dev
...
* commit '4dae8e41b530672030731ec7cb69369da645cf30':
DO NOT MERGE: Ensure that unparcelling Region only reads the expected number of bytes
2015-06-02 13:01:13 +00:00
Leon Scroggins III
7496e153f4
am 0d208173: DO NOT MERGE: Ensure that unparcelling Region only reads the expected number of bytes
...
* commit '0d2081734ce124191ac1f3e8585336daa414abbe':
DO NOT MERGE: Ensure that unparcelling Region only reads the expected number of bytes
2015-06-02 12:59:29 +00:00
Leon Scroggins III
4dae8e41b5
Merge "DO NOT MERGE: Ensure that unparcelling Region only reads the expected number of bytes" into lmp-dev
2015-06-02 12:48:43 +00:00
Diego Perez
e5be1d7a39
Fix for shadows on theme editor
...
If the preferred ColorModel doesn't support alpha, the shadows are
incorrectly rendered. In the theme editor on Linux, the graphics device
object doesn't support alpha so we need to use a different color model.
We default to ARGB which works fine.
Change-Id: I3e71e3d086fa4975a9149d36792e574813f37dfd
2015-06-02 11:14:53 +01:00
Svetoslav
18fb1c92d8
am bf0652ee: DO NOT MERGE Don\'t take flags when creating app widget config activity.
...
* commit 'bf0652eeea280bb1d687fe2fc3e869e0f6e9a541':
DO NOT MERGE Don't take flags when creating app widget config activity.
2015-06-01 23:02:37 +00:00
Svetoslav
bf0652eeea
DO NOT MERGE Don't take flags when creating app widget config activity.
...
bug:19618745
Change-Id: Ib0e421454d343e6db55d5538f1d55ac22a3dd722
2015-06-01 12:55:38 -07:00
Leon Scroggins III
6549eed89e
DO NOT MERGE: Ensure that unparcelling Region only reads the expected number of bytes
...
bug: 20883006
Change-Id: I4f109667fb210a80fbddddf5f1bfb7ef3a02b6ce
2015-05-29 20:14:58 +00:00
Leon Scroggins III
0d2081734c
DO NOT MERGE: Ensure that unparcelling Region only reads the expected number of bytes
...
bug: 20883006
Change-Id: I4f109667fb210a80fbddddf5f1bfb7ef3a02b6ce
2015-05-29 16:13:11 -04:00
Leon Scroggins III
4b2d2add3f
am 958a7c1c: am 3d3e3bb4: am c7a558fe: am 425d7c87: (-s ours) am 11297581: am 18d79267: Check that the parcel contained the expected amount of region data. DO NOT MERGE
...
* commit '958a7c1cd816986ac58073ae415b0825c0a11b7b':
Check that the parcel contained the expected amount of region data. DO NOT MERGE
2015-05-27 17:34:55 +00:00
Leon Scroggins III
2adefefa35
am b6e3f930: am 2bbcc253: am b36ace74: Merge "Check that the parcel contained the expected amount of region data. DO NOT MERGE" into lmp-dev
...
* commit 'b6e3f930c182ed254e7de3b3e5d22bc7323227f2':
Check that the parcel contained the expected amount of region data. DO NOT MERGE
2015-05-27 17:34:51 +00:00
Leon Scroggins III
958a7c1cd8
am 3d3e3bb4: am c7a558fe: am 425d7c87: (-s ours) am 11297581: am 18d79267: Check that the parcel contained the expected amount of region data. DO NOT MERGE
...
* commit '3d3e3bb445dbd1775cdcab0ac19563400ac2d60a':
Check that the parcel contained the expected amount of region data. DO NOT MERGE
2015-05-27 17:18:54 +00:00
Leon Scroggins III
b6e3f930c1
am 2bbcc253: am b36ace74: Merge "Check that the parcel contained the expected amount of region data. DO NOT MERGE" into lmp-dev
...
* commit '2bbcc253254a497b8f9bb86712fb6f0f2548e9f2':
Check that the parcel contained the expected amount of region data. DO NOT MERGE
2015-05-27 17:18:47 +00:00
Leon Scroggins III
3d3e3bb445
am c7a558fe: am 425d7c87: (-s ours) am 11297581: am 18d79267: Check that the parcel contained the expected amount of region data. DO NOT MERGE
...
* commit 'c7a558fe73631e438061c31a54861594f0eb024f':
Check that the parcel contained the expected amount of region data. DO NOT MERGE
2015-05-27 15:22:45 +00:00
Leon Scroggins III
c7a558fe73
am 425d7c87: (-s ours) am 11297581: am 18d79267: Check that the parcel contained the expected amount of region data. DO NOT MERGE
...
* commit '425d7c8713679ce9799139f7f91c6a45caa3b486':
Check that the parcel contained the expected amount of region data. DO NOT MERGE
2015-05-27 15:10:30 +00:00
Leon Scroggins III
425d7c8713
am 11297581: am 18d79267: Check that the parcel contained the expected amount of region data. DO NOT MERGE
...
* commit '11297581667128d2568a47ee03acab5c4f9f2784':
Check that the parcel contained the expected amount of region data. DO NOT MERGE
2015-05-27 14:53:00 +00:00
Leon Scroggins III
2bbcc25325
am b36ace74: Merge "Check that the parcel contained the expected amount of region data. DO NOT MERGE" into lmp-dev
...
* commit 'b36ace7401c0e198ceddd2fdb908346b7bb5928f':
Check that the parcel contained the expected amount of region data. DO NOT MERGE
2015-05-27 14:39:21 +00:00
Leon Scroggins III
1129758166
am 18d79267: Check that the parcel contained the expected amount of region data. DO NOT MERGE
...
* commit '18d7926709451b9e767731f46778e4238fc8e3b5':
Check that the parcel contained the expected amount of region data. DO NOT MERGE
2015-05-27 14:37:18 +00:00
Leon Scroggins III
b36ace7401
Merge "Check that the parcel contained the expected amount of region data. DO NOT MERGE" into lmp-dev
2015-05-27 14:29:31 +00:00
Wale Ogunwale
bf0439a7e8
am 02f3cf79: am 523a19bf: am c9a0c0b9: Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
...
* commit '02f3cf79989b202a45753ad74653d48f7d73c73d':
Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
2015-05-27 05:17:55 +00:00
Wale Ogunwale
02f3cf7998
am 523a19bf: am c9a0c0b9: Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
...
* commit '523a19bf3df202c58369279fc4e538e9e342c1e7':
Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
2015-05-27 05:03:29 +00:00
Wale Ogunwale
523a19bf3d
am c9a0c0b9: Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
...
* commit 'c9a0c0b90773fded6c251646300231f67c891b78':
Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
2015-05-27 04:50:11 +00:00
Leon Scroggins III
5cfd16201f
Check that the parcel contained the expected amount of region data. DO NOT MERGE
...
bug:20883006
Change-Id: Ib47a8ec8696dbc37e958b8dbceb43fcbabf6605b
2015-05-26 21:09:24 +00:00
Leon Scroggins III
18d7926709
Check that the parcel contained the expected amount of region data. DO NOT MERGE
...
bug:20883006
Change-Id: Ib47a8ec8696dbc37e958b8dbceb43fcbabf6605b
2015-05-26 17:05:22 -04:00
Wale Ogunwale
c9a0c0b907
Lockdown AM.getRunningAppProcesses API with permission.REAL_GET_TASKS
...
* Applications must now have ...permission.REAL_GET_TASKS to
be able to get process information for all applications.
* Only the process information for the calling application will be
returned if the app doesn't have the permission.
* Privilages apps will temporarily be able to get process information
for all applications if they don't have the new permission, but have
deprecated ...permission.GET_TASKS.
Bug: 20034603
Change-Id: I67ae9491f65d2280adb6a81593693d499714a216
(cherry picked from commit 9dbaa54f6834e013a63f18bd51ace554de811d80)
2015-05-26 17:49:04 +00:00
Diego Perez
aa3b2043f0
New custom widgets library
...
Adds the widgets needed by the theme editor as a jar file that will be
linked from AS. The controls currently are:
- ThemePreviewLayout: A custom layout that allows to dynamically reflow
cards that display the theme preview.
- PressedButton: Custom button to display in a pressed state (currently
we can only do it programatically).
- ErrorCatcher: View that can wrap other view and stops a view throwing
exceptions that will break the theme editor rendering. This is
currently used to wrap the custom controls loaded from the source
code.
The new library currently depends on bridge to be able to use the logger
for the ErrorCatcher view. The ErrorCatcher view is a temporary solution
that will be replaced in a future CL and the dependency will be removed.
Change-Id: I832c447e22e1381abff74c46c4282921b3f6fa23
2015-05-14 23:01:09 +01:00
John Reck
d955dceb4f
am 862540cd: Merge "Revert "DO NOT MERGE Backport of limited jank-tracking metrics"" into lmp-mr1-dev
...
* commit '862540cdb11a7128ae1fd670136f398645b4af7b':
Revert "DO NOT MERGE Backport of limited jank-tracking metrics"
2015-05-14 00:51:07 +00:00
John Reck
862540cdb1
Merge "Revert "DO NOT MERGE Backport of limited jank-tracking metrics"" into lmp-mr1-dev
2015-05-14 00:40:45 +00:00
John Reck
a5b28b92b1
am 69355eaa: Merge "DO NOT MERGE Backport of limited jank-tracking metrics" into lmp-mr1-dev
...
* commit '69355eaa1c1f4bfc961d5dd9fdb0f3817d36d5f0':
DO NOT MERGE Backport of limited jank-tracking metrics
2015-05-13 21:52:50 +00:00
John Reck
25607a6642
Revert "DO NOT MERGE Backport of limited jank-tracking metrics"
...
This reverts commit 2614bd225f84f7a23e6b30fc6b47bede153e5f4c.
Change-Id: I344b4cbaa0bb0caf50bceb806d1446ee27ea52d8
2015-05-13 21:42:28 +00:00
John Reck
69355eaa1c
Merge "DO NOT MERGE Backport of limited jank-tracking metrics" into lmp-mr1-dev
2015-05-13 21:42:13 +00:00
Christopher Tate
613626b748
am afd883f8: During early boot, send LOCALE_CHANGED only to registered receivers
...
* commit 'afd883f8a3ee260a5505f83d628c0b789871c837':
During early boot, send LOCALE_CHANGED only to registered receivers
2015-05-12 15:39:12 +00:00
Christopher Tate
afd883f8a3
During early boot, send LOCALE_CHANGED only to registered receivers
...
Bug 20855725
Bug 19060618
Change-Id: I368660ecc6ee97a0c2a2f627fa1b09288bc92bd1
2015-05-11 18:00:45 -07:00
Christopher Tate
4475e7dfa1
am ea2c4033: Mark persistent apps as such when the ProcessRecord is created
...
* commit 'ea2c403311f741f5a0a9688847cfd17041c81c0d':
Mark persistent apps as such when the ProcessRecord is created
2015-05-08 21:55:08 +00:00
Christopher Tate
ea2c403311
Mark persistent apps as such when the ProcessRecord is created
...
...rather than only during the OS's "time to start the persistent apps"
boot phase. This closes a window of opportunity during which a
persistent app container may be live without having been properly
noted as such, because it wound up being launched prior to the
[rather late] boot phase at which the persistent apps are directly
enumerated and bookkeeping for them established.
Bug 20855725
Change-Id: I41822b412de4540dbdeab300b38089303678f76c
2015-05-08 13:05:42 -07:00
Diego Perez
635d8f4fe7
Fix crash when shadowSize is 0
...
Change-Id: I9f131afc95a2571fbc8a737df37f43653cfbb90d
(cherry picked from commit e81096458f689ab3c0c4dbab2452722c3e3623c4)
2015-05-08 02:01:53 +01:00
Diego Perez
33e54563da
am 4b125836: Merge "Added function to render a drawable in all available states" into lmp-mr1-dev
...
* commit '4b12583653561f69a5780126485380cac187c478':
Added function to render a drawable in all available states
2015-05-07 02:37:28 +00:00
Diego Perez
4b12583653
Merge "Added function to render a drawable in all available states" into lmp-mr1-dev
2015-05-07 02:28:51 +00:00
Andrew Shulaev
681c7d142a
Added function to render a drawable in all available states
...
This reverts commit 01cdf8b135be3bf67b9386dc929109c3db82c730.
Change-Id: I596855047d78c3c718744ad61432fc45e1239634
(cherry picked from commit 1f158819bc7cf58f97e47fabfaf23b2fb838f2eb)
2015-05-07 02:05:48 +01:00
Diego Perez
8ab069f3ae
Fix GcSnapshot drawInLayer when clipping is used.
...
GcSnapshot only allocates an image for tinting that is the size of the
current clipping area. When drawing to that image, the wrong
coordinate system was used since now we are dealing with only the
clipping rect we need to translate -clipX, -clipY the drawing so it's
painted at 0,0 of the new BufferedImage.
Change-Id: Id8639d5ea9bef36ac07743df332161d6eadc6a81
2015-05-07 00:39:39 +00:00
Diego Perez
86bff0bb63
am 0e20bd8e: Merge changes I60c09f33,Ie0134c2b into lmp-mr1-dev
...
* commit '0e20bd8e50724ab264425ba830cdf1beb96f7404':
Add new parameter to the render method to allow forcing a measure pass.
Avoid caching mImage on the main render loop and use clipping.
2015-05-07 00:21:19 +00:00
Diego Perez
0e20bd8e50
Merge changes I60c09f33,Ie0134c2b into lmp-mr1-dev
...
* changes:
Add new parameter to the render method to allow forcing a measure pass.
Avoid caching mImage on the main render loop and use clipping.
2015-05-07 00:14:26 +00:00
Diego Perez
2ea82244f0
am 263e6dfa: Merge "Make status and navigation bars widgets and usable from layouts" into lmp-mr1-dev
...
* commit '263e6dfa6aa3286b71ef908c8b2f06206e747ab1':
Make status and navigation bars widgets and usable from layouts
2015-05-07 00:02:08 +00:00
Diego Perez
24e10c0bad
am 19dbe50b: Merge "Move StatusBar to use statusBarColor theme attribute" into lmp-mr1-dev
...
* commit '19dbe50bb534db6fa46f0df47f589a69212e9458':
Move StatusBar to use statusBarColor theme attribute
2015-05-06 23:53:45 +00:00
Diego Perez
9c13c8de82
am bc47abe4: Merge "Make sure shaders use a color model compatible with the destination." into lmp-mr1-dev
...
* commit 'bc47abe4b444d0386d1d939e4a223a976fade565':
Make sure shaders use a color model compatible with the destination.
2015-05-06 23:53:41 +00:00
Deepanshu Gupta
872e9950a2
am 1f8e3de4: Merge "More layoutlib tests." into lmp-mr1-dev
...
* commit '1f8e3de40c0aed9fa8b9216ddd3224b7ac94acf1':
More layoutlib tests.
2015-05-06 23:53:37 +00:00
Deepanshu Gupta
7e4c1a92b8
am b4ca896f: Merge "RecyclerView in LayoutLib: better XML attrs." into lmp-mr1-dev
...
* commit 'b4ca896f05eed9d36ac9971810d102a9139502f9':
RecyclerView in LayoutLib: better XML attrs.
2015-05-06 23:53:32 +00:00
Diego Perez
8e75e30737
am 1bc7fb2d: Merge "Fix isThemeAppCompat NPE when using an invalid theme" into lmp-mr1-dev
...
* commit '1bc7fb2dcc954caac78d3fc02eb98ec30658d4d0':
Fix isThemeAppCompat NPE when using an invalid theme
2015-05-06 23:53:27 +00:00
Deepanshu Gupta
4624107185
am 4f8a9996: Merge "Nullity annotations to some tests." into lmp-mr1-dev
...
* commit '4f8a999682fdb8b38ee5671b8a8f527569ebb5ff':
Nullity annotations to some tests.
2015-05-06 23:53:23 +00:00
Deepanshu Gupta
2e3c41a4e4
am 92e79868: Merge "Fix title bar showing when not required." into lmp-mr1-dev
...
* commit '92e798682b5e45a05bffecb40a9b9f473420ea79':
Fix title bar showing when not required.
2015-05-06 23:53:18 +00:00
Deepanshu Gupta
96437fb4b0
am 9aa600e7: Merge "LayoutLib: fix crash when shadow size <=0." into lmp-mr1-dev
...
* commit '9aa600e79f8f68115e8e95f02933376e3da7d194':
LayoutLib: fix crash when shadow size <=0.
2015-05-06 23:53:14 +00:00