OSDN Git Service
Dianne Hackborn [Tue, 24 Apr 2012 21:51:19 +0000 (14:51 -0700)]
am
27e1680b: am
5a3370e5: am
50b53700: Merge "Fix for too many binder calls in packagemanager"
* commit '
27e1680b5cd3694029ddac4128050b17f59f235e':
Fix for too many binder calls in packagemanager
Chris Craik [Tue, 24 Apr 2012 21:49:51 +0000 (14:49 -0700)]
Merge "Support picture listener correctly in HW webviews"
Craig Mautner [Tue, 24 Apr 2012 21:35:10 +0000 (14:35 -0700)]
Merge "Don't start a dimming operation when hiding."
Craig Mautner [Tue, 24 Apr 2012 21:30:15 +0000 (14:30 -0700)]
Don't start a dimming operation when hiding.
Check to see if app token is hiding before going ahead with turning on
dimming. Before this fix went in we were turning dimming back on right
after turning it off. Then we didn't turn it off again until all
animations had completed leading to a delayed dim-off experience.
Fixes bug
6378033.
Change-Id: Ic819a0093ba95f62df369266c07525835703c5fa
Scott Main [Tue, 24 Apr 2012 21:28:07 +0000 (14:28 -0700)]
am
38646b97: am
82e9de51: am
40a33f3b: Merge "docs: add meta description to first training docs" into ics-mr1
* commit '
38646b9710ccd72aba454ab97abff0384102e0a4':
Scott Main [Tue, 24 Apr 2012 21:28:05 +0000 (14:28 -0700)]
am
7e07274d: am
a5ca2aa2: am
40a33f3b: Merge "docs: add meta description to first training docs" into ics-mr1
* commit '
7e07274dbcfda3da06855f72466c301c649c832c':
Scott Main [Tue, 24 Apr 2012 21:28:03 +0000 (14:28 -0700)]
Scott Main [Tue, 24 Apr 2012 21:28:01 +0000 (14:28 -0700)]
Scott Main [Tue, 24 Apr 2012 21:27:35 +0000 (14:27 -0700)]
Scott Main [Tue, 24 Apr 2012 21:27:32 +0000 (14:27 -0700)]
Travis Geiselbrecht [Tue, 24 Apr 2012 21:23:25 +0000 (14:23 -0700)]
am
f4b6628e: BootAnimation: fix bug to delay the appropriate amount of time per frame
* commit '
f4b6628e5084bf317eab5326c51cbecb8fabdc45':
BootAnimation: fix bug to delay the appropriate amount of time per frame
John Reck [Tue, 24 Apr 2012 21:18:17 +0000 (14:18 -0700)]
Merge "Use the right timeout"
Travis Geiselbrecht [Tue, 24 Apr 2012 21:14:55 +0000 (14:14 -0700)]
BootAnimation: fix bug to delay the appropriate amount of time per frame
Change-Id: I300b67a97a9a685cec59df12d8d605c2b0b49180
John Reck [Tue, 24 Apr 2012 21:14:47 +0000 (14:14 -0700)]
Use the right timeout
oops
Change-Id: I667b849af4c5d4fece42e9bcbc5b6b9951b955bb
Steve Block [Tue, 24 Apr 2012 21:11:26 +0000 (14:11 -0700)]
Merge "Add tests for reflection and improve JavaDoc for Java Bridge"
Scott Main [Tue, 24 Apr 2012 20:58:19 +0000 (13:58 -0700)]
am
8ad5740e: am
b3914283: am
ffad98c7: docs: fix markup error in resource sidenav
* commit '
8ad5740ec1d84cd4c8c8dbbd25ab2f6bcea7b2db':
Scott Main [Tue, 24 Apr 2012 20:58:11 +0000 (13:58 -0700)]
am
12d21185: am
186c1de7: am
ffad98c7: docs: fix markup error in resource sidenav
* commit '
12d211853ce252b120d97da071d4a46763981cea':
Scott Main [Tue, 24 Apr 2012 20:58:04 +0000 (13:58 -0700)]
Scott Main [Tue, 24 Apr 2012 20:58:02 +0000 (13:58 -0700)]
Scott Main [Tue, 24 Apr 2012 20:57:58 +0000 (13:57 -0700)]
am
178e6e6a: am
5f831aee: am
421854e6: docs: add fragments class to training TOC
* commit '
178e6e6a4b39546bc176f59bc21a9c80b281f328':
Scott Main [Tue, 24 Apr 2012 20:57:56 +0000 (13:57 -0700)]
am
aa364266: am
fa6ddddd: am
421854e6: docs: add fragments class to training TOC
* commit '
aa364266fe51705a96766090eee01cee42293be6':
Scott Main [Tue, 24 Apr 2012 20:57:54 +0000 (13:57 -0700)]
am
3a2fcf73: am
28dd9d83: am
67e988e0: Merge "docs: for AU basic training on fragments including ZIP for sample app" into ics-mr1
* commit '
3a2fcf73c4050281e41a9f6bd42fc80035e2b3b3':
Scott Main [Tue, 24 Apr 2012 20:57:53 +0000 (13:57 -0700)]
am
1324aff1: am
883ae2b9: am
6ea11c0a: Merge "docs: Add 101 class on activity lifecycle including ZIP for sample app" into ics-mr1
* commit '
1324aff1c863aac244125dfa7092bbb79f472a33':
Scott Main [Tue, 24 Apr 2012 20:57:41 +0000 (13:57 -0700)]
am
c7a8f17f: am
718c2f4d: am
67e988e0: Merge "docs: for AU basic training on fragments including ZIP for sample app" into ics-mr1
* commit '
c7a8f17fb85ccbd6d4689bb8fd96eb4052aff9fa':
Scott Main [Tue, 24 Apr 2012 20:57:38 +0000 (13:57 -0700)]
am
19103c72: am
25d27074: am
6ea11c0a: Merge "docs: Add 101 class on activity lifecycle including ZIP for sample app" into ics-mr1
* commit '
19103c720a1d52a53710107eb3fcc195bd604c0e':
Dirk Dougherty [Tue, 24 Apr 2012 20:57:36 +0000 (13:57 -0700)]
am
9d6d3eb3: am
08979f29: am
2a73a218: Doc change: Add link target for developer video block.
* commit '
9d6d3eb34063b8aa6ffd177d3657d859fde87273':
Dirk Dougherty [Tue, 24 Apr 2012 20:57:34 +0000 (13:57 -0700)]
am
1ef3d4ef: am
fd8c8af2: am
2a73a218: Doc change: Add link target for developer video block.
* commit '
1ef3d4efa161510ff986432c2f0d37bba6b3e881':
Dirk Dougherty [Tue, 24 Apr 2012 20:57:32 +0000 (13:57 -0700)]
am
14dfc618: am
31377696: am
3e6b20be: Doc change: update links to developer video.
* commit '
14dfc6183a4d93b3d2c3c594428acc8999b153d4':
Dirk Dougherty [Tue, 24 Apr 2012 20:57:30 +0000 (13:57 -0700)]
am
66edbfa2: am
0f340ab3: am
3e6b20be: Doc change: update links to developer video.
* commit '
66edbfa2cd9d21e9884659a19bf9acfbbe444c47':
Jean-Baptiste Queru [Tue, 24 Apr 2012 20:57:12 +0000 (13:57 -0700)]
am
75b1c301: am
ed11920c: am
60247737: Merge "Fix build - re-generate current.txt"
* commit '
75b1c3011be727acbc862d6684299709756a33bd':
Fix build - re-generate current.txt
Dirk Dougherty [Tue, 24 Apr 2012 20:57:01 +0000 (13:57 -0700)]
am
e7c94770: am
e7184552: am
93a333e3: Doc change: Add summary page of Android Developers Live videos.
* commit '
e7c94770f74887ffba0d0e7980e23869bd1b6446':
Dirk Dougherty [Tue, 24 Apr 2012 20:56:59 +0000 (13:56 -0700)]
am
74e5c926: am
91e1d4f4: am
93a333e3: Doc change: Add summary page of Android Developers Live videos.
* commit '
74e5c926a54305df82562d18afa53dc7bf85d30d':
Joe Malin [Tue, 24 Apr 2012 20:56:13 +0000 (13:56 -0700)]
am
0f762466: am
fdfb4d75: am
20176edc: Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1
* commit '
0f762466e4548b505049cf3a6571b61972519f0b':
Chris Craik [Tue, 24 Apr 2012 20:55:26 +0000 (13:55 -0700)]
Merge "Add useMinimalMemory=true test to TileBenchmark"
Joe Malin [Tue, 24 Apr 2012 20:50:43 +0000 (13:50 -0700)]
am
c111230e: am
cfab1364: am
20176edc: Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1
* commit '
c111230e7654af01ddf98a103444513d8a9e5803':
Dianne Hackborn [Tue, 24 Apr 2012 20:50:24 +0000 (13:50 -0700)]
am
0172264b: am
294374bf: am
5e542108: Merge "Remove deprecation on android:enabled attribute."
* commit '
0172264bda0b3b018815cb4cdf26b00ccb7d7fe5':
Remove deprecation on android:enabled attribute.
Dianne Hackborn [Tue, 24 Apr 2012 20:50:21 +0000 (13:50 -0700)]
am
b4781b9b: am
ea8ceca8: am
90577af7: Merge "use utf8_length() instead of local function, isValidUtf8()"
* commit '
b4781b9b489bc8b0049e1e92b7ab00e32b02b12c':
use utf8_length() instead of local function, isValidUtf8()
Dianne Hackborn [Tue, 24 Apr 2012 20:50:14 +0000 (13:50 -0700)]
am
79511838: (-s ours) am
ec96305e: am
559167f3: Merge "Volume Overlay Bug When swapping streams"
* commit '
79511838f94c38f92215173c18f3e17da61a8f5d':
Volume Overlay Bug When swapping streams
Steve Block [Tue, 24 Apr 2012 12:01:34 +0000 (13:01 +0100)]
Add tests for reflection and improve JavaDoc for Java Bridge
Bug:
5461416
Change-Id: Ic339b97a9424d8848f8afd47ba00cbbee4d60c9d
Chris Wren [Tue, 24 Apr 2012 20:16:05 +0000 (13:16 -0700)]
Merge "Don't allow children of a SizeAdaptiveLayout to measure outside their declared range of valid sizes."
Chris Wren [Tue, 24 Apr 2012 13:50:03 +0000 (09:50 -0400)]
Don't allow children of a SizeAdaptiveLayout to measure outside their declared range of valid sizes.
Bug:
6377749
Change-Id: Ie706006eee9c0ed8dda468212a652941b8e20be0
Jeff Sharkey [Tue, 24 Apr 2012 20:10:32 +0000 (13:10 -0700)]
Merge "Disable READ_EXTERNAL enforcement until API level cut."
Jeff Sharkey [Tue, 24 Apr 2012 20:09:13 +0000 (13:09 -0700)]
Disable READ_EXTERNAL enforcement until API level cut.
Bug:
6389556
Change-Id: I78238b9de24c1b8ebb4fdc35d8aafd2e85a4adfe
Eric Fischer [Tue, 24 Apr 2012 20:06:06 +0000 (13:06 -0700)]
Merge "Import translations. DO NOT MERGE"
Eric Fischer [Tue, 24 Apr 2012 20:05:29 +0000 (13:05 -0700)]
Merge "Import translations. DO NOT MERGE"
Eric Fischer [Tue, 24 Apr 2012 19:49:19 +0000 (12:49 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ib2edd737c39db1a06e846d3863cbc52eab2777ab
Eric Fischer [Tue, 24 Apr 2012 19:39:18 +0000 (12:39 -0700)]
Import translations. DO NOT MERGE
Change-Id: I256639001505523434884de60d949295152ed10d
Philip Milne [Tue, 24 Apr 2012 18:36:54 +0000 (11:36 -0700)]
Merge "Promote layout debugging code from GridLayout to ViewGroup."
Gilles Debunne [Tue, 24 Apr 2012 18:27:32 +0000 (11:27 -0700)]
Merge "Editor uses a SpanWatcher to track EasyEditSpans"
Chris Wren [Tue, 24 Apr 2012 18:19:30 +0000 (11:19 -0700)]
Merge "actions on notifications should stack vertically."
Chris Wren [Tue, 24 Apr 2012 14:45:13 +0000 (10:45 -0400)]
actions on notifications should stack vertically.
Bug:
6317471
Change-Id: Ic49b7c3c95dd5033b380655fb5671433b13959ac
Glenn Kasten [Tue, 24 Apr 2012 18:02:55 +0000 (11:02 -0700)]
Merge "Scheduling policy service"
Craig Mautner [Tue, 24 Apr 2012 17:08:34 +0000 (10:08 -0700)]
Merge "Various debugging enhancements."
Craig Mautner [Tue, 24 Apr 2012 17:02:38 +0000 (10:02 -0700)]
Merge "Fix visual glitch in app transition."
Craig Mautner [Tue, 24 Apr 2012 00:24:21 +0000 (17:24 -0700)]
Various debugging enhancements.
Also moved DummyAnimation into AppWindowAnimator where it belongs.
Change-Id: I7da254a8b99030b898e2ff8d983500d7ce0b2b65
Robert Greenwalt [Tue, 24 Apr 2012 16:55:02 +0000 (09:55 -0700)]
Merge "Allow quoted strings from NativeDaemonConnector"
Glenn Kasten [Mon, 23 Apr 2012 22:00:43 +0000 (15:00 -0700)]
Scheduling policy service
Change-Id: I6178b96896ffbb3323210f93784a65d724a3e694
Quddus Chong [Tue, 24 Apr 2012 16:45:08 +0000 (09:45 -0700)]
am
5c847203: am
4fd13fda: docs: Fixed typos.
* commit '
5c84720322afaae4f4a7e0ea6ad71c309df7eb80':
docs: Fixed typos.
Quddus Chong [Tue, 24 Apr 2012 16:42:09 +0000 (09:42 -0700)]
am
4fd13fda: docs: Fixed typos.
* commit '
4fd13fda636a3a5ab247367da23ae1527a66d8aa':
docs: Fixed typos.
Chris Wren [Tue, 24 Apr 2012 16:41:29 +0000 (09:41 -0700)]
Merge "animate the notification glows in and out"
Andrew Flynn [Tue, 24 Apr 2012 16:37:33 +0000 (09:37 -0700)]
Merge "Remove unneeded sw600dp assets; clean up the needed ones."
Craig Mautner [Tue, 24 Apr 2012 16:34:37 +0000 (09:34 -0700)]
Fix visual glitch in app transition.
When dummy animation is being used, set the alpha to 0 or 1 depending
on whether the app was previously hidden or visible.
Change-Id: I1a4e3cdb4b9ca4a6aef58e47bf26e5adbef66a7f
Robert Greenwalt [Tue, 24 Apr 2012 16:28:45 +0000 (09:28 -0700)]
Merge "Stop complaining about failure to remove routes"
Martijn Coenen [Tue, 24 Apr 2012 16:03:33 +0000 (09:03 -0700)]
Merge "Allow enabling Bluetooth without auto-connecting."
Steve Block [Tue, 24 Apr 2012 10:22:27 +0000 (03:22 -0700)]
Merge "Update WebViewClassic JavaDoc to refer to WebView"
Steve Block [Mon, 23 Apr 2012 17:17:19 +0000 (18:17 +0100)]
Update WebViewClassic JavaDoc to refer to WebView
Change-Id: I5152ce82111dc661e5dc723d5c3402f2765b7312
Jonathan Dixon [Tue, 24 Apr 2012 10:01:55 +0000 (03:01 -0700)]
Merge "static methods in CookieManger call via instance"
Jonathan Dixon [Tue, 24 Apr 2012 08:48:28 +0000 (09:48 +0100)]
static methods in CookieManger call via instance
This allows CookieManager subclasses to correctly override all behvaior
in the base class.
Bug:
6379925
Change-Id: Ife02db24bc192bc1eabf09e0d64668716786d237
Romain Guy [Tue, 24 Apr 2012 03:46:04 +0000 (20:46 -0700)]
Merge "I broke the build after all... here's a fix."
Romain Guy [Tue, 24 Apr 2012 03:44:04 +0000 (20:44 -0700)]
I broke the build after all... here's a fix.
Change-Id: I970715fcff5a74a0ce272654c2ea79e4ab3684bf
Adam Powell [Tue, 24 Apr 2012 03:38:34 +0000 (20:38 -0700)]
Merge "Don't launch ACTION_QUICK_CONTACT activities in a new task."
Romain Guy [Tue, 24 Apr 2012 03:36:17 +0000 (20:36 -0700)]
Fix the build before the bot yells at me.
Change-Id: Ice7fe02b684ad662262aae3cac7a48a835ebcad5
Romain Guy [Tue, 24 Apr 2012 01:22:09 +0000 (18:22 -0700)]
Prevent WebView from crashing when detached from the window
Bug #
6365056
WebView enqueues a functor in the hardware renderer to handle
animations and this functor is called at a later time by the
hardware renderer. However, the functor was not removed from
the queue when WebView was removed from the window. This could
cause the hardware renderer to attempt to execute an invalid
functor and lead to a crash.
Change-Id: I9d38e80f3fdc5e29d4d0cdfa1e893c251a954508
Daniel Sandler [Tue, 24 Apr 2012 02:29:58 +0000 (22:29 -0400)]
Remove unneeded sw600dp assets; clean up the needed ones.
These are still FPO, but now they've all been downscaled
from xhdpi.
Change-Id: I02371ea8b9e449fd0f024d034ee0f9f802fda32d
Adam Powell [Tue, 24 Apr 2012 01:54:59 +0000 (18:54 -0700)]
Don't launch ACTION_QUICK_CONTACT activities in a new task.
Change-Id: Ib6ea6da88cd8addbc02398c29bb7a0b455b02bda
Maurice Chu [Tue, 24 Apr 2012 02:06:09 +0000 (19:06 -0700)]
Merge "Fix build breakage resulting from change id: Ia1038f45"
Maurice Chu [Tue, 24 Apr 2012 02:03:13 +0000 (19:03 -0700)]
Fix build breakage resulting from change id: Ia1038f45
Corrected adding a backslash before apostrophes in the strings.xml file.
Change-Id: I83574042184c9abb78409441ddf2d0e58a68f207
Gilles Debunne [Tue, 24 Apr 2012 01:31:22 +0000 (18:31 -0700)]
Merge "Centered text is not updated"
Gilles Debunne [Thu, 12 Apr 2012 21:50:23 +0000 (14:50 -0700)]
Editor uses a SpanWatcher to track EasyEditSpans
Will also fix Bug
6344997
The previous TextWatcher mechanism was inneficient. It require an
expensive getSpans() call to retrieve all the spans and then search
for the one we're interested in in case it has been changed.
The SpanWatcher is faster, it will broadcast the add/changed/removed
events we're interested in.
Now that we can rely on SpanWatcher, use it to directly track
addition and removals of EasyEditSpans.
No unit test for this feature which require an integration with
the voice IME. Easy to test manually though.
Change-Id: Idabcacc48c479bf9868d5204c0b0ca709207ede2
Craig Mautner [Tue, 24 Apr 2012 01:20:28 +0000 (18:20 -0700)]
Merge "Set mOrientationChangeComplete after windows drawn."
Gilles Debunne [Tue, 24 Apr 2012 01:17:30 +0000 (18:17 -0700)]
Merge "Fixed SSB. Correct broadcast of removed spans' positions"
Craig Mautner [Tue, 24 Apr 2012 01:14:07 +0000 (18:14 -0700)]
Set mOrientationChangeComplete after windows drawn.
Force a pass through layout with mOrientationChangeComplete set
following all windows drawn when the application is freezing the
screen.
This fixes bug
6359311.
Change-Id: I318864fb687cf85a0c9ac4478e4f29dc20f43d9c
Robert Greenwalt [Tue, 24 Apr 2012 01:00:37 +0000 (18:00 -0700)]
Stop complaining about failure to remove routes
We often get told a network has gone away after the interface is downed
and the routes are auto-removed. Change the log to VDBUG so standard
builds don't have the noise.
bug:
2856577
Change-Id: If12ec3ed3b646ff6ef89b3778d037cfc478c0d25
Jake Hamby [Tue, 24 Apr 2012 00:57:05 +0000 (17:57 -0700)]
Merge "After reboot with airplane mode and BT enabled, keep BT enabled."
Maurice Chu [Tue, 24 Apr 2012 00:56:07 +0000 (17:56 -0700)]
Merge "Changed the description of android.permission.READ_CONTACTS"
Xavier Ducrohet [Tue, 24 Apr 2012 00:43:03 +0000 (17:43 -0700)]
Merge "Fix Paint_Delegate with missing native method."
Xavier Ducrohet [Tue, 24 Apr 2012 00:41:37 +0000 (17:41 -0700)]
Fix Paint_Delegate with missing native method.
Change-Id: I39638dcb323fdd1ec3cb58dcad05757145d09026
Maurice Chu [Tue, 24 Apr 2012 00:34:59 +0000 (17:34 -0700)]
Changed the description of android.permission.READ_CONTACTS
Bug:
6141955
Change-Id: Ia1038f45d4f72358446ec265130bb34f8b228f82
Quddus Chong [Tue, 24 Apr 2012 00:29:57 +0000 (17:29 -0700)]
docs: Fixed typos.
Change-Id: I260ab8c5ea797e5bd8b9b2fcbd0d5dc6e5e8bc7c
Glenn Kasten [Tue, 24 Apr 2012 00:11:55 +0000 (17:11 -0700)]
Merge "Scheduling group cleanup"
Jeff Brown [Mon, 23 Apr 2012 23:53:28 +0000 (16:53 -0700)]
Merge "More work on international keyboards."
Gilles Debunne [Mon, 23 Apr 2012 23:21:35 +0000 (16:21 -0700)]
Centered text is not updated
Bug
6378843
Emergency fix. May submit a proper fix with less translations later.
Change-Id: I9d8348e29d5436580202d3ee0456d341bf81dab8
Philip Milne [Mon, 23 Apr 2012 22:38:27 +0000 (15:38 -0700)]
Promote layout debugging code from GridLayout to ViewGroup.
Layout debugging code draws rectangles around:
1. Layout insets (red)
2. Bounds (blue)
3. Margins (magenta)
Layout debug mode is enabled with:
adb shell setprop debug.layout true
Change-Id: Ia155a2d0fbf33693a1e3c040f627ea3a534e1aff
Daniel Sandler [Mon, 23 Apr 2012 23:40:13 +0000 (16:40 -0700)]
Merge "Expand hit rectangles of main navigation buttons."
Martijn Coenen [Wed, 18 Apr 2012 20:01:15 +0000 (13:01 -0700)]
Allow enabling Bluetooth without auto-connecting.
This is a feature used for NFC-to-Bluetooth handover:
we want to enable BT for file transfer, and disconnect
it when we're done. During this period we don't want
to auto-connect other devices - it should be transparent
to the user that Bluetooth is used. Also, don't allow
A2DP/HSP incoming connections.
Change-Id: I0a03e8084c439b1271b6a80f4d9da5aacfe19c45
Jake Hamby [Mon, 23 Apr 2012 23:15:42 +0000 (16:15 -0700)]
After reboot with airplane mode and BT enabled, keep BT enabled.
Enabling airplane mode disables Wi-Fi and Bluetooth as well as the
cell radio. Bluetooth and Wi-Fi can then be reenabled if desired.
After a reboot, Bluetooth was always disabled if airplane mode
was enabled. Changed to set Bluetooth to its previous state after
reboot, regardless of the airplane mode setting. This is already
the behavior for Wi-Fi after a reboot.
Bug:
5623624
Change-Id: I1c44500221aa0e5d1d7a5c9046d6c1380d28b5c0
Jeff Brown [Mon, 23 Apr 2012 23:12:32 +0000 (16:12 -0700)]
More work on international keyboards.
Changed the English US keymaps to implement a strict US key map
with no additional ALT functions.
Fixed a bug copying the alias in the InputDevice copy constructor.
Added support for end of line comments in KCM and KL files.
Added the German keyboard layout.
Sorted the keys in the keyboard layout files by physical arrangement
to make it easier to maintain them.
Bug:
6110399
Change-Id: If44d83de5b98f2bf0016cbb8e12264387b286aaa
Gilles Debunne [Mon, 23 Apr 2012 22:53:37 +0000 (15:53 -0700)]
Merge "Re-added a flag to prevent the IME from showing"
Romain Guy [Mon, 23 Apr 2012 22:31:08 +0000 (15:31 -0700)]
Merge "Invoke onTrimMemory with an EGL context Bug #
6369600"
Glenn Kasten [Thu, 15 Mar 2012 23:33:43 +0000 (16:33 -0700)]
Scheduling group cleanup
The C++ API for scheduling groups is going away, so use the C API.
Renumber THREAD_GROUP_* constants to have the same values as SP_*.
They are @hide so this should be OK.
The old THREAD_GROUP_FG_BOOST constant is removed, and replaced by a
(private) THREAD_GROUP_FOREGROUND constant that is just a placeholder
to correspond to SP_FOREGROUND. It is not usable at this level.
Improved performance of android_os_Process_setProcessGroup:
avoid unnecessary syscall to getpriority for each tid.
Fixed error handling in android_os_Process_setThreadGroup.
It raises an exception if set_sched_policy() returns an error.
Add comments and fix typos in existing comments.
Change-Id: Ib922e92c945985c695ef0addbd2b83b8e82865f8