22261 Commits

Author SHA1 Message Date
Prashant Malani
fb26a2c80b Merge "Don't animate screen brightness if there is a pending off transition" into lmp-sprout-dev 2014-11-15 09:46:33 +00:00
Chong Zhang
fcab74b3ce am 1c814b5c: Merge "implement HDMI-like demo mode for remote display" into lmp-mr1-dev
automerge: 82e9db4

* commit '82e9db49724ae62f7a0adf284c6bc3ae620741c5':
  implement HDMI-like demo mode for remote display
2014-11-15 02:49:37 +00:00
Chong Zhang
82e9db4972 am 1c814b5c: Merge "implement HDMI-like demo mode for remote display" into lmp-mr1-dev
* commit '1c814b5c61c538c7ef5176b1121e1ea0c65046e6':
  implement HDMI-like demo mode for remote display
2014-11-15 02:32:34 +00:00
Chong Zhang
1c814b5c61 Merge "implement HDMI-like demo mode for remote display" into lmp-mr1-dev 2014-11-15 02:25:33 +00:00
Winson Chung
46695cf934 am 1c903b4e: Merge "Fixing regression in screen pinning button visibility. (Bug 18390050)" into lmp-mr1-dev
automerge: 0d539c2

* commit '0d539c295613442a7926a2c3505a2834ab2b086c':
  Fixing regression in screen pinning button visibility. (Bug 18390050)
2014-11-15 01:20:17 +00:00
Chong Zhang
ae6119ffce implement HDMI-like demo mode for remote display
adding the following two system properties to control remote
display rotation and device orientation lock:

"persist.demo.rotationlock"=true|false
"persist.demo.remoterotation"=landscape|portrait

Bug: 18317603
Change-Id: Id5fe115f895c6a0e72563036b9a98ff3b5037763
2014-11-14 16:39:15 -08:00
Jeff Sharkey
6eb093909c Prevent user ID reuse until after reboot.
We're still seeing rare cases where a device struggles to create a
new user, probably because of a subtle bug in the FUSE daemon.  To
work around this, only allow user IDs reuse after reboot.

Bug: 8302014
Change-Id: Id7f9fb539c6d6d1ff3d47d941af1d9e6b93eca03
2014-11-14 15:58:01 -08:00
Winson Chung
0d539c2956 am 1c903b4e: Merge "Fixing regression in screen pinning button visibility. (Bug 18390050)" into lmp-mr1-dev
* commit '1c903b4e110a60da115acf6f94cdc50fd9e6cd62':
  Fixing regression in screen pinning button visibility. (Bug 18390050)
2014-11-14 23:34:07 +00:00
Winson Chung
1c903b4e11 Merge "Fixing regression in screen pinning button visibility. (Bug 18390050)" into lmp-mr1-dev 2014-11-14 23:30:37 +00:00
Jinsuk Kim
f1faf93094 am 553aeed9: Merge "CEC: Buffer messages coming from unknown device" into lmp-mr1-dev
automerge: cccafac

* commit 'cccafac36c7c0297afbfb17d4389951b77066cab':
  CEC: Buffer messages coming from unknown device
2014-11-14 23:13:22 +00:00
Jinsuk Kim
cccafac36c am 553aeed9: Merge "CEC: Buffer messages coming from unknown device" into lmp-mr1-dev
* commit '553aeed9c9de19fcadb5466b39b6903eac61598b':
  CEC: Buffer messages coming from unknown device
2014-11-14 22:56:26 +00:00
Jinsuk Kim
553aeed9c9 Merge "CEC: Buffer messages coming from unknown device" into lmp-mr1-dev 2014-11-14 22:52:57 +00:00
Jeff Sharkey
2cffc7dafd Warn user when build fingerprints differ.
We're now shipping devices with several partitions which may end up
mismatched, causing subtle runtime issues.  To help manufacturers and
users catch this case, show wanring when we detected mismatched
fingerprints.

Bug: 18357469
Change-Id: I897d7ee8cbf3b8042d3d7d282afab277d242ed3f
2014-11-14 14:28:06 -08:00
Jeff Sharkey
643e8ebca3 am 84998e28: Merge "Reduce spammy PackageManager critical logs." into lmp-mr1-dev
automerge: adb5def

* commit 'adb5defbd9e27b546c25886046f1977d856509da':
  Reduce spammy PackageManager critical logs.
2014-11-14 21:55:38 +00:00
Jeff Sharkey
9fb00cb428 am 17fe99ac: Merge "Fix NPE in DropBoxManagerService.dump()" into lmp-mr1-dev
automerge: bec816a

* commit 'bec816adc7dbbc23a04156e2aefeec9d0cb92077':
  Fix NPE in DropBoxManagerService.dump()
2014-11-14 21:54:34 +00:00
Fyodor Kupolov
70b2de7c25 am 6dd9f86f: Merge "Added synchronization to handlePackagesChanged method" into lmp-mr1-dev
automerge: a07bdda

* commit 'a07bdda0d4d859467f8c435161d00d2340f34e9d':
  Added synchronization to handlePackagesChanged method
2014-11-14 21:36:35 +00:00
Wale Ogunwale
0a41a57802 Consolidated processing of package boardcasts in AM service.
Bug: 18230409
Change-Id: Idc048eb6cfece792b1cdc651146fba965f874430
2014-11-14 13:35:10 -08:00
Ye Wen
fc40ecd0e6 am 8b69c28b: Merge "Delay connecting to MmsService until APIs are called for imms" into lmp-mr1-dev
automerge: 58635a5

* commit '58635a571d89120e313015e1c09926fda17689f5':
  Delay connecting to MmsService until APIs are called for imms
2014-11-14 21:34:42 +00:00
Jeff Sharkey
adb5defbd9 am 84998e28: Merge "Reduce spammy PackageManager critical logs." into lmp-mr1-dev
* commit '84998e28584e44f69be06fc9fe7e77df182251eb':
  Reduce spammy PackageManager critical logs.
2014-11-14 21:09:52 +00:00
Jeff Sharkey
bec816adc7 am 17fe99ac: Merge "Fix NPE in DropBoxManagerService.dump()" into lmp-mr1-dev
* commit '17fe99ac01b8b6648d3d703fec1b28a792832331':
  Fix NPE in DropBoxManagerService.dump()
2014-11-14 21:09:47 +00:00
Jeff Sharkey
84998e2858 Merge "Reduce spammy PackageManager critical logs." into lmp-mr1-dev 2014-11-14 21:06:47 +00:00
Jeff Sharkey
17fe99ac01 Merge "Fix NPE in DropBoxManagerService.dump()" into lmp-mr1-dev 2014-11-14 21:06:22 +00:00
Jeff Sharkey
aea5c6e33d Reduce spammy PackageManager critical logs.
Bug: 18390552
Change-Id: I66e34e6ebf3f644f8585056b9701b7f4582d777e
2014-11-14 11:41:18 -08:00
Winson Chung
86677c9a51 Fixing regression in screen pinning button visibility. (Bug 18390050) 2014-11-14 11:30:53 -08:00
Fyodor Kupolov
a07bdda0d4 am 6dd9f86f: Merge "Added synchronization to handlePackagesChanged method" into lmp-mr1-dev
* commit '6dd9f86f10deda42ea5374f83d2a189c3a72d68f':
  Added synchronization to handlePackagesChanged method
2014-11-14 19:06:14 +00:00
Ye Wen
58635a571d am 8b69c28b: Merge "Delay connecting to MmsService until APIs are called for imms" into lmp-mr1-dev
* commit '8b69c28b7d446c35e4d644ce4935a31bac228e00':
  Delay connecting to MmsService until APIs are called for imms
2014-11-14 19:06:07 +00:00
Dianne Hackborn
c0e4aaad1e Issue #17551667: Voice interaction service should be disabled...
...by default on Svelte devices

Also make sure the voice_recognizers feature is not enabled on
low-ram devices, with a new facility for platform feature
declarations to say they should be ignored on low ram devices.

Change-Id: I833c04b12e0e566dd682ed20adb0985c677a696f
2014-11-14 11:05:08 -08:00
Fyodor Kupolov
6dd9f86f10 Merge "Added synchronization to handlePackagesChanged method" into lmp-mr1-dev 2014-11-14 17:26:07 +00:00
Ye Wen
8b69c28b7d Merge "Delay connecting to MmsService until APIs are called for imms" into lmp-mr1-dev 2014-11-14 17:22:12 +00:00
Craig Mautner
6888315979 am d21db6b6: am 135ae6dc: am 33d92c56: Use package name as custom resolver process name
* commit 'd21db6b6c4d2d470af2824ad8cd908317a1e71be':
  Use package name as custom resolver process name
2014-11-14 16:43:15 +00:00
Craig Mautner
d21db6b6c4 am 135ae6dc: am 33d92c56: Use package name as custom resolver process name
* commit '135ae6dc3b667595b4bf2c681e1db95dc657b88f':
  Use package name as custom resolver process name
2014-11-14 16:38:27 +00:00
Craig Mautner
135ae6dc3b am 33d92c56: Use package name as custom resolver process name
* commit '33d92c56781f6058c9e682737a06c41f3a2d2f3a':
  Use package name as custom resolver process name
2014-11-14 16:31:20 +00:00
Craig Mautner
33d92c5678 Use package name as custom resolver process name
The process name was being assigned null. This meant that after the
process attached we weren't matching the name in
ActivityStackSupervisor.attachApplicationLocked(). That meant missing
the call to realStartActivityLocked() and then the resolver didn't
start until window manager timed out and resumeTopActivity was
called five seconds later.

Fixes bug 18301267.

Change-Id: If3721caeebb309c6054150b2f707e3d6e38a74d2
2014-11-14 15:09:54 +00:00
Esteban Talavera
fb70be1d1f am 95162ad2: am 22dc3b7b: New AccountManager method to copy accounts between users.
* commit '95162ad2eaa45cf2643b564c7fd03bfe0e4844de':
  New AccountManager method to copy accounts between users.
2014-11-14 11:42:48 +00:00
Esteban Talavera
95162ad2ea am 22dc3b7b: New AccountManager method to copy accounts between users.
* commit '22dc3b7ba111e27bce99a7cce966598e7873508c':
  New AccountManager method to copy accounts between users.
2014-11-14 11:37:33 +00:00
Esteban Talavera
22dc3b7ba1 New AccountManager method to copy accounts between users.
Adding the copyAccountToUser method which copies an account
along with its credentials to a different user.

Also an extra in the public api to identify the account to migrate
during provisioning.

Bug: 17716971
Change-Id: I2f29f1765ba0d360a3894b13ef86253b7c7d3284
2014-11-14 11:09:27 +00:00
Alan Viverette
b757edc036 am c51e7ed0: am 42b25914: Merge "Ignore accessibility overlays during visible window computation" into lmp-mr1-dev
* commit 'c51e7ed07dca0bfa2609730c9a78b25f2c6c2b65':
  Ignore accessibility overlays during visible window computation
2014-11-14 02:06:59 +00:00
Alan Viverette
c51e7ed07d am 42b25914: Merge "Ignore accessibility overlays during visible window computation" into lmp-mr1-dev
* commit '42b25914477daa00b3adf7c3d8f89b4614b08b49':
  Ignore accessibility overlays during visible window computation
2014-11-14 01:57:30 +00:00
Alan Viverette
42b2591447 Merge "Ignore accessibility overlays during visible window computation" into lmp-mr1-dev 2014-11-14 01:52:25 +00:00
Nick Kralevich
188b609946 am e66c031d: am c9754740: Merge "fix crash on invalid base64 key" into lmp-mr1-dev
* commit 'e66c031da48b52b8d03e59476d24dfdfdfd94551':
  fix crash on invalid base64 key
2014-11-14 00:03:10 +00:00
Nick Kralevich
e66c031da4 am c9754740: Merge "fix crash on invalid base64 key" into lmp-mr1-dev
* commit 'c9754740a804bb6ed870dcf6ab0cb40490551b09':
  fix crash on invalid base64 key
2014-11-13 23:52:58 +00:00
Prashant Malani
33538249f2 Don't animate screen brightness if there is a pending off transition
When the DisplayPowerRequest policy is POLICY_OFF, a screen state
transition animation to DISPLAY_OFF is intiated. However, in
updatePowerState() the screen brightness setting, based on the current
display state, is set to normal brightness and an animation is
triggered. This causes a transient flash on some devices, which are
transitioning from a dimmed screen to screen off.

This change checks for a pending screen off transition before
triggering a screen brightness animation, to prevent the flashes.

Bug: 18136235
Change-Id: I37f9fb28b3ec8a4fdbb45920c40d25ebd50c220b
2014-11-13 15:23:27 -08:00
Alan Viverette
9538eea5ff Ignore accessibility overlays during visible window computation
Previously, the conditional for checking the layer type before
accounting for the window bounds was incorrectly inverted, but
we can simplify by just skipping accessibility overlay windows
completely.

BUG: 18358878
BUG: 18359820
BUG: 18359788
Change-Id: I9ba1e43a0fef4fa40693bd8c7e883c2ef45b4c4d
2014-11-13 23:07:05 +00:00
Nick Kralevich
c9754740a8 Merge "fix crash on invalid base64 key" into lmp-mr1-dev 2014-11-13 22:37:03 +00:00
Jeff Brown
5e94e19c1f am c69191c1: am cb906677: am 24c1d664: Merge "Remove an unnecessary condition from previous change." into lmp-sprout-dev
* commit 'c69191c195819bdbefef151fd13bdbef03aab741':
  Remove an unnecessary condition from previous change.
2014-11-13 21:10:02 +00:00
Jeff Brown
36ed887fa3 am 3415634c: am 72f1e3b9: am 1cbff0e3: Merge "Improve screen brightness boost behavior." into lmp-sprout-dev
* commit '3415634c2e8a8979291dd60b89f2985e31e5e2f4':
  Improve screen brightness boost behavior.
2014-11-13 21:09:56 +00:00
Jeff Brown
c69191c195 am cb906677: am 24c1d664: Merge "Remove an unnecessary condition from previous change." into lmp-sprout-dev
* commit 'cb906677fc65fd1b43f6dc3b8e029711ec8e86dc':
  Remove an unnecessary condition from previous change.
2014-11-13 21:05:37 +00:00
Jeff Brown
3415634c2e am 72f1e3b9: am 1cbff0e3: Merge "Improve screen brightness boost behavior." into lmp-sprout-dev
* commit '72f1e3b9c9992bfc3449c5441bc8e50e7b05f083':
  Improve screen brightness boost behavior.
2014-11-13 21:05:31 +00:00
Jeff Brown
cb906677fc am 24c1d664: Merge "Remove an unnecessary condition from previous change." into lmp-sprout-dev
* commit '24c1d664c4f95a8c997bfc4683844e05b788c3db':
  Remove an unnecessary condition from previous change.
2014-11-13 20:58:19 +00:00
Jeff Brown
72f1e3b9c9 am 1cbff0e3: Merge "Improve screen brightness boost behavior." into lmp-sprout-dev
* commit '1cbff0e310b0fba6b25ca1c1e14eaefeabdee0d9':
  Improve screen brightness boost behavior.
2014-11-13 20:58:15 +00:00