100720 Commits

Author SHA1 Message Date
Irfan Sheriff
c538b730d4 am 8a64b1a7: Handle airplane settings properly
* commit '8a64b1a7f4b07e71b9eb0f4a98710cb1409588bf':
  Handle airplane settings properly
2013-02-21 14:15:47 -08:00
Irfan Sheriff
6f85bdcacc am b8c0e009: Restructure wifiservice for clarity
* commit 'b8c0e009a74ac2eaee8946fbe0bb3b3fe2749c9a':
  Restructure wifiservice for clarity
2013-02-21 14:15:45 -08:00
Irfan Sheriff
713422afab am d017f352: Move wifiservice into its own package
* commit 'd017f3523244974a8a3fb653ed4b6d514affcc01':
  Move wifiservice into its own package
2013-02-21 14:15:42 -08:00
Craig Mautner
4636dc4c5d am 7a7360ad: Merge "Add null check to setAppGroupId."
* commit '7a7360ad528576d560aa13fbb4e81740b2c425b2':
  Add null check to setAppGroupId.
2013-02-21 14:15:39 -08:00
Derek Sollenberger
1b63e60abd Fix use case where the Java Canvas is reused.
When provided with a new bitmap device the canvas will retain
certain information such as it's matrix and clip.

bug: 8167188
Change-Id: I20ac8a24eebc85fb7c147504a103ce9a95b530b3
2013-02-21 14:49:17 -05:00
Irfan Sheriff
8a64b1a7f4 Handle airplane settings properly
Fix bug dealing with airplane mode settings of whether wifi
is sensitive to airplane mode change and whether wifi is
allowed to override airplane mode that likely has been
broken ever since.

Bug: 8141918
Change-Id: Ia3116c9dfce2952cbe3911e9d81dbbae0430abef
2013-02-21 08:49:54 -08:00
Irfan Sheriff
b8c0e009a7 Restructure wifiservice for clarity
Move seperate operation pieces into own classes

Bug: 8141918
Change-Id: Iacb15ceca5431136051e815aa71617eef89b9fe9
2013-02-21 08:49:07 -08:00
Irfan Sheriff
d017f35232 Move wifiservice into its own package
Change-Id: I3ff378a29cb4dd191605b0b641147eba1f445d13
2013-02-21 08:48:18 -08:00
Craig Mautner
7a7360ad52 Merge "Add null check to setAppGroupId." 2013-02-21 16:28:29 +00:00
Craig Mautner
32b44d08e2 Add null check to setAppGroupId.
Fix bug 8217929.

Change-Id: I3bd54c32abcf6683c2fa75a85bf5025f47e09398
2013-02-21 08:26:06 -08:00
Jim Miller
29ae06633d am ec6156f9: Merge "Fix the build."
* commit 'ec6156f9e884ba85c76a9c4683f83f18b3f64afa':
  Fix the build.
2013-02-20 17:08:24 -08:00
Jim Miller
ec6156f9e8 Merge "Fix the build." 2013-02-21 01:03:21 +00:00
Jim Miller
ef04a9b7e1 Fix the build.
Change-Id: If53878937fe1ca01ad8db9f9d201d0f9aaaec81b
2013-02-20 16:58:59 -08:00
Scott Main
9c64d95e51 am 487767cf: am 09ee121c: am 7c3e0dcc: am b5261bfe: am 36c14ef8: am 488c81ae: docs: add note about javascript interface to 4.2 overview
* commit '487767cfecea57ce15193e99b3b3f22a7521f588':
  docs: add note about javascript interface to 4.2 overview
2013-02-20 16:58:45 -08:00
Craig Mautner
207493c40a am 5161f209: Fix crashing bug in validator.
* commit '5161f20925ec071e72c2b0eb084f7abaa9dffabf':
  Fix crashing bug in validator.
2013-02-20 16:58:42 -08:00
Scott Main
487767cfec am 09ee121c: am 7c3e0dcc: am b5261bfe: am 36c14ef8: am 488c81ae: docs: add note about javascript interface to 4.2 overview
* commit '09ee121c273d49bc8f77180e9cb49fe23e08bda4':
  docs: add note about javascript interface to 4.2 overview
2013-02-20 16:57:35 -08:00
Craig Mautner
5161f20925 Fix crashing bug in validator.
Change-Id: I649bb7cfc2b42fbeda478edcaa3a56f3c23d4bc8
2013-02-20 16:54:05 -08:00
Scott Main
09ee121c27 am 7c3e0dcc: am b5261bfe: am 36c14ef8: am 488c81ae: docs: add note about javascript interface to 4.2 overview
* commit '7c3e0dcc7d395430e72b6786b715a530d8b5db4d':
  docs: add note about javascript interface to 4.2 overview
2013-02-20 16:53:10 -08:00
Scott Main
7c3e0dcc7d am b5261bfe: am 36c14ef8: am 488c81ae: docs: add note about javascript interface to 4.2 overview
* commit 'b5261bfe8f55617b8a91800bcc3ac41871bc5068':
  docs: add note about javascript interface to 4.2 overview
2013-02-20 16:49:18 -08:00
Scott Main
b5261bfe8f am 36c14ef8: am 488c81ae: docs: add note about javascript interface to 4.2 overview
* commit '36c14ef8c941133d3d35eee9afc76bd63b316ef6':
  docs: add note about javascript interface to 4.2 overview
2013-02-20 16:47:36 -08:00
Scott Main
36c14ef8c9 am 488c81ae: docs: add note about javascript interface to 4.2 overview
* commit '488c81aebb24b2cde7a0878b2d8bab88484544ca':
  docs: add note about javascript interface to 4.2 overview
2013-02-20 16:44:34 -08:00
Craig Mautner
1c4586ceda am 07aa25da: Merge "Switch topRunning* and moveTaskTo*"
* commit '07aa25dab9b8f5592b2e9e7dbc708b5e3064c5ff':
  Switch topRunning* and moveTaskTo*
2013-02-20 16:42:18 -08:00
Craig Mautner
07aa25dab9 Merge "Switch topRunning* and moveTaskTo*" 2013-02-21 00:39:00 +00:00
Svetoslav
e5918b6c0a am 6f8218a4: Trying to unregister a semi connected accessibility service.
* commit '6f8218a442a8de50ef33d20263a59cd47c513e62':
  Trying to unregister a semi connected accessibility service.
2013-02-20 16:35:21 -08:00
Craig Mautner
11bf9a52eb Switch topRunning* and moveTaskTo*
- More of the Activity to Task changeover.
- Fix bug in validateAppTokens().
- Improved validation of changeover.
- Eliminated iterator classes.

Change-Id: I934a208eabfc9a2668e5a6162452e1406f2c8d3a
2013-02-20 16:29:07 -08:00
Svetoslav
6f8218a442 Trying to unregister a semi connected accessibility service.
When an accessibility service connects we get a callback in
    which we either add the service, if this service is in the list
    of connecting services (we still want the service to connect),
    or we unbind and clear the state, if the service is no longer in
    the list of connecting services (we do not want this service to
    connect because something change between the bind request and
    the connection callback).

    The problem is that when the service connects and it is not in
    the list of connecting services on service connected we called
    the clean up code before the connection was complete. However,
    the clean up code expects fully configured services. Now we
    fully connect the service and in case there is a problem -
    disconnect it.

    bug:8232627

Change-Id: I939e544e31ffc1406035265a012c180f2ca95d7c
2013-02-20 16:28:43 -08:00
Scott Main
488c81aebb docs: add note about javascript interface to 4.2 overview
Change-Id: I19454c481061b27197399d63abc466810b9e1ff8
2013-02-20 16:10:32 -08:00
Jim Miller
91757f98a5 am ab8e936e: Merge "Add explicit userId to AppWidget binder calls"
* commit 'ab8e936e852b984624087c97dffc4c74b250fc68':
  Add explicit userId to AppWidget binder calls
2013-02-20 16:04:56 -08:00
Jim Miller
ab8e936e85 Merge "Add explicit userId to AppWidget binder calls" 2013-02-21 00:00:49 +00:00
Scott Main
230506752a am c94f0675: am bedf5b35: am c1fd3ca5: am ad7b70b6: am 41ae4d7e: am e61116b9: update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
* commit 'c94f06754a24f775072578d27eb08e4e55ddd93b':
  update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
2013-02-20 15:45:36 -08:00
Scott Main
c94f06754a am bedf5b35: am c1fd3ca5: am ad7b70b6: am 41ae4d7e: am e61116b9: update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
* commit 'bedf5b35eb58a1a29799ac5fb79d1a32dec80eb5':
  update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
2013-02-20 15:42:12 -08:00
Jim Miller
a75a883fe9 Add explicit userId to AppWidget binder calls
Keyguard currently relies on being in the system process to grab the
given user's widgets.  When we split keyguard into a new process,
it will need to have access to user-specific info to instantiate a
specific user's widgets.  In order to accomplish this, we add an
explicit userid to each binder call as well as new permission
check to allow keyguard access.

This also fixes a potential race condition of having an incorrect user id
due to an async call to change the user.  Every binder call now has a specific
user id. The user id is either the calling process user's id or an explicit
one passed by applications like keyguard. It is created once when an
AppWidgetManager is instantiated and remains for the lifetime of the object.

Fixed bug where widgets sometimes didn't show up for secondary users.

Moved permission check in AppWidgetService into getImplForUser()

Refactored to use userid from context associated AppWidgetManager instance.

Clean up AppWidgetHost to use userId from Context.

Remove redundant userId check in checkPermission since it's handled by
ActivityManager.handleIncomingUser()

Removed redundant userid check.

Upload after rebase...

Change-Id: Iae3e20f2b342c323bb58768b3d22051510f8268b
2013-02-20 15:41:14 -08:00
Scott Main
bedf5b35eb am c1fd3ca5: am ad7b70b6: am 41ae4d7e: am e61116b9: update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
* commit 'c1fd3ca5cc876110688ee32675e8cac7c5b5eae6':
  update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
2013-02-20 15:38:38 -08:00
Scott Main
c1fd3ca5cc am ad7b70b6: am 41ae4d7e: am e61116b9: update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
* commit 'ad7b70b63171e5e6ddd62c37d97437a5123f33bc':
  update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
2013-02-20 15:35:48 -08:00
Scott Main
ad7b70b631 am 41ae4d7e: am e61116b9: update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
* commit '41ae4d7e04188657054df8ffdc7710d7c829fbc4':
  update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
2013-02-20 15:33:36 -08:00
Scott Main
41ae4d7e04 am e61116b9: update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
* commit 'e61116b9a1f2d92fbda3d23d35a3742d0661c2be':
  update dev console language for new site design. Language only; no screenshot changes. bug: 8032875 bug: 8033647 bug: 8033688
2013-02-20 15:30:04 -08:00
Fabrice Di Meglio
584e5af847 am 50c291b6: Merge "SystemUI optimization - rely on inheritance for layout direction"
* commit '50c291b653062e7356fd8764bf625a1e1f2c678d':
  SystemUI optimization - rely on inheritance for layout direction
2013-02-20 15:21:26 -08:00
Fabrice Di Meglio
50c291b653 Merge "SystemUI optimization - rely on inheritance for layout direction" 2013-02-20 23:18:04 +00:00
Dianne Hackborn
b944130494 am c49f4722: Merge "Fix issue #8228463: contradicting public documentation on what..."
* commit 'c49f47220ae21efe8888537d5403b8bfa011715a':
  Fix issue #8228463: contradicting public documentation on what...
2013-02-20 15:17:47 -08:00
Dianne Hackborn
c49f47220a Merge "Fix issue #8228463: contradicting public documentation on what..." 2013-02-20 23:13:25 +00:00
Michael Wright
01fc6fc4c1 am 1fd2ed58: Merge "Add brightness dialog to SystemUI"
* commit '1fd2ed58da3e578df0cd0c326c719cf1c282b793':
  Add brightness dialog to SystemUI
2013-02-20 15:06:43 -08:00
Dianne Hackborn
a53ee35754 Fix issue #8228463: contradicting public documentation on what...
...Intents match an IntentFilter that has no action specified

And various other doc improvements.

Change-Id: I6d881c8aed56c552e36d5db5df4f74c6aa718da7
2013-02-20 15:05:39 -08:00
Michael Wright
1fd2ed58da Merge "Add brightness dialog to SystemUI" 2013-02-20 23:03:18 +00:00
Ben Cheng
08d160a366 am 7a60c43d: Merge "Use free for memory chunks allocated through memalign."
* commit '7a60c43d874bd047ea4b93b94c9b8771ea5739cc':
  Use free for memory chunks allocated through memalign.
2013-02-20 14:39:35 -08:00
Michael Wright
0087a14d4b Add brightness dialog to SystemUI
Change-Id: If31406c9144bb2583876f08dd54b259d1dfa3601
2013-02-20 14:39:03 -08:00
Ben Cheng
7a60c43d87 Merge "Use free for memory chunks allocated through memalign." 2013-02-20 22:34:58 +00:00
Ed Heyl
3c394a3bec am 780294be: Merge remote-tracking branch \'goog/jb-mr2-release\'
* commit '780294be50b57d94455c709044e36098c829f72a':
  Add DUMP permission to SystemUI for bugreports.
  fix argument mismatches in Paint JNI
  Proper clean up when Ui test automation service is unregistered or dies.
  Revert "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" DO NOT MERGE
  Fixing a NPE in accessibility manager service.
  Revert "Fix for bug: 8184401 - GridLayout accounts for child's size/measurements even when a child is "GONE""
  Prevent crash when setting up a stencil-based clip Bug #8177690
  Manually recycling bitmap memory when rotating ss, resetting canvas bitmap, adding logging. (Bug 7974275)
  Reintroduce the net.dns system properties <TEMP>
  Add a RenderBuffer object to store stencil buffers. Bug #7146141
  "Fixing backwards cmpatibility for enabling explore by touch""
  Revert "Fixing backwards cmpatibility for enabling explore by touch"
  Check text length when testing for newline.
  Fix GpsLocationProvider.enable/disable/isEnabled
  Add K api version.
  Revert "App home directories are now 0700 for targetSdkVersion > 17"
  Fix media scan NPE
  Fix systemui crash on Xoom startup
2013-02-20 13:55:57 -08:00
Ed Heyl
780294be50 Merge remote-tracking branch 'goog/jb-mr2-release' 2013-02-20 13:47:29 -08:00
Daniel Sandler
569e44a73b am fd171e43: Merge "Switch to system process before modifying rotation."
* commit 'fd171e43e4946ce5789e5dd8ade09a1cbf2a5ae0':
  Switch to system process before modifying rotation.
2013-02-20 13:39:12 -08:00
Daniel Sandler
fd171e43e4 Merge "Switch to system process before modifying rotation." 2013-02-20 21:35:53 +00:00