Commit Graph

9141 Commits

Author SHA1 Message Date
Craig Mautner
222c91696a am d23b3e57: am e60f8ce1: am 3e2358a0: Merge "Delay setting hidden until after isVisibleNow test." into jb-mr1-dev
* commit 'd23b3e579d0e8aceeed5e35c551641e083fc923a':
  Delay setting hidden until after isVisibleNow test.
2012-10-02 19:21:07 -07:00
Craig Mautner
d23b3e579d am e60f8ce1: am 3e2358a0: Merge "Delay setting hidden until after isVisibleNow test." into jb-mr1-dev
* commit 'e60f8ce1c9c3db51ba0997210b2cd073da68ae81':
  Delay setting hidden until after isVisibleNow test.
2012-10-02 19:18:46 -07:00
Craig Mautner
e60f8ce1c9 am 3e2358a0: Merge "Delay setting hidden until after isVisibleNow test." into jb-mr1-dev
* commit '3e2358a0e677ad1c88d677919aa9b8d7b2fb4eb2':
  Delay setting hidden until after isVisibleNow test.
2012-10-02 19:16:56 -07:00
Craig Mautner
3e2358a0e6 Merge "Delay setting hidden until after isVisibleNow test." into jb-mr1-dev 2012-10-02 19:14:00 -07:00
Jeff Sharkey
929ff8ece1 am 4bf59f7d: am fbbcffeb: am 1ed299f8: Merge "Make USB services multi-user aware." into jb-mr1-dev
* commit '4bf59f7dd9fbfe608853de7c639d719d25c07318':
  Make USB services multi-user aware.
2012-10-02 18:19:41 -07:00
Jeff Sharkey
4bf59f7dd9 am fbbcffeb: am 1ed299f8: Merge "Make USB services multi-user aware." into jb-mr1-dev
* commit 'fbbcffebc0caf1d19c60b41e1e40708963717850':
  Make USB services multi-user aware.
2012-10-02 18:18:33 -07:00
Jeff Sharkey
fbbcffebc0 am 1ed299f8: Merge "Make USB services multi-user aware." into jb-mr1-dev
* commit '1ed299f822b22998b7236e3147d8cf4707bced08':
  Make USB services multi-user aware.
2012-10-02 18:15:51 -07:00
Jeff Sharkey
1ed299f822 Merge "Make USB services multi-user aware." into jb-mr1-dev 2012-10-02 18:11:48 -07:00
Craig Mautner
4b5aa78c89 Delay setting hidden until after isVisibleNow test.
Setting hidden prior to test guarantees the test will fail. This
then causes the exit animation to not be loaded and consequently
the window is immediately hidden. Then, when the window is removed
later it reappears in order to animate away. The consequent flash
is undesirable.

Bug: 7242373 fixed.
Change-Id: I56966bd9060124be372702090f86b29b4deea8c0
2012-10-02 18:11:25 -07:00
Jeff Sharkey
fc3f24b4b6 Make USB services multi-user aware.
USB settings are now isolated per-user, since they revolve around
installed packages.  User-specific settings are returned based on
calling user, or referenced by UserHandle passed to SystemUI.  Each
settings Context is wrapped as a specific user, so all broadcasts are
sent correctly.  Upgrades any existing USB settings to OWNER.

Physical events, like new devices, are routed to the currently active
user.  Switch to using AtomicFile when persisting settings.

Bug: 7244888
Change-Id: I8a723ad3d55ac1bff99276c5f3a3f5e8f013432f
2012-10-02 18:09:10 -07:00
Jeff Brown
fdf2451371 am 87e81fbc: am 18be68f7: am 031e9d2e: Merge changes I0ed9ba00,Ia8c6d7fe into jb-mr1-dev
* commit '87e81fbca386ee9ec1fb6b51945cb94314fc2c24':
  Fix bug removing all windows that belong to a display.
  Add some missing debug output.
2012-10-02 17:16:44 -07:00
Jeff Brown
87e81fbca3 am 18be68f7: am 031e9d2e: Merge changes I0ed9ba00,Ia8c6d7fe into jb-mr1-dev
* commit '18be68f707ddc9699719d105089a78efcf379d4c':
  Fix bug removing all windows that belong to a display.
  Add some missing debug output.
2012-10-02 17:14:12 -07:00
Jeff Brown
18be68f707 am 031e9d2e: Merge changes I0ed9ba00,Ia8c6d7fe into jb-mr1-dev
* commit '031e9d2e21797fd668404be407dcc625f3b149c1':
  Fix bug removing all windows that belong to a display.
  Add some missing debug output.
2012-10-02 17:12:09 -07:00
Jeff Brown
031e9d2e21 Merge changes I0ed9ba00,Ia8c6d7fe into jb-mr1-dev
* changes:
  Fix bug removing all windows that belong to a display.
  Add some missing debug output.
2012-10-02 17:08:07 -07:00
Jeff Brown
a3164eaad4 am eaf36658: am 709b9434: am bcbe9cf4: Merge "Add new Display API for secure video capabilities." into jb-mr1-dev
* commit 'eaf366586179554b624aff6e586f1a7b17b8dd4d':
  Add new Display API for secure video capabilities.
2012-10-02 16:45:58 -07:00
Svetoslav Ganov
6c0b04b037 am a790a83c: am c458f323: am 9bfb8bcf: Merge "Up motion event not injected by the touch explorer at the end of a drag." into jb-mr1-dev
* commit 'a790a83c134c91a828a32059b429142bff1b1de5':
  Up motion event not injected by the touch explorer at the end of a drag.
2012-10-02 16:44:03 -07:00
Jeff Brown
eaf3665861 am 709b9434: am bcbe9cf4: Merge "Add new Display API for secure video capabilities." into jb-mr1-dev
* commit '709b943475e3395b580451911557f894480e3133':
  Add new Display API for secure video capabilities.
2012-10-02 16:44:02 -07:00
Svetoslav Ganov
a790a83c13 am c458f323: am 9bfb8bcf: Merge "Up motion event not injected by the touch explorer at the end of a drag." into jb-mr1-dev
* commit 'c458f3235cfceb87093d3e5408b38ff982e3e060':
  Up motion event not injected by the touch explorer at the end of a drag.
2012-10-02 16:41:58 -07:00
Jeff Brown
709b943475 am bcbe9cf4: Merge "Add new Display API for secure video capabilities." into jb-mr1-dev
* commit 'bcbe9cf475835102ae2490dc9f067a3ac78a9551':
  Add new Display API for secure video capabilities.
2012-10-02 16:41:30 -07:00
Jeff Brown
bcbe9cf475 Merge "Add new Display API for secure video capabilities." into jb-mr1-dev 2012-10-02 16:39:08 -07:00
Svetoslav Ganov
c458f3235c am 9bfb8bcf: Merge "Up motion event not injected by the touch explorer at the end of a drag." into jb-mr1-dev
* commit '9bfb8bcfeb585c1692830ff91a36afa852455cf7':
  Up motion event not injected by the touch explorer at the end of a drag.
2012-10-02 16:39:06 -07:00
Svetoslav Ganov
9bfb8bcfeb Merge "Up motion event not injected by the touch explorer at the end of a drag." into jb-mr1-dev 2012-10-02 16:36:29 -07:00
Jeff Brown
cb882f90e4 Fix bug removing all windows that belong to a display.
Removing one window causes its subwindows to also be removed.
We have to be careful when traversing the window list
because multiple windows may be removed at a time so we
don't get IndexOutOfBoundsException due to the window
list changing in unexpected ways.

Bug: 7273702
Change-Id: I0ed9ba00c325ad178ab28919ce2e763cb6fd38ba
2012-10-02 16:35:35 -07:00
Dianne Hackborn
ea5544e258 am 6563801d: am de19ad9d: am 5bc54bf3: Merge "Fix issue #7272775: Auto Start Apps Not Starting" into jb-mr1-dev
* commit '6563801d7eeb502b7bf379d471731b32e6c32819':
  Fix issue #7272775: Auto Start Apps Not Starting
2012-10-02 16:32:11 -07:00
rich cannings
4c7b7779ee am f4bc7f6e: am 5692524b: am 3ed62ada: Merge "Fix package verification with multi-user" into jb-mr1-dev
* commit 'f4bc7f6e0ab951828bc8bab43ff98e3484992b01':
  Fix package verification with multi-user
2012-10-02 16:32:08 -07:00
Dianne Hackborn
6563801d7e am de19ad9d: am 5bc54bf3: Merge "Fix issue #7272775: Auto Start Apps Not Starting" into jb-mr1-dev
* commit 'de19ad9df49a04aa4de8759fea853587537db2c4':
  Fix issue #7272775: Auto Start Apps Not Starting
2012-10-02 16:30:40 -07:00
rich cannings
f4bc7f6e0a am 5692524b: am 3ed62ada: Merge "Fix package verification with multi-user" into jb-mr1-dev
* commit '5692524bf5530bfb1efb5bad90a1713190aa1208':
  Fix package verification with multi-user
2012-10-02 16:30:37 -07:00
Dianne Hackborn
de19ad9df4 am 5bc54bf3: Merge "Fix issue #7272775: Auto Start Apps Not Starting" into jb-mr1-dev
* commit '5bc54bf354f6e674a129b2e286b4bd3eefe91c2b':
  Fix issue #7272775: Auto Start Apps Not Starting
2012-10-02 16:28:35 -07:00
rich cannings
5692524bf5 am 3ed62ada: Merge "Fix package verification with multi-user" into jb-mr1-dev
* commit '3ed62adad14c213117c2b869e71abc2474102ad4':
  Fix package verification with multi-user
2012-10-02 16:28:30 -07:00
Craig Mautner
ba14f94a5c am 2ab087fa: am dde0123e: am 60ce6d45: Merge "Call Surface.destroy when Display is removed." into jb-mr1-dev
* commit '2ab087fab30d83461cbf7a8189d81d6fa10d409d':
  Call Surface.destroy when Display is removed.
2012-10-02 16:27:03 -07:00
Dianne Hackborn
5bc54bf354 Merge "Fix issue #7272775: Auto Start Apps Not Starting" into jb-mr1-dev 2012-10-02 16:25:15 -07:00
rich cannings
3ed62adad1 Merge "Fix package verification with multi-user" into jb-mr1-dev 2012-10-02 16:25:15 -07:00
Jeff Brown
77aebfdbae Add new Display API for secure video capabilities.
Added a new API to determine whether the display supports
protected buffers so that an application can choose a different
content stream or change how it decodes the content so
that it will be viewable on the display.

At present, wifi display does not fully support protected
buffers although this may be enhanced in the future.

Bug: 6986623
Change-Id: If53a53d72b0ec92753cc4b29f99fcb131e00449b
2012-10-02 16:25:10 -07:00
Jeff Brown
c2726643e7 Add some missing debug output.
Bug: 7257579
Change-Id: Ia8c6d7fefe6d4c4e6c37f20722c7ffce4bcfcbae
2012-10-02 16:25:10 -07:00
Craig Mautner
2ab087fab3 am dde0123e: am 60ce6d45: Merge "Call Surface.destroy when Display is removed." into jb-mr1-dev
* commit 'dde0123e6f30251cc3592c8fa4f711ff8052be09':
  Call Surface.destroy when Display is removed.
2012-10-02 16:25:01 -07:00
Craig Mautner
dde0123e6f am 60ce6d45: Merge "Call Surface.destroy when Display is removed." into jb-mr1-dev
* commit '60ce6d4518b2443ff810b335dc686cda18921872':
  Call Surface.destroy when Display is removed.
2012-10-02 16:22:35 -07:00
Dianne Hackborn
4a9f071f3d Fix issue #7272775: Auto Start Apps Not Starting
Bad defaults were causing stopped state to be set at each
boot.

Change-Id: I49b04e9c62f6ac391054201b508fddb6c7985615
2012-10-02 15:29:06 -07:00
Craig Mautner
d5523dc7b7 Call Surface.destroy when Display is removed.
Prevents leaked Surfaces.

Bug: 7272421.
Change-Id: I6c87eb11bb0bedcf8de451b04477c70c248f905d
2012-10-02 15:28:09 -07:00
rich cannings
d55deb0a71 Fix package verification with multi-user
Fixes the porblem of PackageManagerService always sending Intents to user 0.

Bug: 7272549
Change-Id: I25995d8b2b9a24346f4813e6d8d9a84e5d5d2b6b
2012-10-02 14:53:08 -07:00
Svetoslav Ganov
aeb8d0ed0d Up motion event not injected by the touch explorer at the end of a drag.
1. The up event was not injected when the last pointer went up, i.e.
   at the end of the drag. This patch sends an up event if the dragging
   pointer goes up for both cases, when the dragging pointer goes up
   first and when it goes up second.

bug:7272830

Change-Id: I708a2b93ee2d0a4c46dbeea002841666e919602d
2012-10-02 14:33:27 -07:00
Jeff Sharkey
18f6f9a085 am 3509e373: am f63ca02f: am c12dd973: Merge "Migrate more System and Secure settings to Global." into jb-mr1-dev
* commit '3509e3731649a99b426b97363f06c7288e5d33e2':
  Migrate more System and Secure settings to Global.
2012-10-02 14:05:44 -07:00
Jeff Sharkey
3509e37316 am f63ca02f: am c12dd973: Merge "Migrate more System and Secure settings to Global." into jb-mr1-dev
* commit 'f63ca02f9fce6aedd7a03e9f8a95e2e2d6bf9eac':
  Migrate more System and Secure settings to Global.
2012-10-02 14:04:22 -07:00
Jeff Sharkey
f63ca02f9f am c12dd973: Merge "Migrate more System and Secure settings to Global." into jb-mr1-dev
* commit 'c12dd973724f5aab44814b31650b4b47314e952b':
  Migrate more System and Secure settings to Global.
2012-10-02 14:00:24 -07:00
Jeff Sharkey
6e2bee75ce Migrate more System and Secure settings to Global.
Includes telephony, WindowManager, PackageManager, and debugging
settings.  Update API to point towards moved values.

Bug: 7231764, 7231252, 7231156
Change-Id: I5828747205708872f19f83a5bc821ed0a801cb79
2012-10-02 13:55:15 -07:00
Svetoslav Ganov
bdd58430ca am 6a757519: am cc723173: am 0944d625: Merge "Touch explorer and magnifier do not work well together." into jb-mr1-dev
* commit '6a7575194d100a8be3b6bfc9d553210e55278e90':
  Touch explorer and magnifier do not work well together.
2012-10-02 13:22:14 -07:00
Svetoslav Ganov
6a7575194d am cc723173: am 0944d625: Merge "Touch explorer and magnifier do not work well together." into jb-mr1-dev
* commit 'cc72317334d33fbaffc099e5286b9a3d3c33f904':
  Touch explorer and magnifier do not work well together.
2012-10-02 13:20:11 -07:00
Svetoslav Ganov
cc72317334 am 0944d625: Merge "Touch explorer and magnifier do not work well together." into jb-mr1-dev
* commit '0944d625448209185452eb4e800daec49de51986':
  Touch explorer and magnifier do not work well together.
2012-10-02 13:17:09 -07:00
Svetoslav Ganov
0944d62544 Merge "Touch explorer and magnifier do not work well together." into jb-mr1-dev 2012-10-02 13:14:06 -07:00
Svetoslav Ganov
45af84a483 Touch explorer and magnifier do not work well together.
1. If tocuh exploration and screen magnification are enabled and the screen
   is currently magnified, gesture detection does not work well. The reason
   is because we are transforming the events if the screen is magnified before
   passing them to the touch explorer to compensate for the magnification so
   the user can poke what he thinks he pokes. However, when doing gesture
   detection/velocity computing this compensating shrinks the gestured shape/
   decreases velocity leading to poor gesture reco/incorrect velocity.

   This change adds a onRawMotionEvent method in the event transformation chain
   which will process the raw touch events. In this method of the touch explorer
   we are passing events to the gesture recognized and the velocity tracker.

2. Velocity tracker was not cleared on transitions out of touch exploring state
   which is the only one that uses velocity.

bug:7266617

Change-Id: I7887fe5f3c3bb6cfa203b7866a145c7341098a02
2012-10-02 12:02:05 -07:00
Irfan Sheriff
6bfd49d615 am a2eb8156: am 06182b61: am 56925d65: Always update peer list in display controller
* commit 'a2eb8156e33281fa1b8884090622a59fd1e84ba7':
  Always update peer list in display controller
2012-10-02 08:00:40 -07:00