10763 Commits

Author SHA1 Message Date
Ben Gruver
110bd9d663 am 9dbbfcda: Merge "Pass the originating uid to the package verifier" into jb-mr1-dev
* commit '9dbbfcda81f251f23aded866f7f9d49d8a744c75':
  Pass the originating uid to the package verifier
2012-09-28 11:01:10 -07:00
Ben Gruver
9dbbfcda81 Merge "Pass the originating uid to the package verifier" into jb-mr1-dev 2012-09-28 10:58:19 -07:00
Svetoslav Ganov
4dce1666d2 am 95841ac3: Merge "Inconsistent events on transition from gesture detection to touch exploration." into jb-mr1-dev
* commit '95841ac3c2d45a839cc3cd0bd420fd9d91ccd583':
  Inconsistent events on transition from gesture detection to touch exploration.
2012-09-28 10:42:26 -07:00
Svetoslav Ganov
a3799068c8 am ca868820: Merge "Accessibility services that do not accept events are mismanaged." into jb-mr1-dev
* commit 'ca8688207b68612419213cc8f3afd7abeb03a181':
  Accessibility services that do not accept events are mismanaged.
2012-09-28 10:39:43 -07:00
Svetoslav Ganov
95841ac3c2 Merge "Inconsistent events on transition from gesture detection to touch exploration." into jb-mr1-dev 2012-09-28 10:39:38 -07:00
Svetoslav Ganov
ca8688207b Merge "Accessibility services that do not accept events are mismanaged." into jb-mr1-dev 2012-09-28 10:36:53 -07:00
John Spurlock
d39fa1e946 am a174a776: Merge "Close the notification shade when starting dream." into jb-mr1-dev
* commit 'a174a776321e1620258b78424dfe38b382327679':
  Close the notification shade when starting dream.
2012-09-28 10:23:21 -07:00
John Spurlock
a174a77632 Merge "Close the notification shade when starting dream." into jb-mr1-dev 2012-09-28 10:20:23 -07:00
Daniel Sandler
ea33318bb0 am 0dc2b81c: Merge "Cleanup internal status bar APIs." into jb-mr1-dev
* commit '0dc2b81ce1400ae23faa5cc386caeef235856307':
  Cleanup internal status bar APIs.
2012-09-28 10:11:10 -07:00
Daniel Sandler
0dc2b81ce1 Merge "Cleanup internal status bar APIs." into jb-mr1-dev 2012-09-28 10:07:16 -07:00
Svetoslav Ganov
aed4b6f812 Inconsistent events on transition from gesture detection to touch exploration.
1. The problem is that we have a gesture detection timeout after which we transition
   to touch exploration state. This handles the case where the user is using too high
   velocity while trying to touch explore. The delayed command that transitions from
   gesture detection state to touch exploration state was not firing an event for the
   end of gesture detection and begin of touch exploration before doing its main work
   to transition to touch exploring state.

bug:7233819

Change-Id: I5c4855231aa3826dadbee324e74a3c9e52c96cd9
2012-09-28 10:06:24 -07:00
Svetoslav Ganov
1f22b6a25d Accessibility services that do not accept events are mismanaged.
1. If an accessibility service does not specify that it handles any
   event types it was never added to the list of services while
   the system is bound to it. Since the service is not in the list
   with enabled services we never unbind it, hence it consumes
   resources without doing nothing. This is also semantically
   incorrect because a sevice may not want to receive events while
   handling only gestures.

bug:5648345

Change-Id: Id478a4704cdeeb1729330f6ae4b8ff9e06320952
2012-09-28 09:45:15 -07:00
John Spurlock
591a9e8d6e Close the notification shade when starting dream.
Bug:7205491
Change-Id: I17d2b75bc502ff8fb739a6cbb4d0219681fa4e8a
2012-09-28 12:15:08 -04:00
Jeff Brown
318bed207f am 13701b50: Merge "Bundle correlated switch changes atomically." into jb-mr1-dev
* commit '13701b50f533775fd7a547fd0e479c1ec9035ce8':
  Bundle correlated switch changes atomically.
2012-09-28 00:37:27 -07:00
Jeff Brown
13701b50f5 Merge "Bundle correlated switch changes atomically." into jb-mr1-dev 2012-09-28 00:35:57 -07:00
Satoshi Kataoka
72a8881533 am 3cd96129: Merge "Fix ime swtich issue" into jb-mr1-dev
* commit '3cd961292e877cc5fac146290421e9e67aa553a2':
  Fix ime swtich issue
2012-09-28 00:29:37 -07:00
Satoshi Kataoka
3cd961292e Merge "Fix ime swtich issue" into jb-mr1-dev 2012-09-28 00:26:55 -07:00
Satoshi Kataoka
d08a9238db Fix ime swtich issue
Bug: 7250097
Change-Id: Ibe85aaf7d60e7c3a27363eece528d19a0c8ddca2
2012-09-28 16:19:59 +09:00
Hiroshi Lockheimer
7b40848863 am 448f6e1e: Merge "temporarily disable blacklisting" into jb-mr1-dev
* commit '448f6e1e1471db2caf218ca8918c2d82306b450a':
  temporarily disable blacklisting
2012-09-27 22:00:42 -07:00
Hiroshi Lockheimer
448f6e1e14 Merge "temporarily disable blacklisting" into jb-mr1-dev 2012-09-27 21:58:21 -07:00
Jeff Brown
bcc046af4e Bundle correlated switch changes atomically.
This is a prerequisite for headset jack detection on Manta.

Bug: 6548391
Change-Id: I549a194344511c0cee578b00f6a9ab5fdbdfb99c
2012-09-27 21:42:57 -07:00
Svetoslav Ganov
8f346d8578 am 7befb7de: Global gesture to toggle Accessibility system-wide.
* commit '7befb7deb2ac15134b3bb190520cba19165d16dd':
  Global gesture to toggle Accessibility system-wide.
2012-09-27 20:36:16 -07:00
Svetoslav Ganov
7befb7deb2 Global gesture to toggle Accessibility system-wide.
1. This change adds a global gesture for enabling accessibility.
   To enable this gesture the user has to allow it from the
   accessibility settings or use the setup wizard to enable
   accessibility. When the global gesture is enabled the user
   can long press on power to bring the global actions dialog
   and then hold with two fingers for a few seconds to enable
   accessibility. The appropriate feedback is also provided.

2. The global gesture is writing directly into the settings for
   the current user if performed when the keyguard is not on. If
   the keygaurd is on and the current user has no accessibility
   enabled, the gesture will temporary enable accessibility
   for the current user, i.e. no settings are changed, to allow
   the blind user to log into his account. As soon as a user
   switch happens the new user settings are inherited. If no
   user change happens after temporary enabling accessibility
   the temporary changes will be undone when the keyguard goes
   away and the device will works as expected by the current user.

bug:6171929

3. The initialization code for the owner was not executed due
   to a redundant check, thus putting the accessibility layer in
   an inconsistent state which breaks pretty much everything.

bug:7240414

Change-Id: Ie7d7aba80f5867b7f88d5893b848b53fb02a7537
2012-09-27 20:33:20 -07:00
Satoshi Kataoka
b075695fb3 am e4961145: Merge "Treat additional inputmethod subtypes per user" into jb-mr1-dev
* commit 'e49611452823d74b0657aed1cee8a4863f95ad8d':
  Treat additional inputmethod subtypes per user
2012-09-27 20:15:56 -07:00
Satoshi Kataoka
e496114528 Merge "Treat additional inputmethod subtypes per user" into jb-mr1-dev 2012-09-27 20:14:05 -07:00
Craig Mautner
395a723309 am 3dc0b80d: Merge "Fix layout state issues." into jb-mr1-dev
* commit '3dc0b80dc6e6aa156eea4d737cdeaad96aa1125a':
  Fix layout state issues.
2012-09-27 19:36:10 -07:00
Craig Mautner
3dc0b80dc6 Merge "Fix layout state issues." into jb-mr1-dev 2012-09-27 19:34:28 -07:00
Jeff Sharkey
ae1af49a91 am 3a8af8ef: Merge "Migrate more Secure settings to Global." into jb-mr1-dev
* commit '3a8af8efff93ca8ee80fc8c7841e7bee9a8b7786':
  Migrate more Secure settings to Global.
2012-09-27 19:34:28 -07:00
Victoria Lease
b319d5de19 temporarily disable blacklisting
Bug: 7248239
Change-Id: I2ef28fa0d6890a127fc424e58a148fe1fb15b683
2012-09-27 18:24:27 -07:00
Craig Mautner
812d2ca475 Fix layout state issues.
- Restore test of hidden to isGoneForLayoutLw(), without that
we return false when setAppVisibility(true) is called which leads
to early layout of windows. Particulary on return from full screen
to non-full we lay out once before recognizing that the status bar
should be back and then again once the status bar appears causing
a jump. Fixes bug 6470541.

- Add a new test for configuration size changes to gone or hidden
windows. This forces a layout call to these windows which informs
them of the new size even though they are not shown until later.
In particular this keeps windows that were in the background
during a rotation from using their old boundaries on return.
Fixes bug 6615859.

- Consolidate WindowState.mConfiguration tests into WindowState.

Change-Id: I7a82ce747a3fcf7d74104dc23f1532efe64bd767
2012-09-27 18:07:39 -07:00
Jeff Sharkey
625239a054 Migrate more Secure settings to Global.
Migrate networking, storage, battery, DropBox, and PackageManager
related Secure settings to Global table.

Bug: 7232014, 7231331, 7231198
Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
2012-09-27 16:22:53 -07:00
Christopher Tate
c7e58d09ae am 3f91e43e: Merge "Full (local) restore security changes" into jb-mr1-dev
* commit '3f91e43eb00764cebfdffb42a3ddcb723ae439e0':
  Full (local) restore security changes
2012-09-27 15:02:10 -07:00
Christopher Tate
3f91e43eb0 Merge "Full (local) restore security changes" into jb-mr1-dev 2012-09-27 14:58:47 -07:00
Ben Gruver
37d83a3caf Pass the originating uid to the package verifier
Bug: 6923241
Change-Id: I85a3e0d53b469543cb0551d3a440d2663b5d0697
2012-09-27 13:02:06 -07:00
Christopher Tate
f6d6fa8cbc Full (local) restore security changes
(1) Prevent full restore from creating files/directories that are
    accessible by other applications

(2) Don't restore filesets from "system" packages; i.e. any that runs
    as a special uid, unless they define their own agent for handling
    the restore process.

Bug 7168284

Change-Id: Id6a0cb4c113c2e4a8c4605252cffa41bea22d8a3
2012-09-27 12:54:37 -07:00
Adam Cohen
d086ee036e am 580ee8b0: Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev
* commit '580ee8b0c6e1aea1e2e1d60499b603b9168b44f0':
  Fixing AppWidgetService / AppWidgetHost to work in system process
2012-09-27 11:19:28 -07:00
Adam Cohen
580ee8b0c6 Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev 2012-09-27 11:17:20 -07:00
Daniel Sandler
11cf178100 Cleanup internal status bar APIs.
IStatusBarService.collapseQuickSettings is gone;
collapseNotifications is now collapsePanels, which does what
collapse() used to do. Similarly,
IStatusBar.animateCollapseQuickSettings is now simply
IStatusBar.animateCollapse().

Bug: 7245229
Change-Id: Id157d2fdf34926d3c85ffa8b81c741a5359aede4
2012-09-27 14:03:08 -04:00
Satoshi Kataoka
5ade83ba12 Treat additional inputmethod subtypes per user
Bug: 6931482
Change-Id: I4f7c7e69a80534da3a48ac508ff7a9e7511f33ce
2012-09-27 19:00:44 +09:00
Dianne Hackborn
db9daf7597 am 2480bc12: Merge "Fix issue #7232952: Settings crash on tapping on Downloaded apps on a secondary user" into jb-mr1-dev
* commit '2480bc12a525a55ebff453dbf6ca95258b9f23cf':
  Fix issue #7232952: Settings crash on tapping on Downloaded apps on a secondary user
2012-09-27 00:55:07 -07:00
Dianne Hackborn
2480bc12a5 Merge "Fix issue #7232952: Settings crash on tapping on Downloaded apps on a secondary user" into jb-mr1-dev 2012-09-27 00:53:08 -07:00
Dianne Hackborn
c7ba771a45 Fix issue #7232952: Settings crash on tapping on Downloaded apps on a secondary user
Also tweak bind flags for new location services so they
aren't put so aggressively up in the oom adj list.

Change-Id: I9da25a3fea7681013b4d95b7db7e9a808f2d733b
2012-09-26 23:22:59 -07:00
Jeff Brown
4ff4f4a39b am 7bb89cf1: Merge changes I2c09abaa,I9d8406e1 into jb-mr1-dev
* commit '7bb89cf1632da6dc236e6603c4245301500eeb39':
  Cure narcolepsy.
  Allow applications to connect to known wifi displays.
2012-09-26 20:23:13 -07:00
Jeff Sharkey
03d28b5974 am f21b94a8: Merge "Remove unused Secure settings." into jb-mr1-dev
* commit 'f21b94a8774f238daf90105a42bc6c140dd7dae2':
  Remove unused Secure settings.
2012-09-26 20:21:22 -07:00
Jeff Sharkey
031c410adc am 68b7a6d1: Merge "First step towards cleaning up Global settings." into jb-mr1-dev
* commit '68b7a6d14b68b38324ffd275c7227805c7d99b2d':
  First step towards cleaning up Global settings.
2012-09-26 20:19:32 -07:00
Jeff Brown
7bb89cf163 Merge changes I2c09abaa,I9d8406e1 into jb-mr1-dev
* changes:
  Cure narcolepsy.
  Allow applications to connect to known wifi displays.
2012-09-26 20:19:09 -07:00
Jeff Sharkey
f21b94a877 Merge "Remove unused Secure settings." into jb-mr1-dev 2012-09-26 20:17:44 -07:00
Jeff Sharkey
68b7a6d14b Merge "First step towards cleaning up Global settings." into jb-mr1-dev 2012-09-26 20:15:45 -07:00
Jeff Brown
f9d40f4236 Cure narcolepsy.
Bug: 7204211
Change-Id: I2c09abaad5d321cec6f62f7ca0ce00c3b61ee211
2012-09-26 18:57:48 -07:00
Jeff Brown
bc33545746 Allow applications to connect to known wifi displays.
Bug: 7177920
Change-Id: I9d8406e1016988e2cd267dfa52d78a829f1b385e
2012-09-26 18:34:47 -07:00