114592 Commits

Author SHA1 Message Date
Jeff Sharkey
180e484ef0 am be416248: Merge "Remove persisted stacks when app removed/cleared." into klp-dev
* commit 'be416248631c001b846297597b25be9bccc960eb':
  Remove persisted stacks when app removed/cleared.
2013-10-24 15:37:45 -07:00
Jeff Sharkey
be41624863 Merge "Remove persisted stacks when app removed/cleared." into klp-dev 2013-10-24 22:32:58 +00:00
Erin Dahlgren
707a59dc9a Have the package manager write mimetype of preferred activities to xml.
Issue: 11372979
Change-Id: I5ea4e94c978845426e2650946d0bba076d161c19
2013-10-24 15:13:39 -07:00
Craig Mautner
052f7f0d4e am 7c2a2ef2: Merge "Track window position with task position." into klp-dev
* commit '7c2a2ef2ee71d65ac43acf3dad95df1629dfc674':
  Track window position with task position.
2013-10-24 14:28:41 -07:00
Craig Mautner
7c2a2ef2ee Merge "Track window position with task position." into klp-dev 2013-10-24 21:26:11 +00:00
Christopher Tate
525322ecba am f9f740da: Merge "Support different watchdog timeouts for different entities" into klp-dev
* commit 'f9f740dae19a63deb92c6bbe5ebeab8c852910a7':
  Support different watchdog timeouts for different entities
2013-10-24 13:55:09 -07:00
Christopher Tate
f9f740dae1 Merge "Support different watchdog timeouts for different entities" into klp-dev 2013-10-24 20:52:23 +00:00
Craig Mautner
77df2ee9de Track window position with task position.
Windows were previously ordered by TaskStack/ActivityStack order. This
change provides a data structure in DisplayContent that tracks task
movement. Previously Recents and Home activity windows were always
adjacent because they were on the same stack. With this change windows
from other activities can be placed between the two.

Fixes bug 11338594.

Change-Id: Ie34443ff22f330d015141d97db79370c54920d28
2013-10-24 12:47:07 -07:00
Aravind Akella
1ba907867d am 28e26eb3: Merge "Fix for ClassCastException in SystemSensorManager." into klp-dev
* commit '28e26eb38d38c5058006f90d5a22347e6186532e':
  Fix for ClassCastException in SystemSensorManager.
2013-10-24 12:36:50 -07:00
Amith Yamasani
d58317b282 am 368daafc: Merge "Only simulate the first click if "Always use" button is available" into klp-dev
* commit '368daafc34de1a7831d485b6a06fbe0d6bcf1cd4':
  Only simulate the first click if "Always use" button is available
2013-10-24 12:32:47 -07:00
Aravind Akella
28e26eb38d Merge "Fix for ClassCastException in SystemSensorManager." into klp-dev 2013-10-24 19:32:01 +00:00
Amith Yamasani
368daafc34 Merge "Only simulate the first click if "Always use" button is available" into klp-dev 2013-10-24 19:21:12 +00:00
Jeff Sharkey
8dd4c1d062 am 5ecfb557: Merge "Long-press on GET_CONTENT app shows its details." into klp-dev
* commit '5ecfb557b1d38537b7a484505b550000980d17f1':
  Long-press on GET_CONTENT app shows its details.
2013-10-24 12:15:40 -07:00
Jeff Sharkey
686fa2db5b am c832ef0d: Merge "Show spinner while waiting for mutations." into klp-dev
* commit 'c832ef0d434f9c3834ef312dcabef43b2787e5ff':
  Show spinner while waiting for mutations.
2013-10-24 12:15:37 -07:00
Jeff Sharkey
5ecfb557b1 Merge "Long-press on GET_CONTENT app shows its details." into klp-dev 2013-10-24 18:23:17 +00:00
Jeff Sharkey
c832ef0d43 Merge "Show spinner while waiting for mutations." into klp-dev 2013-10-24 18:23:11 +00:00
Jeff Sharkey
758f97e46d Remove persisted stacks when app removed/cleared.
When an app's data is cleared, or it's uninstalled, remove any
persisted stacks.

Bug: 11355566
Change-Id: I4e5cf0ec710591ad62f1ad52c2e358616631af41
2013-10-24 11:22:20 -07:00
Craig Mautner
bcd681862d am d0d23f6a: Merge "Disable time consuming debugging code." into klp-dev
* commit 'd0d23f6ae1e289ec781078e7c4d9d733893a5540':
  Disable time consuming debugging code.
2013-10-24 11:01:37 -07:00
Craig Mautner
d0d23f6ae1 Merge "Disable time consuming debugging code." into klp-dev 2013-10-24 17:57:24 +00:00
Adam Lesinski
9137b65cf7 am bb8aae5b: Merge "Improve Jank for translucent activities" into klp-dev
* commit 'bb8aae5b1973b2a94174af475662c02834a8310d':
  Improve Jank for translucent activities
2013-10-24 10:47:11 -07:00
Christopher Tate
e6f81cf1f6 Support different watchdog timeouts for different entities
We need to be able to perform very lengthy operations on some threads
(e.g. the I/O thread responsible for installing multi-gigabyte APKs) but
still have long-run deadlock/hang detection applied to those threads.
Previously the watchdog mechanism applied the same policy to all
monitored threads: unresponsive after 60 seconds => restart the system.

Now, each monitored entity can have its own independent timeout after
which the watchdog declares deadlock and restarts the runtime.  The
halfway-finished intermediate thread stacks are dumped based on the
specific entity's declared timeout, not the global 30 second checking
interval.

With that new mechanism in place, the Package Manager's lengthy-I/O
thread watchdog timeout is raised to 10 minutes.

Bug 11278188

Change-Id: I512599260009c31416b2385f778681e5b9597f05
2013-10-24 10:46:28 -07:00
Adam Lesinski
bb8aae5b19 Merge "Improve Jank for translucent activities" into klp-dev 2013-10-24 17:44:58 +00:00
Daniel Sandler
6714471bff am 9279d45b: DessertCase memory improvements
* commit '9279d45b8d26c88c69fa917816ea396142627020':
  DessertCase memory improvements
2013-10-24 10:42:22 -07:00
Daniel Sandler
9279d45b8d DessertCase memory improvements
- reuse intermediate bitmaps when loading resources
  - only use hardware layers on views that are animating

Bug: 11269977
Change-Id: I39ad7aff16468632da47448404416404f3b54cc4
2013-10-24 17:27:33 +00:00
Craig Mautner
4697bea3fd Disable time consuming debugging code.
Scanning bitmaps for monochromicity takes time. Lots of time. Don't do
it.

Fixes bug 11366278.

Change-Id: I7a8ad42751311fc39efc27fb4c51522fc1ba0523
2013-10-24 09:13:14 -07:00
Baligh Uddin
215f2f83f1 am da13330d: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'da13330d9b1dc994ae2ea4e5c39b0f6ff6f87ac9':
  Import translations. DO NOT MERGE
2013-10-23 19:29:34 -07:00
Baligh Uddin
1f067222c6 am ffbc7154: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'ffbc7154dc2ee436c7b9efd9a26d0d77b3917c6a':
  Import translations. DO NOT MERGE
2013-10-23 19:29:31 -07:00
Baligh Uddin
12583441fd am 39a12d16: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '39a12d163a9dcadff3f9c00f2c582851ef4301b8':
  Import translations. DO NOT MERGE
2013-10-23 19:29:28 -07:00
Baligh Uddin
da13330d9b Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-24 02:27:01 +00:00
Baligh Uddin
ffbc7154dc Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-24 02:25:15 +00:00
Baligh Uddin
39a12d163a Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-24 02:25:02 +00:00
Baligh Uddin
154fd0b2a2 Import translations. DO NOT MERGE
Change-Id: Ia0ce87e181ca1c425b1a4ea2427b267c9e5d1cf0
Auto-generated-cl: translation import
2013-10-23 17:59:26 -07:00
Adam Lesinski
76afd1f129 Improve Jank for translucent activities
The previous jank improvement only worked when closing
an app, not when bringing one forward (hitting home button).
This should cover the specific case that is being missed: Having the
Home task being brought to front over a translucent window, with
a wallpaper behind both tasks.

bug:11253262
Change-Id: I200ef6fe2dda8d9ab4e1f82059b4f888c59007f4
2013-10-23 17:54:25 -07:00
Baligh Uddin
f7fbbffa16 Import translations. DO NOT MERGE
Change-Id: I85bcd3e5a5bffe627336332a1bc2d921e2ef7139
Auto-generated-cl: translation import
2013-10-23 17:17:35 -07:00
Baligh Uddin
ef9d04a2b6 Import translations. DO NOT MERGE
Change-Id: If44c0d3258a9b125cfc1afe930af8f6524200ffd
Auto-generated-cl: translation import
2013-10-23 17:08:47 -07:00
Jeff Sharkey
c24bbd4ce5 Long-press on GET_CONTENT app shows its details.
Matches ResolverActivity behavior.

Bug: 11319259
Change-Id: Id7f2a73b225e4cfd9bdef3b1c7cecb77d9bd2b90
2013-10-23 16:05:56 -07:00
Amith Yamasani
34d41e9a85 Only simulate the first click if "Always use" button is available
This prevents Keep from being selected automatically when shown in the Share dialog
if Keep was previously chosen by the user as Always use for a send action.
This was a regression introduced by the new intent disambig behavior.

Bug: 11294904
Change-Id: I6745060a8ee0a6d680e657b55ee46aaec27bbacb
2013-10-23 16:05:29 -07:00
Jeff Sharkey
04d45a0bdd Show spinner while waiting for mutations.
When mutation operations are waiting for a storage backend, show a
spinner in place of the save button.

Bug: 11333249
Change-Id: I2b620b4532ad977a2b60d4bdc5caa55f89021456
2013-10-23 15:48:05 -07:00
Wink Saville
b896b9f742 Enhance pin/puk support
Add supplyPinReportResult & supplyPukReportResult that
returns the result code and attempts remaining.

Display "Attempts remaining" in Keyguard

Bug: 9928717
Change-Id: Ibad0635dd1375fabce11ba2b7b9f95f8868489e6
2013-10-23 15:44:26 -07:00
Craig Mautner
b4683e3d98 am 4d4dd1e1: Merge "Search further than one task for fullscreen." into klp-dev
* commit '4d4dd1e1730f75594add6e8dc9e45ff1cef734eb':
  Search further than one task for fullscreen.
2013-10-23 15:38:13 -07:00
Craig Mautner
4d4dd1e173 Merge "Search further than one task for fullscreen." into klp-dev 2013-10-23 22:35:25 +00:00
Jean-Michel Trivi
3661494d46 Missing LoudnessEnhancer constructor and UUID in public API
Bug 11356672

Change-Id: Ia3d16712c8b9bb425a587acd87ba7fad6b4ce31c
2013-10-23 15:21:08 -07:00
Craig Mautner
39e1c5a75e Search further than one task for fullscreen.
When a non-fullscreen task over home launches another non-fullscreen
task then the home task might not be displayed. Looking all the way
down the task stacks until reaching a visible, fullscreen activity or
home provides the right information.

Fixes bug 11273803.

Change-Id: I8dab0956c1cda06ddb7850ea3ffac7f6a223c6ad
2013-10-23 15:14:22 -07:00
Aravind Akella
31d14ce57c Fix for ClassCastException in SystemSensorManager.
Bug: 11068858
Change-Id: I074798a6978b91766b37dec32f2683d8e4adf5d3
2013-10-23 15:09:13 -07:00
Chet Haase
f8525cafbf am 02e4c3a1: Merge "Cache Scene objects by layout ID on the scene root" into klp-dev
* commit '02e4c3a1d870be7ced0f70f460d718924f6e348f':
  Cache Scene objects by layout ID on the scene root
2013-10-23 14:48:45 -07:00
Chet Haase
02e4c3a1d8 Merge "Cache Scene objects by layout ID on the scene root" into klp-dev 2013-10-23 21:46:01 +00:00
Igor Murashkin
44d04aa0ac am: Increase dropbox buffer size to 256KB (from 128KB)
Minor changes for dumping stack traces:
- Print the native traces right after foreground/persistent apps
- Also include mediaserver, sdcard, and surfaceflinger in traces

Bug: 11321322
Change-Id: Ic09b7da316a5f197dda0ac3bde06f75574cc2166
2013-10-23 14:43:05 -07:00
Adam Powell
40a67888f9 Cache Scene objects by layout ID on the scene root
The current tracking of scene objects in a static ThreadLocal is
problematic as it leaks the Context associated with the SceneRoot and
returns the wrong Scene object if the same layout ID is used across
different scene roots.

Track Scene objects on the scene root view instead to avoid these
issues.

Change-Id: I891986897f757f2666897c937b5ebb0ed1d531c1
2013-10-23 14:26:57 -07:00
John Spurlock
c4f5868a41 am c72b18b7: Merge "Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards." into klp-dev
* commit 'c72b18b72eb75c2040bf686b06d52d79bdc7a24a':
  Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards.
2013-10-23 14:22:39 -07:00
John Spurlock
c72b18b72e Merge "Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards." into klp-dev 2013-10-23 21:19:24 +00:00