158342 Commits

Author SHA1 Message Date
Evan Charlton
134dd68ff9 Associate a UserHandle with each PhoneAccountHandle
This needs to be tracked so that connections get directed to the
correct user. This is not a public API; rather, it will be populated
and read only by the Telecom service.

Expose a new capability, CAPABILITY_MULTI_USER which can be used by
system-privileged apps to indicate that this PhoneAccount may be
used by any user on the device.

Bug: 17421902
Bug: 17421044
Change-Id: I673904a7ae038c88688bba62642e93174e55c308
2014-12-05 08:55:13 -08:00
Dan Sandler
7792b714b6 Merge "Don't forget to listen for USER_ALL broadcasts." into lmp-mr1-dev 2014-12-05 14:27:27 +00:00
Benjamin Franz
fb967585cc Merge "Change the routing path of bluetooth headset connections." into lmp-mr1-dev 2014-12-05 12:04:03 +00:00
Justin Harrison
cff6d450dc Merge "Ensure that the USER_PRESENT_INTENT is sent to all profiles of the current user." into lmp-mr1-dev 2014-12-05 07:42:59 +00:00
Raph Levien
c8640fca78 Merge "Add 8 more scripts to the font fallback chain." into lmp-mr1-dev 2014-12-05 07:27:33 +00:00
Dan Sandler
e63ba4b03d Don't forget to listen for USER_ALL broadcasts.
The ActivityManager.closeSystemDialogs() call (used by,
among other things, the home button) broadcasts
ACTION_CLOSE_SYSTEM_DIALOGS for UserHandle.USER_ALL, rather
than any one user.

Bug: 18629414
Change-Id: I89bfa3f556866e1b27987be2753ce83fd0313998
2014-12-05 00:26:24 -05:00
Dongwon Kang
9e094efa93 Merge "TIF: handle a race condition when a session is crashed" into lmp-mr1-dev 2014-12-05 04:08:25 +00:00
Dongwon Kang
670de6b627 Merge "TIF: increase the time threshold for tune operation which was too harsh" into lmp-mr1-dev 2014-12-05 04:08:06 +00:00
Filip Gruszczynski
26af8c197c am 26b18771: Merge "Private Window flag to disable touch events in WallpaperService." into lmp-sprout-dev
* commit '26b187711fdf6224e14df465a58f30f510011b49':
  Private Window flag to disable touch events in WallpaperService.
2014-12-05 02:34:26 +00:00
Ricardo Cervera-Navarro
53966f6268 am 8242ae16: am dddc2981: am 1782e526: Merge "Revert "docs: Long press to dismiss fix by Wayne"" into lmp-docs
* commit '8242ae16b6f0f293ececb75228fb1364061171d0':
  Revert "docs: Long press to dismiss fix by Wayne"
2014-12-05 02:34:02 +00:00
Raph Levien
238efad04b Merge "Change Linkify leniency to VALID" into lmp-mr1-dev 2014-12-05 02:14:52 +00:00
Nancy Chen
fa53c93462 Merge "Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)" into lmp-mr1-dev 2014-12-05 01:53:22 +00:00
Filip Gruszczynski
26b187711f Merge "Private Window flag to disable touch events in WallpaperService." into lmp-sprout-dev 2014-12-05 01:42:02 +00:00
Dongwon Kang
fdce9e541e TIF: handle a race condition when a session is crashed
Currently, TIMS has a logic for handling session crash (binderDied).
However, this can be racy if the client calls an operation right before it gets
ITvInputClient.onSessionReleased() callback. This change handles those request
gracefully without causing a crash in the client side.

Bug: 18612616
Change-Id: I37241e05d53f3cca693e0239fc9ad5dce02fc925
2014-12-05 10:37:14 +09:00
Dianne Hackborn
25d2c2d61b Merge "Fix issue #18593636: Turn on "kill important processes that..." into lmp-mr1-dev 2014-12-05 01:35:21 +00:00
Alan Viverette
6dfa60f33c Avoid extra saveLayer calls in RippleDrawable, fix docs
Also fixes opacity returned from InsetDrawable to accurately reflect
the transparent inset area and updates button to correctly use tint.

BUG: 18226391
Change-Id: Ia9a88d9d663990a6829d2f251c7f59ea2a79d816
2014-12-04 16:52:16 -08:00
Ricardo Cervera-Navarro
8242ae16b6 am dddc2981: am 1782e526: Merge "Revert "docs: Long press to dismiss fix by Wayne"" into lmp-docs
* commit 'dddc29815375022e52c2945e8cab40f61f56483c':
  Revert "docs: Long press to dismiss fix by Wayne"
2014-12-05 00:42:03 +00:00
Svetoslav
3a0d878ab5 Ensure all events from a showing window are dispatched.
Accessibility services may opt-in to introspect the interactive
windows on the screen. If window introspection is enabled there
is a case where some events from a showing window are received
before the updated window state from the window manager. Now the
window manager sends over the windows before notifying the app
for the focus change.

bug:18625996

Change-Id: Ic481e01efbe12dc92f090f799feeb236672fc7b3
2014-12-05 00:37:38 +00:00
Ricardo Cervera-Navarro
dddc298153 am 1782e526: Merge "Revert "docs: Long press to dismiss fix by Wayne"" into lmp-docs
* commit '1782e526c73bfd2f4eb24b024a5019b66dbdaade':
  Revert "docs: Long press to dismiss fix by Wayne"
2014-12-05 00:33:35 +00:00
Ricardo Cervera-Navarro
1782e526c7 Merge "Revert "docs: Long press to dismiss fix by Wayne"" into lmp-docs 2014-12-05 00:28:00 +00:00
Ricardo Cervera-Navarro
dc320a0b70 Revert "docs: Long press to dismiss fix by Wayne"
This reverts commit 6ee2ca2f1e24d27c7a1e2430ad0272ef9f921a4a.

Change-Id: I07a196ca1e5ae827a77c9a17ddc90d8e14129f67
2014-12-05 00:27:09 +00:00
Lajos Molnar
bcaa315d48 Merge "media: allow full range of Vorbis sampling rates" into lmp-mr1-dev 2014-12-05 00:21:03 +00:00
Jinsuk Kim
6074797441 Merge "CEC: Introduce the retry for commands on the new device discovery." into lmp-mr1-dev 2014-12-05 00:05:11 +00:00
Dianne Hackborn
7194bf4de0 Merge "Add test for isolated services." into lmp-mr1-dev 2014-12-05 00:02:00 +00:00
Nick Chalko
f90b2e5d97 Merge "docs: Fix typo, use --> user" into lmp-mr1-dev 2014-12-05 00:00:23 +00:00
Dongwon Kang
c0abc9cadb TIF: increase the time threshold for tune operation which was too harsh
Bug: 18612616
Change-Id: I62ddde2f9796f3b1dd8240f5c88fbff234b3618b
2014-12-05 08:57:48 +09:00
Chet Haase
0a77897bb6 Merge "Fix seeking behavior" into lmp-mr1-dev 2014-12-04 23:26:59 +00:00
Chet Haase
f4e3bab925 Fix seeking behavior
A recent fix to seeking behavior injected a couple of issues that need
to be addressed:
- the start time should be updated when seeking so that future calculations
that depend on it (such as the next animation frame) will use the updated
start time based on this seek request. This allows, for example, seeking
into a running animator so that that animator will update its current fraction
to the new seeked value.
- calling reverse() on an unstarted animation would incorrectly set the initial
frame of the animation to the end value for one frame before the reverse animation
actually began.

Issue #18567716 No icons in folders in battery saving mode
Issue #18511989 Search bar flashes when icon is picked up and dropped

Change-Id: Ie30b7e797468c6ccb3d17d4fb3aba6b9849436b0
2014-12-04 15:09:01 -08:00
Joe Fernandez
ac76a16dfc am ae80fd42: am f5aa6752: am 709df4fa: Merge "docs: Fixes for App Indexing training class" into lmp-docs
* commit 'ae80fd42a4371e28f6d89dc0f480f35da9dc57ce':
  docs: Fixes for App Indexing training class
2014-12-04 23:07:04 +00:00
Luan Nguyen
fded024ab7 am 0e597e92: am 9b5de582: am daab7426: Merge "docs: Update MessageAPI notes to mention the unreliable transmission nature." into lmp-docs
* commit '0e597e922464545e6257027f71b575bd73adf4f4':
  docs: Update MessageAPI notes to mention the unreliable transmission nature.
2014-12-04 23:06:53 +00:00
smain@google.com
4de95d71ec am cc10c02b: am 6c59abc9: am 9db37264: Merge "update L Preview message and disallow crawling /preview" into lmp-docs
* commit 'cc10c02b10ce6d0be223c4409cb6aab98c5b8858':
  update L Preview message and disallow crawling /preview
2014-12-04 23:05:47 +00:00
Filip Gruszczynski
b8c0694ae8 Private Window flag to disable touch events in WallpaperService.
Change-Id: I18b46340f89cbea0b6daeb1efe9c31656f4e1a5d
2014-12-04 15:02:18 -08:00
Zhentao Sun
8485098fa2 Merge "Fixed a leak in GeofenceHardwareImpl.java." into lmp-mr1-dev 2014-12-04 22:52:51 +00:00
Raph Levien
9dfe86d410 Change Linkify leniency to VALID
The linkify logic used POSSIBLE as its leniency setting, which resulted
in false positives such as 4-digit years being interpreted as phone
numbers. Changing to VALID as per recommendation of libphonenumber
people, which fixes this problem.

Bug: 18489494
Change-Id: I77d330285de46de2fdda22daed41392106ec6ddd
2014-12-04 14:42:38 -08:00
Raph Levien
2f0e6f0c7f Merge "Fix off-by-one error in computeEllipsis" into lmp-mr1-dev 2014-12-04 22:33:09 +00:00
Raph Levien
0e3c5e8272 Fix off-by-one error in computeEllipsis
In the Truncate.MIDDLE case, when the line is less than half the layout
width, the computeEllipsis logic could go past the left edge of the
string. This patch fixes the off-by-one and avoids the resulting index
out of bounds crash, and also changes the behavior so that when
ellipsizing at the middle, the string to the end of the paragraph is
taken into account.

Bug: 18508627
Change-Id: I24be09c23a5aa158791a9717419307613b8a22e8
2014-12-04 22:32:48 +00:00
Jason Monk
d601c6c5c3 Merge "Make CarrierText handle multi-sim" into lmp-mr1-dev 2014-12-04 22:31:58 +00:00
Jason Monk
9ff69bd8f1 Make CarrierText handle multi-sim
To do this need to handle the subscription id that comes with all
spn broadcasts and concatenate properly as needed.

Bug: 18223317
Change-Id: I2a1cde0a4bf2f50082288cc5cdeb968fa9aa7dd0
2014-12-04 17:29:12 -05:00
Nancy Chen
8c066f7cc3 Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)
Since we don't want the phone app to call TelephonyManager methods
directly, create a method in TelecomManager to mimic the behavior. The
reason we don't return the voicemail number directly is because once
TelecomManager becomes public, we don't want any old app to be able to
get the SIM's voicemail number.

Bug: 18233678

Change-Id: I620af409788aea7b58169b72a563baeed8115080
2014-12-04 14:28:21 -08:00
Nick Chalko
7508ef5d1a docs: Fix typo, use --> user
Change-Id: Idfadf09b6c1711f6294e155176a2a713f8a8f616
2014-12-04 22:23:30 +00:00
Alan Viverette
bab2b5948a Merge "Update locally cached drawables when constant state changes" into lmp-mr1-dev 2014-12-04 21:59:48 +00:00
Wale Ogunwale
6b54d38a2c Merge "Add support from restoring recent's backup." into lmp-mr1-dev 2014-12-04 21:58:51 +00:00
Dianne Hackborn
57a873fcaa Fix issue #18593636: Turn on "kill important processes that...
...have ballooned" for all devices

Actually, this was supposed to be on for all devices, but it was no
longer being run due to changes in the idle maintenance code in L.
So now we run it again.  And moved the idle maintenance window to 3am.

Change-Id: I8e90723e1431b82896d261cf90f8bf84f43b0bf2
2014-12-04 13:58:46 -08:00
Craig Mautner
afca4dba31 Merge "bug fix possible NPE while startProcessLocked()" into lmp-mr1-dev 2014-12-04 21:55:02 +00:00
Craig Mautner
9052862ebb Merge "[ActivityManager] Invalidate last screenshot when activity relaunched" into lmp-mr1-dev 2014-12-04 21:53:42 +00:00
Craig Mautner
799cb73029 Merge "[ActivityManager] Fix race condition in pss collection" into lmp-mr1-dev 2014-12-04 21:52:06 +00:00
Craig Mautner
e0dc40c0f2 Merge "ANR caused by incorrect cleanup in BroadcastQueue." into lmp-mr1-dev 2014-12-04 21:50:46 +00:00
Craig Mautner
93d47b4c05 Merge "Avoid system server crash due to package removed" into lmp-mr1-dev 2014-12-04 21:50:15 +00:00
Craig Mautner
c2cae50b83 Merge "Reset killedByAm flag at attachApplicationLocked" into lmp-mr1-dev 2014-12-04 21:45:21 +00:00
Craig Mautner
1289a3b2d3 Merge "[ActivityManager] Fix NPE when start activity" into lmp-mr1-dev 2014-12-04 21:44:39 +00:00