Commit Graph

164750 Commits

Author SHA1 Message Date
Cheuksan Wang
0752da22c7 Merge "add system|signature protection to android.permission.BIND_CARRIER_MESSAGING_SERVICE" into lmp-mr1-dev 2014-12-05 19:07:10 +00:00
Cheuksan Wang
981344861c add system|signature protection to
android.permission.BIND_CARRIER_MESSAGING_SERVICE

Bug: 18005911
Change-Id: Iacb16a20c5cef4a55be0187af0a47e0cb82b409b
2014-12-05 19:04:55 +00:00
ztenghui
e6672cfe6e Fine tune the light radius from 800dp to 600dp
The spot shadow will change very slightly, as smaller and darker,
which is what UX team want.

b/18631715

Change-Id: I9ce098cf54c5875fa7bd3c20095b526ea2e661e6
2014-12-05 11:04:22 -08:00
Sergii Skorokhodov
308fa0548b Correct check of is user running
Before the ActivityManagerService sends an intent or
starts an activity it checks if target user is in
mStartedUsers array.

When removing a non-owner user process the
UserStartedState instance will still be in mStartedUsers
array with mState STOPPING or SHUTDOWN.

This should be checked before sending an intent or start
an activity.

isUserRunningLocked(...) will interpret mState STOPPING
and SHUTDOWN as a non running user.

Bug: 7462778
Change-Id: I1b51bcdb62bdd0f6dbe05dab4d529d4ad40d0d44
2014-12-05 11:02:41 -08:00
Amith Yamasani
b2905092d6 am 0702752c: Merge "Potential fix for accidental deactivation of profile owner" into lmp-mr1-dev
* commit '0702752cf8153f92b4d345c1553515e5f73652cd':
  Potential fix for accidental deactivation of profile owner
2014-12-05 19:02:09 +00:00
Amith Yamasani
0702752cf8 Merge "Potential fix for accidental deactivation of profile owner" into lmp-mr1-dev 2014-12-05 18:56:55 +00:00
Chris Wren
c11baeba20 Avoid race condition in heads up snooze code path.
The user can still snooze the heads up as its in the process of timing
out.  In this case, mHeadsUp is already null.  We save the package
name so that we can still snooze the package.

Bug: 18639224
Change-Id: I9bcce99a5c912e70a6856b277b61adab9cdcbc33
2014-12-05 13:53:23 -05:00
ztenghui
971fe6d664 am 04c022f4: Merge "AVD: Deep copy the animator target setup when mutate." into lmp-mr1-dev
* commit '04c022f4c12a778027957a266dd9fce2b70a1cb0':
  AVD: Deep copy the animator target setup when mutate.
2014-12-05 18:35:49 +00:00
ztenghui
04c022f4c1 Merge "AVD: Deep copy the animator target setup when mutate." into lmp-mr1-dev 2014-12-05 18:28:30 +00:00
Clare Bayley
fb569013c2 am ffbb52d0: am 89d30bbc: am 9c40e80a: am c85fa8f1: Merge "Updating screenshots to LMP release and N6" into lmp-docs
* commit 'ffbb52d0807070714e4893a6ea8e4c139b85a939':
  Updating screenshots to LMP release and N6
2014-12-05 18:10:20 +00:00
Erik Kline
e660e27603 Revert "Merge "Remove CONNECTIVITY_CHANGE_DELAY and friends." into lmp-mr1-dev"
This is the revert of ag/572619.

This reverts commit 9261d9d645, reversing
changes made to 32b61ab28f.

Bug: 18609055
Bug: 17769720
Change-Id: I122eba200f2071d4e5777ec34c1d04fb567345a8
2014-12-05 18:02:56 +00:00
RoboErik
e9905bd489 am f58a9091: Merge "Make setting the session token in MediaBrowserService synchronous" into lmp-mr1-dev
* commit 'f58a909113b5ebb37e57c9b88afe569e7ddec823':
  Make setting the session token in MediaBrowserService synchronous
2014-12-05 18:01:33 +00:00
Clare Bayley
ffbb52d080 am 89d30bbc: am 9c40e80a: am c85fa8f1: Merge "Updating screenshots to LMP release and N6" into lmp-docs
* commit '89d30bbc110f1b511ae6e619ac02a067261ebd4d':
  Updating screenshots to LMP release and N6
2014-12-05 18:00:43 +00:00
RoboErik
f58a909113 Merge "Make setting the session token in MediaBrowserService synchronous" into lmp-mr1-dev 2014-12-05 17:57:15 +00:00
Clare Bayley
89d30bbc11 am 9c40e80a: am c85fa8f1: Merge "Updating screenshots to LMP release and N6" into lmp-docs
* commit '9c40e80a5edbf2962d9a1d98152b4085e306b501':
  Updating screenshots to LMP release and N6
2014-12-05 17:51:05 +00:00
Clare Bayley
9c40e80a5e am c85fa8f1: Merge "Updating screenshots to LMP release and N6" into lmp-docs
* commit 'c85fa8f1e291e4e0727d4e71536940fdc0896c29':
  Updating screenshots to LMP release and N6
2014-12-05 17:38:28 +00:00
Jinsong Mu
dc6efdc1c6 Talk-back doesn't notify user to enter unlock PIN when device is locked with PIN lock.
b/18568003

Change-Id: I622ca7c49a8aa712490c8f74fcd7a1ab6d2ead5f
2014-12-05 09:36:19 -08:00
Clare Bayley
c85fa8f1e2 Merge "Updating screenshots to LMP release and N6" into lmp-docs 2014-12-05 17:29:34 +00:00
Zoltan Szatmary-Ban
469c15d6af When switching to default USB function set, check restriction
The user restriction DISALLOW_USB_FILE_TRANSFER has to be respected
when switching USB function set.

Bug: 18532487
Change-Id: I16fda6358027a659e3bfa0c5f3bf6b3918d0bced
2014-12-05 17:14:43 +00:00
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
Luan Nguyen
424c2a5b51 docs: Update wording on Packaging requirement description. Add Watch Face requirement.
Bug: 18582539
Change-Id: I6e65e32633c2b5bba91cb0ce286ce961cd5f2cdc
2014-12-05 08:11:19 -08:00
Dan Sandler
2f6d30dfe6 am 7792b714: Merge "Don\'t forget to listen for USER_ALL broadcasts." into lmp-mr1-dev
* commit '7792b714b66e3af57bc243666b7843b0adf9c0b3':
  Don't forget to listen for USER_ALL broadcasts.
2014-12-05 14:33:33 +00: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
5f1ea2e68b am fb967585: Merge "Change the routing path of bluetooth headset connections." into lmp-mr1-dev
* commit 'fb967585cc43937a88b0ed9a5e434a50b0a498b9':
  Change the routing path of bluetooth headset connections.
2014-12-05 12:11:23 +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
66351d623a am cff6d450: Merge "Ensure that the USER_PRESENT_INTENT is sent to all profiles of the current user." into lmp-mr1-dev
* commit 'cff6d450dcef733499f584522ae1faa92940366c':
  Ensure that the USER_PRESENT_INTENT is sent to all profiles of the current user.
2014-12-05 07:48:27 +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
1a7bac35da am c8640fca: Merge "Add 8 more scripts to the font fallback chain." into lmp-mr1-dev
* commit 'c8640fca7862fee5e156fa634c1cdf7853115595':
  Add 8 more scripts to the font fallback chain.
2014-12-05 07:33:47 +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
Jinsuk Kim
de7a4248d8 CEC: Avoid setting op in disabled mode
In disabled HDMI control mode, TV local device is gone, for which
setting operation is not possible. Does the check against the tv instance
when TV setting update is notified. The settings is picked up when
the control is enabled back, so notification is not lost.

Bug: 18580387
Change-Id: Id8891bfa54d851ec1aff280fc99be8e428f4e0cf
2014-12-05 15:57:37 +09: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
bfc9739b1c am 9e094efa: Merge "TIF: handle a race condition when a session is crashed" into lmp-mr1-dev
* commit '9e094efa93e9c95212c0edfcd1b0bb0380f7af9a':
  TIF: handle a race condition when a session is crashed
2014-12-05 04:12:12 +00:00
Dongwon Kang
91d6f185d3 am 670de6b6: Merge "TIF: increase the time threshold for tune operation which was too harsh" into lmp-mr1-dev
* commit '670de6b6277768deb32ea67a4e0ae7a4ed2d3540':
  TIF: increase the time threshold for tune operation which was too harsh
2014-12-05 04:12:07 +00: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
Christopher Tate
22192ada99 Correctly parse previous PMBA state during backup
Bug 18628030

Change-Id: Iefa23de50dd9e1b27cfa5d887f117876d57e4083
2014-12-04 19:38:55 -08:00
Christopher Tate
81f9882b5a Tune delivery and batching of alarms
* Inexact alarms no longer coalesce with exact alarms.  The motivation here
is that exact alarms are far more likely to be wall-clock aligned, and in
general pulling all alarms toward wall-clock alignment is a bad idea.

* Wakeup times are now fuzzed within the target batch's allowed window
rather than being hard pinned at the start of the window.

Bug 18631821

Change-Id: Iefaf34eee3f2a6546abefc27e177ee2fdcff935f
2014-12-04 19:16:56 -08:00
Filip Gruszczynski
f5d1cf0b19 am 26af8c19: am 26b18771: Merge "Private Window flag to disable touch events in WallpaperService." into lmp-sprout-dev
* commit '26af8c197c17487ac0400a7a3310037e57eda2a0':
  Private Window flag to disable touch events in WallpaperService.
2014-12-05 02:40:38 +00:00
Ricardo Cervera-Navarro
2ca0f49d7e am 53966f62: am 8242ae16: am dddc2981: am 1782e526: Merge "Revert "docs: Long press to dismiss fix by Wayne"" into lmp-docs
* commit '53966f6268ac1861d62bda97f361cf67b2156f6c':
  Revert "docs: Long press to dismiss fix by Wayne"
2014-12-05 02:40:33 +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
8aa97d26e4 am 238efad0: Merge "Change Linkify leniency to VALID" into lmp-mr1-dev
* commit '238efad04bfd144942b363c8589004ba831f3c63':
  Change Linkify leniency to VALID
2014-12-05 02:19:38 +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
859fba1def am fa53c934: Merge "Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)" into lmp-mr1-dev
* commit 'fa53c93462ba273fb645831422c74d29e748519c':
  Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)
2014-12-05 01:59:09 +00:00
Fyodor Kupolov
96fb932666 Added isRemovingAdmin method
Added isRemovingAdmin method, so that clients can query if device
admin is currently being removed.

Bug: 17609838
Change-Id: I82547a9eeb228fcf8ac2a6e639ca1a75fa41d161
2014-12-04 17:53:45 -08: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
Dianne Hackborn
3cb6496b6c am 25d2c2d6: Merge "Fix issue #18593636: Turn on "kill important processes that..." into lmp-mr1-dev
* commit '25d2c2d61b546f730ccd4bab67c68b2eaa4281a0':
  Fix issue #18593636: Turn on "kill important processes that...
2014-12-05 01:39:21 +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