Commit Graph

23575 Commits

Author SHA1 Message Date
George Mount
b49f2bb5dd Change from left/right to base/extent for selection handles.
Bug 6557816
 This is a step in preparation to fix text area selection.
 It moves selection from left/right to base/extent. left/right
 can cause problems when dragging cursors -- it is sometimes
 difficult to tell which cursor should be dragged, the left or
 right, but we can always keep the base/extent constant.

 Webkit Change: I5609d07ea2ee67fc08d15cfcad31f49302f33297

Change-Id: I2f9b963e93bb1ab86a9b26518fca52449b56d5d9
2012-06-01 14:29:37 -07:00
Eric Laurent
846890957d am c383b407: am cee7203f: Merge "Send device connection intents from AudioService" into jb-dev
* commit 'c383b407ad24474b87de68f93ea95de495f6d2c1':
  Send device connection intents from AudioService
2012-05-31 08:29:29 -07:00
Eric Laurent
c383b407ad am cee7203f: Merge "Send device connection intents from AudioService" into jb-dev
* commit 'cee7203f9ac3e54f39b5f528e014f2d3583f60dc':
  Send device connection intents from AudioService
2012-05-31 08:25:33 -07:00
Eric Laurent
cee7203f9a Merge "Send device connection intents from AudioService" into jb-dev 2012-05-31 08:22:50 -07:00
Eino-Ville Talvala
80ee5aaeea am ac8ed11d: am 28795d88: Merge "Fix race condition with preview callback." into jb-dev
* commit 'ac8ed11db3ccfa4f017bbb20d49c463595e6d90a':
  Fix race condition with preview callback.
2012-05-30 19:17:28 -07:00
Svetoslav Ganov
2d9f96bf45 am 191e7c5a: am 758534ed: Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev
* commit '191e7c5a4959e4c16154ade5d1ceb277ef31021e':
  Ask to enable touch exploration only the first time it enables the feature.
2012-05-30 19:13:29 -07:00
Eino-Ville Talvala
ac8ed11db3 am 28795d88: Merge "Fix race condition with preview callback." into jb-dev
* commit '28795d883a34f5393ff00dca0a54aca79b2607d5':
  Fix race condition with preview callback.
2012-05-30 19:12:52 -07:00
Svetoslav Ganov
191e7c5a49 am 758534ed: Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev
* commit '758534ed50d1d2c643999bd7eb3f909b0834e393':
  Ask to enable touch exploration only the first time it enables the feature.
2012-05-30 19:08:52 -07:00
Eino-Ville Talvala
28795d883a Merge "Fix race condition with preview callback." into jb-dev 2012-05-30 19:07:55 -07:00
Svetoslav Ganov
758534ed50 Merge "Ask to enable touch exploration only the first time it enables the feature." into jb-dev 2012-05-30 19:06:23 -07:00
Svetoslav Ganov
9a4c5cd191 Ask to enable touch exploration only the first time it enables the feature.
1. Now we are asking the user to grant permission to the service to enable
   touch exploration only the first time this service is enabled. If the
   service was uninstalled and then later installed we ask the user again.
   This avoids the scenario in which rebooting the device or upgrading an
   accessibility service leaves the device in a state in which the user
   cannot interact with.

bug:6582088

Change-Id: I51d24e4892b3b48c9fb11dfb09ec1118502ba526
2012-05-30 18:41:08 -07:00
Dianne Hackborn
e075d5099b am 11855f31: am 388d4801: Merge "Working on issue #6561352: java.lang.RuntimeException: Unable to start..." into jb-dev
* commit '11855f31a3f7074d9fbccd1ee460b99fc47162c6':
  Working on issue #6561352: java.lang.RuntimeException: Unable to start...
2012-05-30 18:17:41 -07:00
Dianne Hackborn
11855f31a3 am 388d4801: Merge "Working on issue #6561352: java.lang.RuntimeException: Unable to start..." into jb-dev
* commit '388d4801d5f314c804c5ab2dff76f764ed28a991':
  Working on issue #6561352: java.lang.RuntimeException: Unable to start...
2012-05-30 18:14:19 -07:00
Dianne Hackborn
388d4801d5 Merge "Working on issue #6561352: java.lang.RuntimeException: Unable to start..." into jb-dev 2012-05-30 18:11:23 -07:00
Svetoslav Ganov
4305cd3276 am c6dd2dd4: am f14c078c: Merge "Don\'t mark list headers or invalid items as disabled." into jb-dev
* commit 'c6dd2dd4b38b96be3deee94540973c83498a496c':
  Don't mark list headers or invalid items as disabled.
2012-05-30 17:53:55 -07:00
Svetoslav Ganov
c6dd2dd4b3 am f14c078c: Merge "Don\'t mark list headers or invalid items as disabled." into jb-dev
* commit 'f14c078ccc8fe8a2435d3c6b6e47aad81fffd663':
  Don't mark list headers or invalid items as disabled.
2012-05-30 17:49:17 -07:00
Svetoslav Ganov
f14c078ccc Merge "Don't mark list headers or invalid items as disabled." into jb-dev 2012-05-30 17:47:02 -07:00
Eino-Ville Talvala
ca367b7178 Fix race condition with preview callback.
Bug: 6301018
Change-Id: I19b8bc03ef3983d69e1e986c0f1a8154af5ab080
2012-05-30 17:06:54 -07:00
Dianne Hackborn
61af8a8ef7 Working on issue #6561352: java.lang.RuntimeException: Unable to start...
...activity ComponentInfo{com.google.android.googlequicksearchbox
/com.google.android.googlequicksearchbox.SearchActivity}

Add check for a situation where we are saving the state of a
fragment with a -1 index, and fail early in that case with more
debug information.

Change-Id: I03a928dde521fa06664d0036dd9f90eef3247afc
2012-05-30 16:38:30 -07:00
Kenny Root
327bc6bb50 am 65519b8b: am 03e93e51: Merge "Move package-wide flags out of parseApplication" into jb-dev
* commit '65519b8bb94321889eb3e34c76428f6dd9e0bd84':
  Move package-wide flags out of parseApplication
2012-05-30 15:50:45 -07:00
Amith Yamasani
2f3c472b69 am 2eb203aa: am 90f658e1: Merge "Preserve account list in order of creation in the database." into jb-dev
* commit '2eb203aa92df94d9a2160bc8626adef7429a85b8':
  Preserve account list in order of creation in the database.
2012-05-30 15:50:41 -07:00
Kenny Root
65519b8bb9 am 03e93e51: Merge "Move package-wide flags out of parseApplication" into jb-dev
* commit '03e93e51c8cf936dc68bb807d28308628e3981cc':
  Move package-wide flags out of parseApplication
2012-05-30 15:46:49 -07:00
Amith Yamasani
2eb203aa92 am 90f658e1: Merge "Preserve account list in order of creation in the database." into jb-dev
* commit '90f658e17d86d7f4052b178dbfdf15977c5d7841':
  Preserve account list in order of creation in the database.
2012-05-30 15:46:47 -07:00
Kenny Root
03e93e51c8 Merge "Move package-wide flags out of parseApplication" into jb-dev 2012-05-30 15:43:42 -07:00
Amith Yamasani
90f658e17d Merge "Preserve account list in order of creation in the database." into jb-dev 2012-05-30 15:43:19 -07:00
Fabrice Di Meglio
3b6a3f004f am 875713c6: am f053e236: Merge "Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText" into jb-dev
* commit '875713c6886a5b24fff3a2ce36eb95bc9446e749':
  Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText
2012-05-30 15:37:40 -07:00
alanv
325ea8deb8 Don't mark list headers or invalid items as disabled.
Bug: 6581689
Change-Id: I4088cdc7e785e60fe7e30807cdf045131584f29d
2012-05-30 15:36:18 -07:00
Fabrice Di Meglio
875713c688 am f053e236: Merge "Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText" into jb-dev
* commit 'f053e2367d4859adf9488bd1712bdbe8f647eeb8':
  Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText
2012-05-30 15:34:07 -07:00
Fabrice Di Meglio
f053e2367d Merge "Fix bug #6567507 [Bidi] - Cursor is sometimes not visible on EditText" into jb-dev 2012-05-30 15:31:23 -07:00
Kenny Root
7cb9be26c1 Move package-wide flags out of parseApplication
Being on SD card and being forward-locked are package-wide flags that
shouldn't depend on an APK having an <application> stanza.

Bug: 6563724
Change-Id: If5f2159cd8e3fa136f959b656d82b05ea6bdfae5
2012-05-30 15:30:37 -07:00
Jeff Brown
8f2a0da78f am bbffc261: am 9154b877: Merge "Fix comparison of device source bits." into jb-dev
* commit 'bbffc261cc3607d03c12227cdd3f78a4f4e28e1a':
  Fix comparison of device source bits.
2012-05-30 15:08:21 -07:00
Jeff Brown
bbffc261cc am 9154b877: Merge "Fix comparison of device source bits." into jb-dev
* commit '9154b877807a1222abf46608cdff66428e906328':
  Fix comparison of device source bits.
2012-05-30 15:02:59 -07:00
Jeff Brown
9154b87780 Merge "Fix comparison of device source bits." into jb-dev 2012-05-30 15:00:39 -07:00
Eric Laurent
b1fbaaccb6 Send device connection intents from AudioService
AudioService is currently notified of wired headset and A2DP
sink connection states via broadcast intents from WiredAccessoryObserver
and BluetoothA2dpService. This is a problem as there is no guaranty that
AudioService can take actions upon the change before other apps are notified.
For instance, the Play On feature requires the UI to be refreshed when a device
is inserted/removed and we must guaranty that the UI component can read
new A2DP enable state from AudioManager after it receives a device connection state
change intent.

- Added hidden methods to AudioManager so that WiredAccessoryObserver
and BluetoothA2dpService can notify AudioService of device connection directly.
- The wired accessories connection intents are now sent by AudioService.
- The A2DP state change intent is delayed by BluetoothA2DPService when
ACTION_AUDIO_BECOMING_NOISY is sent by AudioService
- ACTION_AUDIO_BECOMING_NOISY intent is not sent when disconnecting A2DP
while a wired headset is present and vice versa.

Bug 6485897.

Change-Id: Ie160b3ee5f451132065530772b868593c90afd94
2012-05-30 14:44:43 -07:00
Jeff Brown
7e4ff4b986 Fix comparison of device source bits.
Bug: 6576743
Change-Id: I6952b052e2ab9e62ddd46ab76f4df37ecc656757
2012-05-30 14:32:16 -07:00
Amith Yamasani
b483a99c6b Preserve account list in order of creation in the database.
This makes it possible to retrieve the account list in the order of creation,
if we want to display them in the account settings screen in that order.

Bug: 6579937

Change-Id: I2025aaa8b770fbb78be978dfde64ef95823fd5aa
2012-05-30 13:58:38 -07:00
Daniel Sandler
73ac11ae37 am bb702f57: am c5d20509: Merge "Visual tweaks to notifications." into jb-dev
* commit 'bb702f576a8b566279a2a728c7aded380c5d50a5':
  Visual tweaks to notifications.
2012-05-30 13:03:29 -07:00
Daniel Sandler
bb702f576a am c5d20509: Merge "Visual tweaks to notifications." into jb-dev
* commit 'c5d2050961a06c0931b7de338324968a509f4f00':
  Visual tweaks to notifications.
2012-05-30 12:57:25 -07:00
Daniel Sandler
c5d2050961 Merge "Visual tweaks to notifications." into jb-dev 2012-05-30 12:55:00 -07:00
Daniel Sandler
6387d2f6da Visual tweaks to notifications.
- Smaller right_icons
  - Higher-contrast text colors
  - Dividers between actions
  - Dividers above actions and overflows
  - Consistent 8dp gutter on left of content
  - BigTextStyle should not show line3 unless there is a subtext.
  - Collapse summary ("overflow") text into line3. This is a
    little wild because now the contentText, subText, and
    summaryText all share this spot, but the various
    variables all have different times when they're
    expressed so you have greater control over what shows
    where in the 1U and the expanded form.
  - Do not show contentText in BigText's line3. If you have
    subtext or summarytext, show that; otherwise suppress
    line3 entirely.

Bug: 6558134 // line3
Bug: 6508804 // other visuals
Change-Id: Ib79e818a332d17000e9a8fce333eff8f8cf043aa
2012-05-30 15:28:22 -04:00
Fred Quintana
cb54a9333c am e3fada79: am 3c144c3e: Merge "Add an updateAppPermission() API call to the AccountManagerService AIDL and have the GrantCredentialsPermissionActivity call that instead of a static so that it can be made to run in a different process than the AccountManagerService.
* commit 'e3fada7949e788b42423afe719d03f543b17a1f0':
  Add an updateAppPermission() API call to the AccountManagerService AIDL and have the GrantCredentialsPermissionActivity call that instead of a static so that it can be made to run in a different process than the AccountManagerService. Protect this call by checking that the caller has the same UID as the system process.
2012-05-30 11:44:00 -07:00
Fred Quintana
e3fada7949 am 3c144c3e: Merge "Add an updateAppPermission() API call to the AccountManagerService AIDL and have the GrantCredentialsPermissionActivity call that instead of a static so that it can be made to run in a different process than the AccountManagerService. Protect this
* commit '3c144c3e69405000f5c7542f20890437a4fb4987':
  Add an updateAppPermission() API call to the AccountManagerService AIDL and have the GrantCredentialsPermissionActivity call that instead of a static so that it can be made to run in a different process than the AccountManagerService. Protect this call by checking that the caller has the same UID as the system process.
2012-05-30 11:39:04 -07:00
Fred Quintana
3c144c3e69 Merge "Add an updateAppPermission() API call to the AccountManagerService AIDL and have the GrantCredentialsPermissionActivity call that instead of a static so that it can be made to run in a different process than the AccountManagerService. Protect this call by checking that the caller has the same UID as the system process." into jb-dev 2012-05-30 11:36:15 -07:00
Dianne Hackborn
357046525b am 2e73f4c0: am f46bd06c: Merge "Fix issue #6579824: Email crash observed after updating..." into jb-dev
* commit '2e73f4c059e366489c50ad0dd4e05890afa522d8':
  Fix issue #6579824: Email crash observed after updating...
2012-05-30 11:25:24 -07:00
Dianne Hackborn
2e73f4c059 am f46bd06c: Merge "Fix issue #6579824: Email crash observed after updating..." into jb-dev
* commit 'f46bd06c6822752acd24265a7db5c86d6036bc38':
  Fix issue #6579824: Email crash observed after updating...
2012-05-30 11:20:51 -07:00
Dianne Hackborn
f46bd06c68 Merge "Fix issue #6579824: Email crash observed after updating..." into jb-dev 2012-05-30 11:18:33 -07:00
Dianne Hackborn
5f48fca218 Fix issue #6579824: Email crash observed after updating...
...device from JRN59D to JRN60

Deal correctly with multiprocess content providers that need to
be loaded into a secondary process; wasn't correctly detecting the
case where the IContentProvider returned by the activity manager
is null.  (installProvider used to be given the direct IContentProvider,
now it gets the ContentProviderHolder and much check whether the
provider inside is null.)

Change-Id: I888622e275a459031ab849952941f39cf9c02ee0
2012-05-30 11:06:31 -07:00
Alice Yang
67ee2d72f5 am 4d19ce60: am 6c66e984: Merge "New UI for account picker" into jb-dev
* commit '4d19ce609b229ff0bebb577746f8beac17011325':
  New UI for account picker
2012-05-30 10:47:14 -07:00
Alice Yang
4d19ce609b am 6c66e984: Merge "New UI for account picker" into jb-dev
* commit '6c66e9842e93874bfd6d8c3dbcd19e7dae379877':
  New UI for account picker
2012-05-30 10:42:26 -07:00
Alice Yang
6c66e9842e Merge "New UI for account picker" into jb-dev 2012-05-30 10:39:42 -07:00