OSDN Git Service
Carlos Valdivia [Tue, 1 Oct 2013 00:11:14 +0000 (17:11 -0700)]
am
d6957d5f: Merge "Prevent authenticators from using Settings to launch arbitrary activities." into klp-dev
* commit '
d6957d5f8ddf3b542996955bf2d6efe0e9804ef4':
Prevent authenticators from using Settings to launch arbitrary activities.
Jake Hamby [Tue, 1 Oct 2013 00:11:09 +0000 (17:11 -0700)]
am
65cacb3c: Merge "Add android.provider.Telephony to public API." into klp-dev
* commit '
65cacb3c5174f93debd481c7d573f34bc36f80f4':
Add android.provider.Telephony to public API.
Daniel Sandler [Tue, 1 Oct 2013 00:11:03 +0000 (17:11 -0700)]
am
026dc143: Merge "Fix configuration changes in status bars." into klp-dev
* commit '
026dc1432ef70308ef44dafcc28998436e304e75':
Fix configuration changes in status bars.
Dianne Hackborn [Tue, 1 Oct 2013 00:10:55 +0000 (17:10 -0700)]
am
57d96f0e: Merge "Fix issue #
10948509: Crash in procstats when there is no data" into klp-dev
* commit '
57d96f0e92e8af842878660a8271e65cec2426d3':
Fix issue #
10948509: Crash in procstats when there is no data
Svetoslav Ganov [Tue, 1 Oct 2013 00:10:46 +0000 (17:10 -0700)]
am
0ed01ab5: Merge "Printers in the list of printers change position." into klp-dev
* commit '
0ed01ab57f1277a3889da10daa87733c1af6e0d0':
Printers in the list of printers change position.
Craig Mautner [Tue, 1 Oct 2013 00:10:43 +0000 (17:10 -0700)]
am
564e8e6f: Merge "Ensure correct window ordering." into klp-dev
* commit '
564e8e6f548951c9fe5825aaad327b9ffbeece82':
Ensure correct window ordering.
Craig Mautner [Tue, 1 Oct 2013 00:10:39 +0000 (17:10 -0700)]
am
64ce6b78: Merge "Don\'t kill home process with the rest of its package." into klp-dev
* commit '
64ce6b78ccb8522a6147843f4206a5b128571b03':
Don't kill home process with the rest of its package.
Craig Mautner [Tue, 1 Oct 2013 00:10:36 +0000 (17:10 -0700)]
am
5a0c54a5: Merge "Remove home package name methods." into klp-dev
* commit '
5a0c54a5112612777becd7a0f12f74cf720c1b7f':
Remove home package name methods.
Svetoslav [Tue, 1 Oct 2013 00:10:21 +0000 (17:10 -0700)]
am
c6568719: Merge "Ignore historical printer records for installed services" into klp-dev
* commit '
c6568719671206e726f260fad390680f7fb0ee9e':
Ignore historical printer records for installed services
Adam Powell [Tue, 1 Oct 2013 00:10:18 +0000 (17:10 -0700)]
am
43a372f3: Keyguard transport controls: fullscreen art
* commit '
43a372f38ad642f86047e8112e3d43edb7300439':
Keyguard transport controls: fullscreen art
Jim Miller [Tue, 1 Oct 2013 00:10:15 +0000 (17:10 -0700)]
am
1ae85153: Merge "Fix missing transport in keyguard" into klp-dev
* commit '
1ae85153c804553365d18715824fd3a569f8ce18':
Fix missing transport in keyguard
Jim Miller [Tue, 1 Oct 2013 00:10:11 +0000 (17:10 -0700)]
am
fb2e3c8d: Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev
* commit '
fb2e3c8d47c162166a029a97d68ad3bedff89cce':
Fix permissions on WindowManagerService.showAssistant()
Svetoslav Ganov [Tue, 1 Oct 2013 00:10:08 +0000 (17:10 -0700)]
am
b415525a: Merge "Print job files and print job records not always cleaned up." into klp-dev
* commit '
b415525a16074b6dc8e295655648b7c7c1074bbb':
Print job files and print job records not always cleaned up.
Craig Mautner [Tue, 1 Oct 2013 00:10:02 +0000 (17:10 -0700)]
am
16e6e203: Merge "Centralize handleAppDied and fix return to home." into klp-dev
* commit '
16e6e203c0c86a1cbc1a7c1cf20cb5447f705a32':
Centralize handleAppDied and fix return to home.
Adam Lesinski [Tue, 1 Oct 2013 00:09:58 +0000 (17:09 -0700)]
am
0c923b7c: Merge "Add badging of Payment apps" into klp-dev
* commit '
0c923b7ce1f4e40b401bcd342f4ee4399f4ad9d7':
Add badging of Payment apps
Adam Lesinski [Tue, 1 Oct 2013 00:09:54 +0000 (17:09 -0700)]
am
5223a5ff: Merge "Add support for dumping new badging" into klp-dev
* commit '
5223a5ff24bed6d0a0ac618083a3ed050bdd98b2':
Add support for dumping new badging
Svetoslav Ganov [Tue, 1 Oct 2013 00:09:51 +0000 (17:09 -0700)]
am
c783f673: Merge "Adding a timeout for waiting to get the selected printer\'s capabilities." into klp-dev
* commit '
c783f6738f0f6d2cb57702cfbc9219c59a3410a3':
Adding a timeout for waiting to get the selected printer's capabilities.
Jeff Sharkey [Tue, 1 Oct 2013 00:09:48 +0000 (17:09 -0700)]
am
cc637d9a: Merge "New roots UX, async, performance, docs." into klp-dev
* commit '
cc637d9ae5920ac2f685090f595dc1e1643d71cc':
New roots UX, async, performance, docs.
Michael Wright [Tue, 1 Oct 2013 00:09:46 +0000 (17:09 -0700)]
am
edb444b4: Merge "Add missing constructor parameter to KeyEvent" into klp-dev
* commit '
edb444b44419def54292cf8325c22697213153fa':
Add missing constructor parameter to KeyEvent
Zhijun He [Tue, 1 Oct 2013 00:09:41 +0000 (17:09 -0700)]
am
9552f9b8: Merge "Camera2: remove CameraDevice#getProperties" into klp-dev
* commit '
9552f9b8c2bc6d671809514cb402cbc48ee2e323':
Camera2: remove CameraDevice#getProperties
Scott Main [Tue, 1 Oct 2013 00:09:23 +0000 (17:09 -0700)]
am
3fd40b9a: am
584d4f69: am
57177492: am
4a9999f1: remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
* commit '
3fd40b9acb49a2953a014ac929db6b6d7ef12f16':
remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
Amith Yamasani [Tue, 1 Oct 2013 00:09:19 +0000 (17:09 -0700)]
am
797df438: am
01c2e173: (-s ours) am
49039929: am
49eb1d95: am
d084cc44: am
4f59a921: am
12fd0f16: am
f6a0c116: am
9bf1a139: am
72c5e376: am
ba1ae3af: am
42786418: Don\'t instantiate non-Fragments in Fragment.instantiate
* commit '
797df43849fd79c05f3a56bdc62748c38e7a182c':
Don't instantiate non-Fragments in Fragment.instantiate
David Friedman [Tue, 1 Oct 2013 00:09:16 +0000 (17:09 -0700)]
am
4feebfc4: am
afd85f82: am
c6d085a5: am
37453a83: Merge "Docs: Changed" into jb-mr2-docs
* commit '
4feebfc427803378d7fad0488b238715fbe435ec':
Docs: Changed
David Friedman [Tue, 1 Oct 2013 00:09:13 +0000 (17:09 -0700)]
am
6f3193f7: am
f0a5a844: am
165489da: am
2fe85a10: Merge "Docs: "radio button"->"checkbox" in "Tip" at bottom of doc Bug:
10641902" into jb-mr2-docs
* commit '
6f3193f78d8a28c763e136d1d19208e6dcd68270':
Docs: "radio button"->"checkbox" in "Tip" at bottom of doc Bug:
10641902
David Friedman [Tue, 1 Oct 2013 00:09:11 +0000 (17:09 -0700)]
am
4778aff0: am
ff379fc4: am
707bac2b: am
0b1cfc1f: Merge "Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug:
10797360" into jb-mr2-docs
* commit '
4778aff02fe0df20ee5393fa739beca0b048e5a4':
Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug:
10797360
David Friedman [Tue, 1 Oct 2013 00:09:08 +0000 (17:09 -0700)]
am
d42e4132: am
233a341b: am
1b8e3197: am
8c38ea39: Merge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug:
10807931 10796994" into jb-mr2-docs
* commit '
d42e4132bafe1b7cf6a665b6a0ed3160fe3ac991':
Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug:
10807931 10796994
David Friedman [Tue, 1 Oct 2013 00:09:05 +0000 (17:09 -0700)]
am
3f54532d: am
657343d7: am
b648f950: am
23bd5927: Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug:
10796099
* commit '
3f54532d72d834a41730501f42990c45393b2be1':
Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug:
10796099
Lajos Molnar [Tue, 1 Oct 2013 00:09:03 +0000 (17:09 -0700)]
am
974a6e12: Merge "Make SubtitleController thread safe" into klp-dev
* commit '
974a6e1231f80644e382567c5f0a5fb9b6962d27':
Make SubtitleController thread safe
Raph Levien [Tue, 1 Oct 2013 00:08:48 +0000 (17:08 -0700)]
am
e048f84a: Fix for jank when fast-scrolling DeskClock\'s world cities list in RTL
* commit '
e048f84a762d5f85829ceb2b45de52b73727de74':
Fix for jank when fast-scrolling DeskClock's world cities list in RTL
Alan Viverette [Tue, 1 Oct 2013 00:08:22 +0000 (17:08 -0700)]
am
015bcd4d: Merge "Add warning about using MergeCursor in CursorAdapter" into klp-dev
* commit '
015bcd4dd43b850ef209c64dae9c08ccaef9ea80':
Add warning about using MergeCursor in CursorAdapter
Daniel Sandler [Tue, 1 Oct 2013 00:08:06 +0000 (17:08 -0700)]
am
723ad75e: Merge "API cleanups for Notification." into klp-dev
* commit '
723ad75e107f57dc541dfca600745895e1251974':
API cleanups for Notification.
John Spurlock [Tue, 1 Oct 2013 00:07:53 +0000 (17:07 -0700)]
am
d01a1b04: Merge "Remove unused views when we return to keyguard" into klp-dev
* commit '
d01a1b0473a38bd75555b3138e8e0037fe391d82':
Remove unused views when we return to keyguard
John Spurlock [Tue, 1 Oct 2013 00:07:50 +0000 (17:07 -0700)]
am
e5b14ee1: Merge "Restore scrim views to former place in view hierarchy." into klp-dev
* commit '
e5b14ee1281325dc7e54df3fd820ff4bd830ef3c':
Restore scrim views to former place in view hierarchy.
Jean Chalard [Tue, 1 Oct 2013 00:07:23 +0000 (17:07 -0700)]
am
5638d29a: Merge "Fix conflicting/unclear documentation in InputConnection." into klp-dev
* commit '
5638d29a648ee5722bb88355351c56fde7d6bc93':
Fix conflicting/unclear documentation in InputConnection.
Daniel Sandler [Tue, 1 Oct 2013 00:07:20 +0000 (17:07 -0700)]
am
a9cf1de4: Merge "Would you like a dessert?" into klp-dev
* commit '
a9cf1de470db5910a38f733f4cd089a44d3162c5':
Would you like a dessert?
Jeff Sharkey [Tue, 1 Oct 2013 00:07:17 +0000 (17:07 -0700)]
am
10d65592: Merge "Make directories always enabled, for realz." into klp-dev
* commit '
10d655927c5c10af0561ecc0961f9a9fcbad89f0':
Make directories always enabled, for realz.
Svetoslav [Tue, 1 Oct 2013 00:07:13 +0000 (17:07 -0700)]
am
25b0151a: Merge "Printers in the list of printers change position." into klp-dev
* commit '
25b0151a570ff6fb7a6acd9c788b9c3cc9f76be9':
Printers in the list of printers change position.
Craig Mautner [Tue, 1 Oct 2013 00:07:07 +0000 (17:07 -0700)]
am
231bd6c5: Merge "Dismiss keyguard when resuming visible activities" into klp-dev
* commit '
231bd6c514f15cb0b42a04d4fc7fc9631c743686':
Dismiss keyguard when resuming visible activities
Adam Powell [Tue, 1 Oct 2013 00:07:03 +0000 (17:07 -0700)]
am
8fb6d97a: Merge "Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu" into klp-dev
* commit '
8fb6d97ad5671b4abc1940d8bc56cf7448e45c35':
Add gravity settings to PopupWindow/ListPopupWindow/PopupMenu
Chet Haase [Tue, 1 Oct 2013 00:06:55 +0000 (17:06 -0700)]
am
033837dd: Merge "Make fading transitions work better" into klp-dev
* commit '
033837dd6bf32b33d9a67d340efd167f94bf80cf':
Make fading transitions work better
Raph Levien [Tue, 1 Oct 2013 00:06:29 +0000 (17:06 -0700)]
am
adf14902: Merge "Fix for Text fading on RTL app names is done at the beginning..." into klp-dev
* commit '
adf149029f701464c66cc5cacbbbc649c1319bcd':
Fix for Text fading on RTL app names is done at the beginning...
Scott Main [Tue, 1 Oct 2013 00:06:26 +0000 (17:06 -0700)]
am
aaf0f83c: am
ef4e5e61: am
194925f9: am
a8f519ff: add Wallet Instant Buy and Google Cloud Platform to the Google services landing page.
* commit '
aaf0f83c69efd004420633fb577443de80eb35d6':
add Wallet Instant Buy and Google Cloud Platform to the Google services landing page.
Jason Monk [Tue, 1 Oct 2013 00:06:23 +0000 (17:06 -0700)]
am
da51d36c: Merge "Fix Sending PAC Broadcast before downloaded" into klp-dev
* commit '
da51d36c74f62a1c50f3960919cb74c5da178cd2':
Fix Sending PAC Broadcast before downloaded
Jim Miller [Mon, 30 Sep 2013 23:42:26 +0000 (16:42 -0700)]
am
398d7f61: Merge "Update navbar camera icon and widget background assets in keyguard." into klp-dev
* commit '
398d7f61866baab65e69b9107c36ba32bf824353':
Update navbar camera icon and widget background assets in keyguard.
Romain Guy [Mon, 30 Sep 2013 23:42:19 +0000 (16:42 -0700)]
am
33ed738d: Expose View.executeHardwareAction() Bug #
10911502
* commit '
33ed738d49dce3af5851d0566739e9ed593057a5':
Expose View.executeHardwareAction() Bug #
10911502
Craig Mautner [Mon, 30 Sep 2013 23:42:11 +0000 (16:42 -0700)]
am
c449613e: Merge "Revert behavior to perform onResume." into klp-dev
* commit '
c449613ec6ffed7b4605a6708a3341ab2dd5320f':
Revert behavior to perform onResume.
Victoria Lease [Mon, 30 Sep 2013 23:42:08 +0000 (16:42 -0700)]
am
a4eb894a: Merge "clarify Paint flag docs" into klp-dev
* commit '
a4eb894a55b07eeddb05d47558e6b2838d56af08':
clarify Paint flag docs
Romain Guy [Mon, 30 Sep 2013 23:23:05 +0000 (16:23 -0700)]
am
d6c1870d: am
5fceada3: Merge "Fragement, or Fragment: that is the question"
* commit '
d6c1870d434562a10e015915dd9da9f8a956661c':
Fragement, or Fragment: that is the question
Romain Guy [Mon, 30 Sep 2013 23:19:22 +0000 (16:19 -0700)]
am
5fceada3: Merge "Fragement, or Fragment: that is the question"
* commit '
5fceada31f0dc8f8e003e9c1d0a0ed0363711343':
Fragement, or Fragment: that is the question
Romain Guy [Mon, 30 Sep 2013 22:48:44 +0000 (22:48 +0000)]
Merge "Fragement, or Fragment: that is the question"
Cyril Mottier [Mon, 30 Sep 2013 20:42:26 +0000 (22:42 +0200)]
Fragement, or Fragment: that is the question
Change-Id: Iac3a14b9d2d7b4bd1e452db987b3c5c95dbefd3b
Carlos Valdivia [Mon, 30 Sep 2013 17:35:45 +0000 (17:35 +0000)]
Merge "Prevent authenticators from using Settings to launch arbitrary activities." into klp-dev
Jake Hamby [Mon, 30 Sep 2013 17:18:51 +0000 (17:18 +0000)]
Merge "Add android.provider.Telephony to public API." into klp-dev
Daniel Sandler [Mon, 30 Sep 2013 15:02:43 +0000 (15:02 +0000)]
Merge "Fix configuration changes in status bars." into klp-dev
Daniel Sandler [Mon, 30 Sep 2013 14:21:45 +0000 (10:21 -0400)]
Fix configuration changes in status bars.
- Make sure SystemBars calls onConfigurationChanged on the
status bar
- Remove redundant ACTION_CONFIGURATION_CHANGED receiver in
BaseStatusBar & move this code into onConfigurationChanged
- Force locale refresh even if a configuration change
touches only the layout direction
Bug:
10113357
Change-Id: I92902d25cbae77f2558cfb85482484b11dc7294e
Dianne Hackborn [Mon, 30 Sep 2013 00:21:48 +0000 (00:21 +0000)]
Merge "Fix issue #
10948509: Crash in procstats when there is no data" into klp-dev
Dianne Hackborn [Thu, 26 Sep 2013 18:07:17 +0000 (11:07 -0700)]
Fix issue #
10948509: Crash in procstats when there is no data
Not dealing with the case where there is a null list.
Also fixed some bugs I found while looking at this:
- When resetting the stats, we would use a newly computed time stamp
for the total durations rather than the one we used to reset the
proc/service entries. This would result in them being able to be
slightly > 100%.
- There was a bug in how we split a single process state into its
per-package representation, where we would but the cloned process
state into the new package's entry (instead of properly for its
own package entry), to be immediately overwritten by the new
process state we make for that package. This could result in
bad data for processes that have multiple packages.
- There was a bug in resetting service stats, where we wouldn't
update the overall run timestamp, allowing that time to sometimes
be > 100%.
- There was a bug in computing pss data for processes with multiple
packages, where the pss data was not distributed across all of the
activity per-package process states.
- There was a bug in computing the zram information that would cause
it to compute the wrong value, and then never be displayed.
Finally a little code refactoring so that ProcessState and ServiceState
can now share a common implementation for the table of duration values.
Change-Id: I5e0f4e9107829b81f395dad9419c33257b4f8902
Svetoslav Ganov [Sun, 29 Sep 2013 17:26:46 +0000 (17:26 +0000)]
Merge "Printers in the list of printers change position." into klp-dev
Craig Mautner [Sun, 29 Sep 2013 14:26:11 +0000 (14:26 +0000)]
Merge "Ensure correct window ordering." into klp-dev
Craig Mautner [Sun, 29 Sep 2013 14:25:08 +0000 (14:25 +0000)]
Merge "Don't kill home process with the rest of its package." into klp-dev
Craig Mautner [Sun, 29 Sep 2013 14:24:27 +0000 (14:24 +0000)]
Merge "Remove home package name methods." into klp-dev
Carlos Valdivia [Sun, 29 Sep 2013 12:11:56 +0000 (05:11 -0700)]
Prevent authenticators from using Settings to launch arbitrary activities.
Various authenticator results such as getAuthToken and addAccount might
result in an Intent returned to the AccountManager caller. A malicious
authenticator could exploit the fact that the Settings are a system app,
lead the user to launch add account for their account type and thus get
Settings to use the intent to start some arbitrary third parties Activity.
The fix is to make sure that the UID of the app associated with Activity
to be launched by the supplied intent and the Authenticators UID share
the same signature. This means that an authenticator implementer can only
exploit apps they control.
Bug:
7699048
Change-Id: I34330454c341e6a8422ca1ed3b390466a0feedce
Craig Mautner [Sat, 28 Sep 2013 22:58:38 +0000 (15:58 -0700)]
Ensure correct window ordering.
Make sure that moveStackWindowsLocked() is called every time that the
stack ordering changes. This will rebuild the window list. Previously
the call was being made after the moveStack() call which got forgotten
in the addAppToken() causing the home stack to obscure incoming phone
and video calls.
Fixes bug
10023223.
Fixes bug
10678010.
Maybe fixes bug
10858941.
Change-Id: I59922dc979a19210008eac1f528704984c63c886
Craig Mautner [Sat, 28 Sep 2013 19:35:25 +0000 (12:35 -0700)]
Remove home package name methods.
Do not use the shortcut of the package name to identify the home
activity.
Fixes bug
10963726.
Fixes bug
10920950.
Change-Id: I725781a26672b055a816994aee6ea458a7f07c88
Craig Mautner [Sat, 28 Sep 2013 20:46:38 +0000 (13:46 -0700)]
Don't kill home process with the rest of its package.
Killing the GEL search results was killing everything in its package.
This fix keeps the home process from being killed when a task in its
package is killed.
Fixes bug
10927223.
Change-Id: I56e75f0a0118885a1604cbd70320bbdb4f8cf1a2
Svetoslav Ganov [Sat, 28 Sep 2013 19:09:23 +0000 (12:09 -0700)]
Printers in the list of printers change position.
While the logic was correct the array map that holds the list of pritners
does not keep the position of the items constant. Switched to linked hash
map which gives this guarantee.
bug:
10955751
Change-Id: Idbbe14d753e6a1ad1002f2289b10cb62d7f9f040
Svetoslav [Sat, 28 Sep 2013 02:18:33 +0000 (02:18 +0000)]
Merge "Ignore historical printer records for installed services" into klp-dev
Adam Powell [Sat, 28 Sep 2013 00:43:53 +0000 (17:43 -0700)]
Keyguard transport controls: fullscreen art
When the transport controls are active, set the relevant art as a
fullscreen background for the keyguard.
Change-Id: I1e8a87f242153a2a2c5bf94dbd15f0fd3e07dde3
Svetoslav [Sat, 28 Sep 2013 01:29:53 +0000 (18:29 -0700)]
Ignore historical printer records for installed services
When loading historical records for previously used printers we
now ignore the ones whose target print service is not installed.
bug:
10955652
Change-Id: Ib295e7d88ed3c308ef6d8a11bdc1792ebbb6d526
Jim Miller [Sat, 28 Sep 2013 01:30:20 +0000 (01:30 +0000)]
Merge "Fix missing transport in keyguard" into klp-dev
Jim Miller [Sat, 28 Sep 2013 01:18:17 +0000 (01:18 +0000)]
Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev
Jim Miller [Fri, 27 Sep 2013 01:11:38 +0000 (18:11 -0700)]
Fix missing transport in keyguard
Keyguard wasn't re-establishing a connection to the RCD after a
crash. This results in a missing transport until the session reboots.
Fixes bug
10204949
Change-Id: Ia030eacbcf1e3cfa9ee948c841c95d2040f9c1e0
Svetoslav Ganov [Sat, 28 Sep 2013 01:06:51 +0000 (01:06 +0000)]
Merge "Print job files and print job records not always cleaned up." into klp-dev
Craig Mautner [Sat, 28 Sep 2013 00:43:56 +0000 (00:43 +0000)]
Merge "Centralize handleAppDied and fix return to home." into klp-dev
Adam Lesinski [Sat, 28 Sep 2013 00:36:29 +0000 (00:36 +0000)]
Merge "Add badging of Payment apps" into klp-dev
Adam Lesinski [Sat, 28 Sep 2013 00:31:33 +0000 (00:31 +0000)]
Merge "Add support for dumping new badging" into klp-dev
Svetoslav Ganov [Sat, 28 Sep 2013 00:28:07 +0000 (00:28 +0000)]
Merge "Adding a timeout for waiting to get the selected printer's capabilities." into klp-dev
Jeff Sharkey [Sat, 28 Sep 2013 00:27:29 +0000 (00:27 +0000)]
Merge "New roots UX, async, performance, docs." into klp-dev
Svetoslav Ganov [Fri, 27 Sep 2013 17:48:31 +0000 (10:48 -0700)]
Print job files and print job records not always cleaned up.
1. We want the files for a print job to be removed as early as possible
typically because the print job was cancelled, completed, the app
or the spooler crashed during print job construction. We were keeping
around in the spooler and hence to disc infos for jobs that are in
final state since the app that created them may hold a reference to
a local print job objec whose info it can access to get the latest
print job state potentially after the job reached final state. The
issue was that we were persisting to disc created print jobs which
were during construction which requires careful handling for the
various cases above. This is tricky and error prone.
We used to tell the spooler to forget the print jobs infos when the
app that created them died. The implementation to forget a print
job was not careful and was nuking currently running print jobs in
addition to the ones in a terminal state. Further, if the app dies
before a print job is completed we were left with a stale print
job in the spooler since we missed the signal to forget it (assuming
we forget only inactive jobs). These issues suggest that the approach
is problematic.
Now we have a cache of print job infos for the jobs an app created.
This cache is updated when the state of a print jobs changes using
the new print job state observation code. When the app dies we
remove the cached jobs for that app. Now if the app calls to get
the print jobs it gets the cached ones, i.e. the print jobs it
created during its lifetime, plus the print jobs that are still
active fetched from the spooler. Note that transient state cannot
be kept in the spooler since we unbind from it if there is no
work and it may get killed.
2. Improved the print sub-system logging code to show the cached
print job infos for apps and also dump the print job PDF file
names.
bug:
10958357
Change-Id: I6f7c1968b6b7ba5be182a10df044ff7ea1fc3a61
Michael Wright [Sat, 28 Sep 2013 00:26:29 +0000 (00:26 +0000)]
Merge "Add missing constructor parameter to KeyEvent" into klp-dev
Jeff Sharkey [Fri, 27 Sep 2013 23:44:11 +0000 (16:44 -0700)]
New roots UX, async, performance, docs.
Yet another iteration from UX on how roots should be ordered. Since
we no longer categorize by type, remove from public API. Updated
asset drop with new dividers.
Update public API docs to be explicit about required columns. Hide
flags and columns that aren't required for third-party apps.
Move remainder of potentially blocking work to AsyncTasks, including
creating directories, picked root resolution, and creation of new
documents once picked.
Improve performance of layouts by removing baseline alignment and
reduce hierarchy depth. Set alpha on ImageViews directly to avoid
offscreen rendering hit.
Limit returned recents to 45 days. Show load in recents when still
waiting for backends. Show empty message when no recents stacks to
create from. Use unique key when saving recent stacks.
Bug:
10941423,
10819454,
10964412,
10960718
Change-Id: I08cf589dcda7e203acf67928f4d30322ae36ee94
Craig Mautner [Sat, 28 Sep 2013 00:02:21 +0000 (17:02 -0700)]
Centralize handleAppDied and fix return to home.
The home activity was being returned to when any activity in a task
that was launched from home crashed. If there were still activities
left in the task then the crash should have brought up those
activities next, not home.
This may be a partial fix for crashes where the back stack was showing
up under launcher icons. Bug
10858941.
Change-Id: I840a25bd8395bfce46f4e21b112d78b12884706d
Zhijun He [Fri, 27 Sep 2013 23:58:27 +0000 (23:58 +0000)]
Merge "Camera2: remove CameraDevice#getProperties" into klp-dev
Jim Miller [Thu, 19 Sep 2013 22:50:11 +0000 (15:50 -0700)]
Fix permissions on WindowManagerService.showAssistant()
Since binder call permissions are not transitive by design,
the proper way to fix this is to have the call talk directly
to keyguard from the navigation bar.
Fixes bug
9409008
Change-Id: Ibd90a79bb638c969b514455a2ad93c6ff668222d
Scott Main [Fri, 27 Sep 2013 23:04:16 +0000 (16:04 -0700)]
am
584d4f69: am
57177492: am
4a9999f1: remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
* commit '
584d4f69e2f8e904f50169ad223b244de72aa5ed':
remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
Amith Yamasani [Fri, 27 Sep 2013 22:58:08 +0000 (15:58 -0700)]
am
01c2e173: (-s ours) am
49039929: am
49eb1d95: am
d084cc44: am
4f59a921: am
12fd0f16: am
f6a0c116: am
9bf1a139: am
72c5e376: am
ba1ae3af: am
42786418: Don\'t instantiate non-Fragments in Fragment.instantiate
* commit '
01c2e173d99cf4dd1c91cacb9b461082091cbeb3':
Don't instantiate non-Fragments in Fragment.instantiate
David Friedman [Fri, 27 Sep 2013 22:58:05 +0000 (15:58 -0700)]
am
afd85f82: am
c6d085a5: am
37453a83: Merge "Docs: Changed" into jb-mr2-docs
* commit '
afd85f820e032e12887c820883bf1f7d1df14374':
Docs: Changed
David Friedman [Fri, 27 Sep 2013 22:58:02 +0000 (15:58 -0700)]
am
f0a5a844: am
165489da: am
2fe85a10: Merge "Docs: "radio button"->"checkbox" in "Tip" at bottom of doc Bug:
10641902" into jb-mr2-docs
* commit '
f0a5a844a94e3eec386b8fb08d7b405e1e95ed6f':
Docs: "radio button"->"checkbox" in "Tip" at bottom of doc Bug:
10641902
David Friedman [Fri, 27 Sep 2013 22:57:59 +0000 (15:57 -0700)]
am
ff379fc4: am
707bac2b: am
0b1cfc1f: Merge "Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug:
10797360" into jb-mr2-docs
* commit '
ff379fc45c70ab92e6b5422646c9aa67a86002e0':
Docs: In the section "Determine if You Have an Internet Connection," I added to the code snippet so that it also checks whether activeNetwork is null. Bug:
10797360
David Friedman [Fri, 27 Sep 2013 22:57:56 +0000 (15:57 -0700)]
am
233a341b: am
1b8e3197: am
8c38ea39: Merge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug:
10807931 10796994" into jb-mr2-docs
* commit '
233a341b6d9477f7f41d5a954fa7f7a150972ccb':
Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file. Bug:
10807931 10796994
David Friedman [Fri, 27 Sep 2013 22:57:53 +0000 (15:57 -0700)]
am
657343d7: am
b648f950: am
23bd5927: Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug:
10796099
* commit '
657343d782b5ddd8144c724d9131d3f51f39cd8c':
Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be another file with extra apostrophes, but it looks like that one had already been fixed. Bug:
10796099
Lajos Molnar [Fri, 27 Sep 2013 22:57:22 +0000 (22:57 +0000)]
Merge "Make SubtitleController thread safe" into klp-dev
Elliott Hughes [Fri, 27 Sep 2013 22:41:25 +0000 (15:41 -0700)]
am
82e5d875: am
ebd397ad: Merge "Regenerate all the OpenGL stubs."
* commit '
82e5d8758a61f1a49700f67f6ddb69219528bad2':
Regenerate all the OpenGL stubs.
Elliott Hughes [Fri, 27 Sep 2013 22:37:56 +0000 (15:37 -0700)]
am
ebd397ad: Merge "Regenerate all the OpenGL stubs."
* commit '
ebd397ad9182c37487ba95aaa71ae6dcf0c9d762':
Regenerate all the OpenGL stubs.
Scott Main [Fri, 27 Sep 2013 22:36:28 +0000 (15:36 -0700)]
am
57177492: am
4a9999f1: remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
* commit '
571774922ce5ace09c746fdb83cbdce243dad3e4':
remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
Elliott Hughes [Fri, 27 Sep 2013 22:33:25 +0000 (22:33 +0000)]
Merge "Regenerate all the OpenGL stubs."
Scott Main [Fri, 27 Sep 2013 22:33:18 +0000 (15:33 -0700)]
am
4a9999f1: remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
* commit '
4a9999f1ad20830df4aa38d3d3a42d73cb9986f0':
remove Remembering Your Users class from nav. Separate CL will redirect these pages to the Google Auth doc.
Scott Main [Fri, 27 Sep 2013 22:24:35 +0000 (15:24 -0700)]
remove Remembering Your Users class from nav.
Separate CL will redirect these pages to the Google Auth doc.
Change-Id: Ib47b8e0fffbe776626b463c1199f435a82e64170
Lajos Molnar [Fri, 20 Sep 2013 15:45:31 +0000 (08:45 -0700)]
Make SubtitleController thread safe
Add the concept of an anchor looper.
Allow show/hide/selectTrack/selectDefaultTrack to be called from thread
other than anchor looper.
Change-Id: Iaf2f3d3c46d1b00a0a24156745ec16b301c80c04
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug:
10919206
Zhijun He [Fri, 27 Sep 2013 20:43:25 +0000 (13:43 -0700)]
Camera2: remove CameraDevice#getProperties
Also cleanup some unnecessary imports.
Bug:
10360518
Change-Id: Id54aa4c9e3dff2bd354e3ebb83687b000842ea3f