OSDN Git Service

android-x86/frameworks-base.git
9 years agoSysUI: QS Wifi get connected wifi rssi from NC
Jason Monk [Fri, 21 Nov 2014 16:08:55 +0000 (11:08 -0500)]
SysUI: QS Wifi get connected wifi rssi from NC

Get the connected rssi for WiFi QS panel from NetworkController to
ensure it matches the status bar/QS.

Bug: 18479823
Change-Id: I82ca0cc9169a91b4e0ae6f07008d48fdb7b820f0

9 years agoSet stream volume to max when userMasterVolume is set to true.
Wally Yau [Fri, 28 Nov 2014 20:40:30 +0000 (12:40 -0800)]
Set stream volume to max when userMasterVolume is set to true.

When useMasterVolume is set, we don't want to apply the volume
attenuation twice, once at the stream mixer and once at the master
volume control. It should only be applied once at the master volume
control.

Change-Id: Id5b1cf97571733515b5680c638f11cde8824cfc0
Fixed: b/18460548

9 years agoam 3e2848d2: am 8fc88562: am 85e21bd5: Mention ProGuard in the JNI documentation.
Elliott Hughes [Thu, 27 Nov 2014 18:57:00 +0000 (18:57 +0000)]
am 3e2848d2: am 8fc88562: am 85e21bd5: Mention ProGuard in the JNI documentation.

* commit '3e2848d249cafbf1cc79b600eab9bce055adcf8e':
  Mention ProGuard in the JNI documentation.

9 years agoam 8fc88562: am 85e21bd5: Mention ProGuard in the JNI documentation.
Elliott Hughes [Thu, 27 Nov 2014 18:49:58 +0000 (18:49 +0000)]
am 8fc88562: am 85e21bd5: Mention ProGuard in the JNI documentation.

* commit '8fc8856268218fbd286eeb0b2f34eec23cb74f8c':
  Mention ProGuard in the JNI documentation.

9 years agoam 85e21bd5: Mention ProGuard in the JNI documentation.
Elliott Hughes [Thu, 27 Nov 2014 18:41:15 +0000 (18:41 +0000)]
am 85e21bd5: Mention ProGuard in the JNI documentation.

* commit '85e21bd534d38f8de12e8229865a863f32c30e7a':
  Mention ProGuard in the JNI documentation.

9 years agoMention ProGuard in the JNI documentation.
Elliott Hughes [Tue, 25 Nov 2014 19:18:43 +0000 (11:18 -0800)]
Mention ProGuard in the JNI documentation.

(cherry picked from commit 8e1bbfe0f1e4dac35b20972a71656e4c9bf437a1)

Change-Id: I22731dfb94dcc1271b987ed52914e665704dd378

9 years agoMerge "Fix projection permission dialog layering" into lmp-mr1-dev
Adrian Roos [Thu, 27 Nov 2014 13:00:59 +0000 (13:00 +0000)]
Merge "Fix projection permission dialog layering" into lmp-mr1-dev

9 years agoam 022f4277: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Thu, 27 Nov 2014 10:09:40 +0000 (10:09 +0000)]
am 022f4277: (-s ours) Import translations. DO NOT MERGE

* commit '022f4277c468176d43d4ed1cc12898e33ed1a502':
  Import translations. DO NOT MERGE

9 years agoam 2995bd80: am 5a27b4b8: am fc793074: Merge "docs:advmgr-updates" into lmp-docs
Scott Main [Thu, 27 Nov 2014 10:08:51 +0000 (10:08 +0000)]
am 2995bd80: am 5a27b4b8: am fc793074: Merge "docs:advmgr-updates" into lmp-docs

* commit '2995bd8033ecbf4e1a5b3392ec27008d2d184b8a':
  docs:advmgr-updates

9 years agoam 277fb8fd: am d3c17270: am 3a4b011c: define height for context images to avoid...
smain@google.com [Thu, 27 Nov 2014 10:08:45 +0000 (10:08 +0000)]
am 277fb8fd: am d3c17270: am 3a4b011c: define height for context images to avoid content jumps on load

* commit '277fb8fdaeb546119bc31269425edc72b75e87dd':
  define height for context images to avoid content jumps on load

9 years agoresolved conflicts for merge of 7377998d to lmp-mr1-dev
Narayan Kamath [Thu, 27 Nov 2014 09:57:35 +0000 (09:57 +0000)]
resolved conflicts for merge of 7377998d to lmp-mr1-dev

Change-Id: I21870e241de7d992e97d7b91e0058f85b5a25fbe

9 years agoMerge "Change to use DATA_ROAMING setting correctly with subId." into lmp-mr1-dev
Amit Mahajan [Thu, 27 Nov 2014 03:05:45 +0000 (03:05 +0000)]
Merge "Change to use DATA_ROAMING setting correctly with subId." into lmp-mr1-dev

9 years agoMerge "CameraManager: Separate service listener into a singleton" into lmp-mr1-dev
Eino-Ville Talvala [Thu, 27 Nov 2014 00:23:40 +0000 (00:23 +0000)]
Merge "CameraManager: Separate service listener into a singleton" into lmp-mr1-dev

9 years agoMerge "AudioRecord JNI: pass attributes to native AudioRecord." into lmp-mr1-dev
Eric Laurent [Wed, 26 Nov 2014 23:52:06 +0000 (23:52 +0000)]
Merge "AudioRecord JNI: pass attributes to native AudioRecord." into lmp-mr1-dev

9 years agoMerge "Add string for "Connected via Wi-Fi assistant"." into lmp-mr1-dev
Jeff Davidson [Wed, 26 Nov 2014 23:42:52 +0000 (23:42 +0000)]
Merge "Add string for "Connected via Wi-Fi assistant"." into lmp-mr1-dev

9 years agoAdd string for "Connected via Wi-Fi assistant".
Jeff Davidson [Wed, 26 Nov 2014 23:27:02 +0000 (15:27 -0800)]
Add string for "Connected via Wi-Fi assistant".

Bug: 18525241
Change-Id: I9900d9216ad1b2d5c4bee584b8f5185b4e552b7d

9 years agoCameraManager: Separate service listener into a singleton
Eino-Ville Talvala [Wed, 22 Oct 2014 21:39:31 +0000 (14:39 -0700)]
CameraManager: Separate service listener into a singleton

Currently, every CameraManager instance adds itself as a camera service
listener, which has the unfortunate side effect of keeping them all alive
indefinitely.

This is doubly unfortunate since every CameraManager keeps the Context it
was constructed with, and therefore may be leaking whole Activities along
with the CameraManager itself.

Break out a global per-process CameraManager which handles service
connection keepalive and availability listeners, so that local camera
manager instances can go out of scope as expected.

Bug: 18077200

Change-Id: I1be5fb8d3492131e98bb4a84121400d4abb2b9e1

9 years agoMerge "Do not perform forceVolumeControlStream in master volume mode" into lmp-mr1-dev
Jinsuk Kim [Wed, 26 Nov 2014 21:27:16 +0000 (21:27 +0000)]
Merge "Do not perform forceVolumeControlStream in master volume mode" into lmp-mr1-dev

9 years agoMerge "Revert "Force-use the pbuffer surface for destroy"" into lmp-mr1-dev
Chris Craik [Wed, 26 Nov 2014 20:50:08 +0000 (20:50 +0000)]
Merge "Revert "Force-use the pbuffer surface for destroy"" into lmp-mr1-dev

9 years agoMerge "Fix broken @see javadoc in android.media.* classes" into lmp-mr1-dev
Lajos Molnar [Wed, 26 Nov 2014 19:14:24 +0000 (19:14 +0000)]
Merge "Fix broken @see javadoc in android.media.* classes" into lmp-mr1-dev

9 years agoMerge "make startScan with worksource specific to location scans" into lmp-mr1-dev
vandwalle [Wed, 26 Nov 2014 19:05:00 +0000 (19:05 +0000)]
Merge "make startScan with worksource specific to location scans" into lmp-mr1-dev

9 years agoRevert "Force-use the pbuffer surface for destroy"
Chris Craik [Wed, 26 Nov 2014 18:59:58 +0000 (18:59 +0000)]
Revert "Force-use the pbuffer surface for destroy"

bug:18528859

This reverts commit b945f2313aee6e49a082ba5caaf95334d2570d52.

Change-Id: I6915624d356cb8570471eb3a5b8921f59b58db6d

9 years agoMerge "package_info GID shouldn't have write." into lmp-mr1-dev
Jeff Sharkey [Wed, 26 Nov 2014 18:49:32 +0000 (18:49 +0000)]
Merge "package_info GID shouldn't have write." into lmp-mr1-dev

9 years agoFix broken @see javadoc in android.media.* classes
Ryan Lothian [Wed, 26 Nov 2014 18:04:45 +0000 (18:04 +0000)]
Fix broken @see javadoc in android.media.* classes

This CL fixes all android.media.* javadoc that includes an "ERROR(...)"
message when rendered to HTML.

Bug: 18537403
Change-Id: Ic60f7cfe4cf4961da163d955387d65a5d2011905
(cherry picked from commit d550f9028ee7f52018fbed3cfd2d0b18d6a7c4f0)

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 26 Nov 2014 17:58:42 +0000 (09:58 -0800)]
Import translations. DO NOT MERGE

Change-Id: I5e59a2d77b28018d896af444cd63847d5b1e33ac
Auto-generated-cl: translation import

9 years agoAudioRecord JNI: pass attributes to native AudioRecord.
Eric Laurent [Wed, 26 Nov 2014 17:46:44 +0000 (09:46 -0800)]
AudioRecord JNI: pass attributes to native AudioRecord.

Bug: 16006090.
Change-Id: Ic6448dda0de65dada3a195cfc2ec73698b04b7b2

9 years agoFix projection permission dialog layering
Adrian Roos [Tue, 25 Nov 2014 20:11:19 +0000 (21:11 +0100)]
Fix projection permission dialog layering

Bug: 18392920
Change-Id: I32c2c61339cbea9edd4a7a3f80365213fb4a69ac

9 years agoMerge "Volume: Avoid making bad forceVolumeControlStream call." into lmp-mr1-dev
John Spurlock [Wed, 26 Nov 2014 16:32:36 +0000 (16:32 +0000)]
Merge "Volume: Avoid making bad forceVolumeControlStream call." into lmp-mr1-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Geoff Mendal [Wed, 26 Nov 2014 16:30:48 +0000 (16:30 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 26 Nov 2014 16:13:55 +0000 (08:13 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ia430daa8ca9fbc8181130d7380a4ca5761d01ef1
Auto-generated-cl: translation import

9 years agoMerge "Handle package changes in NetworkScoreService." into lmp-mr1-dev
Jeff Davidson [Wed, 26 Nov 2014 15:55:16 +0000 (15:55 +0000)]
Merge "Handle package changes in NetworkScoreService." into lmp-mr1-dev

9 years agoMerge "Fix WifiTile's Connected indicator for ephemeral networks." into lmp-mr1-dev
Jeff Davidson [Wed, 26 Nov 2014 15:54:24 +0000 (15:54 +0000)]
Merge "Fix WifiTile's Connected indicator for ephemeral networks." into lmp-mr1-dev

9 years agoVolume: Avoid making bad forceVolumeControlStream call.
John Spurlock [Wed, 26 Nov 2014 15:11:19 +0000 (10:11 -0500)]
Volume: Avoid making bad forceVolumeControlStream call.

Ensure we don't call audio manager with STREAM_MASTER, which is
a pseudo-stream value internal to volume panel.

Bug: 18250921
Change-Id: I4b6af9fc60d7683e9103be52cc937c33c1c15e31

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Geoff Mendal [Wed, 26 Nov 2014 15:08:46 +0000 (15:08 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 26 Nov 2014 14:56:43 +0000 (06:56 -0800)]
Import translations. DO NOT MERGE

Change-Id: I885436b95251805a80c4a6edf308448d5ed43ca3
Auto-generated-cl: translation import

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Geoff Mendal [Wed, 26 Nov 2014 14:32:43 +0000 (14:32 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 26 Nov 2014 14:31:37 +0000 (06:31 -0800)]
Import translations. DO NOT MERGE

Change-Id: Idfd2434481ce912e23afaaa7fb6bbef3dcad35f8
Auto-generated-cl: translation import

9 years agoFix jank when pin/pattern is shown
Jorim Jaggi [Mon, 24 Nov 2014 19:12:50 +0000 (20:12 +0100)]
Fix jank when pin/pattern is shown

- Only update layout params of status bar window when needed
- Do not update security method all the time, only when needed (only
  when reset gets called)
- Check for actual used security method when updating states for
  bouncer

Bug: 18505838
Change-Id: Ib3d0021c0cc364fa5598e06e0a2bae059ae79cbe

9 years agoMerge "Make IKeyguardService interface asynchronous" into lmp-mr1-dev
Jorim Jaggi [Wed, 26 Nov 2014 14:07:19 +0000 (14:07 +0000)]
Merge "Make IKeyguardService interface asynchronous" into lmp-mr1-dev

9 years agoMerge "Don't let NetworkMonitor state stop user-initiated transitions." into lmp...
Paul Jensen [Wed, 26 Nov 2014 12:04:58 +0000 (12:04 +0000)]
Merge "Don't let NetworkMonitor state stop user-initiated transitions." into lmp-mr1-dev

9 years agoam 5a27b4b8: am fc793074: Merge "docs:advmgr-updates" into lmp-docs
Scott Main [Wed, 26 Nov 2014 11:56:53 +0000 (11:56 +0000)]
am 5a27b4b8: am fc793074: Merge "docs:advmgr-updates" into lmp-docs

* commit '5a27b4b8216cf758f302200f7a2b0a071a1be90e':
  docs:advmgr-updates

9 years agoam d3c17270: am 3a4b011c: define height for context images to avoid content jumps...
smain@google.com [Wed, 26 Nov 2014 11:56:49 +0000 (11:56 +0000)]
am d3c17270: am 3a4b011c: define height for context images to avoid content jumps on load

* commit 'd3c172703df68c70aca6f212fda3023246869777':
  define height for context images to avoid content jumps on load

9 years agoresolved conflicts for merge of a42f7c1d to lmp-sprout-dev
Narayan Kamath [Wed, 26 Nov 2014 10:34:45 +0000 (10:34 +0000)]
resolved conflicts for merge of a42f7c1d to lmp-sprout-dev

Change-Id: I8e53c9d7e0014b4ffc621c561b737aa2dae5460c

9 years agoDo not perform forceVolumeControlStream in master volume mode
Jinsuk Kim [Wed, 26 Nov 2014 07:57:08 +0000 (16:57 +0900)]
Do not perform forceVolumeControlStream in master volume mode

The method should be no-op when in master volume mode.

Bug: 18250921

Change-Id: Iaab806db935ef97aa1124c3447e228d3eaef7584

9 years agoMerge "CEC: Do not compare active input when updating" into lmp-mr1-dev
Jinsuk Kim [Wed, 26 Nov 2014 05:58:37 +0000 (05:58 +0000)]
Merge "CEC: Do not compare active input when updating" into lmp-mr1-dev

9 years agoam fc793074: Merge "docs:advmgr-updates" into lmp-docs
Scott Main [Wed, 26 Nov 2014 03:19:30 +0000 (03:19 +0000)]
am fc793074: Merge "docs:advmgr-updates" into lmp-docs

* commit 'fc793074063ee40b0bc4b4cbf710802123f84251':
  docs:advmgr-updates

9 years agoMerge "docs:advmgr-updates" into lmp-docs
Scott Main [Wed, 26 Nov 2014 03:13:25 +0000 (03:13 +0000)]
Merge "docs:advmgr-updates" into lmp-docs

9 years agoam 3a4b011c: define height for context images to avoid content jumps on load
smain@google.com [Wed, 26 Nov 2014 02:22:44 +0000 (02:22 +0000)]
am 3a4b011c: define height for context images to avoid content jumps on load

* commit '3a4b011c9e4260ec34b490368ccf19edb3a0b5fe':
  define height for context images to avoid content jumps on load

9 years agodefine height for context images to avoid content jumps on load
smain@google.com [Wed, 26 Nov 2014 02:05:39 +0000 (18:05 -0800)]
define height for context images to avoid content jumps on load

Change-Id: I95fb6d628f8be12c31c0b7fa2978dd266f72dbf6

9 years agoMerge "Allow set loop and position before write for static AudioTracks" into lmp...
Andy Hung [Wed, 26 Nov 2014 02:04:43 +0000 (02:04 +0000)]
Merge "Allow set loop and position before write for static AudioTracks" into lmp-mr1-dev

9 years agoMerge "Re-tune low memory killer params." into lmp-mr1-dev
Dianne Hackborn [Wed, 26 Nov 2014 01:44:21 +0000 (01:44 +0000)]
Merge "Re-tune low memory killer params." into lmp-mr1-dev

9 years agomake startScan with worksource specific to location scans
vandwalle [Sat, 22 Nov 2014 01:59:30 +0000 (17:59 -0800)]
make startScan with worksource specific to location scans

Change-Id: Ia09dae3e334ef6fd11f2b468e78ad7c2c3cf55e9

9 years agoMerge "Be increasingly aggressive about fstrim if it isn't being run" into lmp-dev
Dianne Hackborn [Wed, 26 Nov 2014 01:32:52 +0000 (01:32 +0000)]
Merge "Be increasingly aggressive about fstrim if it isn't being run" into lmp-dev

9 years agoRe-tune low memory killer params.
Dianne Hackborn [Wed, 26 Nov 2014 01:26:36 +0000 (17:26 -0800)]
Re-tune low memory killer params.

Drop the minimums back down to their old values.

Revert what I think was a mistake in bumping up the last two
maximums to the same value as was being forced for 64 bit.

Smarten the 64 bit adjustment to be relative to the values picked,
rather than hard-coded.

Change-Id: Ibee9625073469ad4722a1b6684c9fb2b9f0a4681

9 years agoam 9da0881f: am 59f4624a: am be718f7c: Merge "add wear design guide for contextual...
smain@google.com [Wed, 26 Nov 2014 00:59:45 +0000 (00:59 +0000)]
am 9da0881f: am 59f4624a: am be718f7c: Merge "add wear design guide for contextual apps" into lmp-docs

* commit '9da0881ffbcdc566cc1bf60b817ab4f617d0049a':
  add wear design guide for contextual apps

9 years agoMerge "Revert "Animates AbsSeekBar progress movement from key presses."" into lmp...
Alan Viverette [Wed, 26 Nov 2014 00:52:35 +0000 (00:52 +0000)]
Merge "Revert "Animates AbsSeekBar progress movement from key presses."" into lmp-mr1-dev

9 years agoMerge "Load SPEAK_PASSWORD from currently active user rather than self" into lmp...
Alan Viverette [Wed, 26 Nov 2014 00:52:18 +0000 (00:52 +0000)]
Merge "Load SPEAK_PASSWORD from currently active user rather than self" into lmp-mr1-dev

9 years agodocs:advmgr-updates
Rich Slogar [Thu, 30 Oct 2014 20:38:22 +0000 (13:38 -0700)]
docs:advmgr-updates

Change-Id: I4895f8dc91d0397a615a358d97cbd229b171f507

9 years agoRevert "Animates AbsSeekBar progress movement from key presses."
Alan Viverette [Tue, 25 Nov 2014 17:40:54 +0000 (09:40 -0800)]
Revert "Animates AbsSeekBar progress movement from key presses."

Incorrect implementation that broke the Brightness dialog slider. Reverting
to the previous behavior.

This reverts commit c5c9d0af764f590ae0031b5470192a0a08ca42d1.

BUG: 18510040
Change-Id: I201b1da46be964fcf6f041bb92ef79c335c2d23d

9 years agoBe increasingly aggressive about fstrim if it isn't being run
Christopher Tate [Fri, 21 Nov 2014 21:54:45 +0000 (13:54 -0800)]
Be increasingly aggressive about fstrim if it isn't being run

The current heuristics depend on devices being alive at midnight+ in
order to run periodic background fstrim operations.  This unfortunately
means that people who routinely turn their devices off overnight wind
up with their devices *never* running fstrim, and this causes major
performance and disk-life problems.

We now backstop this very-friendly schedule with an increasingly
aggressive one.  If the device goes a defined time without a background
fstrim, we then force the fstrim at the next reboot.  Once the
device hits the midnight+ idle fstrim request time, then we already
aggressively attempt to fstrim at the first available moment
thereafter, even if it's days/weeks later without a reboot.

'Available' here means charging + device idle.  If the device never
becomes idle then we can't do much without rendering an in-use device
inoperable for some number of minutes -- but we have no evidence of
devices ever failing to run fstrim due to this usage pattern.

A new Settings.Global element (type 'long', called
"fstrim_mandatory_interval") is the source of the backstop time.  If
this element is zero or negative, no mandatory boot-time fstrim will
ever be performed.  If the element is not supplied on a given device,
the default backstop is 3 days.

Adds a new string to display in the upgrading dialog when doing
the fstrim.  Note it is too late for this to be localized, but since
this operation can take a long time it is probably better to have
it show *something* even if not localized, rather than just sit there.

Bug 18486922

Change-Id: I5b265ca0a65570fb8931251aa1ac37b530635a2c

9 years agoam 59f4624a: am be718f7c: Merge "add wear design guide for contextual apps" into...
smain@google.com [Wed, 26 Nov 2014 00:31:54 +0000 (00:31 +0000)]
am 59f4624a: am be718f7c: Merge "add wear design guide for contextual apps" into lmp-docs

* commit '59f4624a378ac29c9bb98ea6e800077919e4c8bf':
  add wear design guide for contextual apps

9 years agoChange to use DATA_ROAMING setting correctly with subId.
Amit Mahajan [Wed, 26 Nov 2014 00:28:32 +0000 (16:28 -0800)]
Change to use DATA_ROAMING setting correctly with subId.

Bug: 18466745
Change-Id: Ib2d7979d164ca3cf32c6619340fae1dc578ca686

9 years agoam be718f7c: Merge "add wear design guide for contextual apps" into lmp-docs
smain@google.com [Wed, 26 Nov 2014 00:26:15 +0000 (00:26 +0000)]
am be718f7c: Merge "add wear design guide for contextual apps" into lmp-docs

* commit 'be718f7cebd3e09eaa2a432d044a8305dc7b8428':
  add wear design guide for contextual apps

9 years agoMerge "add wear design guide for contextual apps" into lmp-docs
smain@google.com [Wed, 26 Nov 2014 00:18:57 +0000 (00:18 +0000)]
Merge "add wear design guide for contextual apps" into lmp-docs

9 years agoadd wear design guide for contextual apps
smain@google.com [Tue, 25 Nov 2014 20:44:19 +0000 (12:44 -0800)]
add wear design guide for contextual apps

Change-Id: I2c5709f02352def34c5c6a0c7dcf7193ebd58e4f

9 years agoLoad SPEAK_PASSWORD from currently active user rather than self
Alan Viverette [Mon, 24 Nov 2014 23:13:43 +0000 (15:13 -0800)]
Load SPEAK_PASSWORD from currently active user rather than self

Also fixes a typo in UserHandle's docs.

BUG: 18295054
Change-Id: I1f5384f84062b9ea7dcbebe1e5f64af331028d41

9 years agoMerge "Ensure time picker HH:MM header is laid out left-to-right" into lmp-mr1-dev
Alan Viverette [Wed, 26 Nov 2014 00:07:12 +0000 (00:07 +0000)]
Merge "Ensure time picker HH:MM header is laid out left-to-right" into lmp-mr1-dev

9 years agoam ddd9c2b9: am 1586b9c3: Start MountService before performBootDexOpt
padarshr [Tue, 25 Nov 2014 23:49:38 +0000 (23:49 +0000)]
am ddd9c2b9: am 1586b9c3: Start MountService before performBootDexOpt

* commit 'ddd9c2b97d5a388074ed84c82b41f99ed15ad010':
  Start MountService before performBootDexOpt

9 years agoam 1586b9c3: Start MountService before performBootDexOpt
padarshr [Tue, 25 Nov 2014 23:43:19 +0000 (23:43 +0000)]
am 1586b9c3: Start MountService before performBootDexOpt

* commit '1586b9c33ed8429b8dbbe15ce3316a2d1a73977a':
  Start MountService before performBootDexOpt

9 years agoMerge "Ensure calling mutate() on DrawableContainer creates a new state" into lmp...
Alan Viverette [Tue, 25 Nov 2014 23:42:17 +0000 (23:42 +0000)]
Merge "Ensure calling mutate() on DrawableContainer creates a new state" into lmp-mr1-dev

9 years agoStart MountService before performBootDexOpt
padarshr [Wed, 5 Nov 2014 11:24:50 +0000 (16:54 +0530)]
Start MountService before performBootDexOpt

This change is to start Mountservice before starting
performBootDexOpt, as in one case, in performBootDexOpt
when system upgrade happens, StorageManager will be started to
get the low threshold of DataDir. But, at this point, as
Mountservice is still not up, StorageManager will end up
having a null object of Mountservice.

Change-Id: If2b5e1b58e7d2a72c6313f196e98a68738295ec6

9 years agoMerge "AudioService: use FEATURE_LEANBACK instead of FEATURE_TELEVSION." into lmp...
Eric Laurent [Tue, 25 Nov 2014 22:28:06 +0000 (22:28 +0000)]
Merge "AudioService: use FEATURE_LEANBACK instead of FEATURE_TELEVSION." into lmp-mr1-dev

9 years agoMerge "Add Lohit Odia (Oriya) font to the fallback chain." into lmp-mr1-dev
Roozbeh Pournader [Tue, 25 Nov 2014 22:27:38 +0000 (22:27 +0000)]
Merge "Add Lohit Odia (Oriya) font to the fallback chain." into lmp-mr1-dev

9 years agoMake IKeyguardService interface asynchronous
Jim Miller [Sat, 11 Oct 2014 01:21:49 +0000 (18:21 -0700)]
Make IKeyguardService interface asynchronous

Add a state callback so lockscreen reports back whenever its state
relevant for PhoneWindowManager changed, instead of synchronously
calling into SysUI which can lead to deadlocks. Directly use
LockPatternUtils for isSecure, and optimize the number of calls to
this method to optimize layout performance.

Bug: 17677097
Change-Id: I5d491fc8884d4f84d9562626b9ea0d5eaa5166fc

9 years agoMerge "media: add support for 160-byte image info in MediaCodec" into lmp-mr1-dev
Lajos Molnar [Tue, 25 Nov 2014 22:09:33 +0000 (22:09 +0000)]
Merge "media: add support for 160-byte image info in MediaCodec" into lmp-mr1-dev

9 years agoMerge "Add flag for wiping factory reset protection data." into lmp-mr1-dev
Paul Crowley [Tue, 25 Nov 2014 21:13:27 +0000 (21:13 +0000)]
Merge "Add flag for wiping factory reset protection data." into lmp-mr1-dev

9 years agoAdd flag for wiping factory reset protection data.
Paul Crowley [Tue, 18 Nov 2014 13:50:19 +0000 (13:50 +0000)]
Add flag for wiping factory reset protection data.

Bug: 18366448
Change-Id: If8904888a6bf8611d34647e6d65d2347d824dbb3

9 years agoMerge "Adding helper functions to retrieve settings that are stored per subId." into...
Amit Mahajan [Tue, 25 Nov 2014 20:39:06 +0000 (20:39 +0000)]
Merge "Adding helper functions to retrieve settings that are stored per subId." into lmp-mr1-dev

9 years agoMerge "Force-use the pbuffer surface for destroy" into lmp-mr1-dev
John Reck [Tue, 25 Nov 2014 19:52:52 +0000 (19:52 +0000)]
Merge "Force-use the pbuffer surface for destroy" into lmp-mr1-dev

9 years agoMerge "Animate notifs depending on touch when exiting doze mode" into lmp-mr1-dev
Jorim Jaggi [Tue, 25 Nov 2014 19:28:37 +0000 (19:28 +0000)]
Merge "Animate notifs depending on touch when exiting doze mode" into lmp-mr1-dev

9 years agoAnimate notifs depending on touch when exiting doze mode
Jorim Jaggi [Mon, 24 Nov 2014 20:45:20 +0000 (21:45 +0100)]
Animate notifs depending on touch when exiting doze mode

When exiting doze mode during pulsing and the reason for the wakeup
is a touch event, we calculate the delay of the animations to animate
the notification from black/white to color depending on the point
where the touch happened to wake up the screen.

Bug: 18146441
Change-Id: Ica76b235d629acfc2b09b5f56027c688502f89d8

9 years agoMerge "DevicePolicy: Don't warn about managed profile CAs" into lmp-mr1-dev
Robin Lee [Tue, 25 Nov 2014 19:10:58 +0000 (19:10 +0000)]
Merge "DevicePolicy: Don't warn about managed profile CAs" into lmp-mr1-dev

9 years agoMerge "Improve DisplayList state output" into lmp-mr1-dev
Chris Craik [Tue, 25 Nov 2014 18:45:10 +0000 (18:45 +0000)]
Merge "Improve DisplayList state output" into lmp-mr1-dev

9 years agoMerge "Start MountService before performBootDexOpt" into lmp-mr1-dev
Dianne Hackborn [Tue, 25 Nov 2014 18:42:57 +0000 (18:42 +0000)]
Merge "Start MountService before performBootDexOpt" into lmp-mr1-dev

9 years agoStart MountService before performBootDexOpt
padarshr [Wed, 5 Nov 2014 11:24:50 +0000 (16:54 +0530)]
Start MountService before performBootDexOpt

This change is to start Mountservice before starting
performBootDexOpt, as in one case, in performBootDexOpt
when system upgrade happens, StorageManager will be started to
get the low threshold of DataDir. But, at this point, as
Mountservice is still not up, StorageManager will end up
having a null object of Mountservice.

Change-Id: I6dec474266faa5de67449c1bbe6ef30791e5ecaa

9 years agoMerge "VolumeZen: Introduce internal vs external ringer mode." into lmp-mr1-dev
John Spurlock [Tue, 25 Nov 2014 18:40:53 +0000 (18:40 +0000)]
Merge "VolumeZen: Introduce internal vs external ringer mode." into lmp-mr1-dev

9 years agoEnsure calling mutate() on DrawableContainer creates a new state
Alan Viverette [Tue, 25 Nov 2014 18:40:24 +0000 (10:40 -0800)]
Ensure calling mutate() on DrawableContainer creates a new state

Previously, a new state would only be created on newDrawable(), which
caused the first drawable loaded for a resource to share constant state
with the cached version. Even if mutate() was called, the constant
state was still shared and any changes were applied to the cached copy.

BUG: 18504919
Change-Id: I40d257867eb0a092ce580b9c4338ddc7406a031d

9 years agoVolumeZen: Introduce internal vs external ringer mode.
John Spurlock [Mon, 17 Nov 2014 15:29:10 +0000 (10:29 -0500)]
VolumeZen: Introduce internal vs external ringer mode.

Stabilize mapping between ringer-mode=silent and zen=priority
by keeping track of two ringer modes:
 - Internal ringer mode: Used for underlying stream muting
 - External ringer mode: Reported to clients

The mapping between external ringer mode + zen is:
 - normal = all
 - vibrate = all
 - silent = priority (read-write) or none (read)

Changes include:
 - Remove "zen check" from audio service, back to audio
   service having no knowledge of zen.
 - Maintain a new external ringer mode in audio service,
   this is the ringer mode reported through AudioManager
   to callers, also mapped to the change intent.
 - Introduce a "ringer mode delegate" to the local
   audio manager interface, responsible for observing
   external / internal mode changes, and making changes
   if necessary.
 - Internal ringer mode changes are still interesting
   to the volume dialog, wire up a callback through
   the existing IVolumeController interface.
 - On devices without vibration, the mapping is the same
   but since no ringer mode change is possible, disable
   the icon toggle and remove the mute icon when volume=0.
 - On devices with vibration, volume down presses should
   pulse the vibrate icon (and vibrate) as a hint that this
   is as low as the device can go using the keys.  Since
   the mechanics are similar to the existing zen=none hint,
   pull into shared helper.
 - Log ringer mode changes to the zen log, include calling
   package information for issue diagnosis.
 - Include whether vibration is supported in the audio service
   dump.
 - Update the status bar icon policy to use the internal ringer
   mode, not the external mode (for vibrate icon).
 - Update the "Muted by <x>" logic, include current suppressor
   in dumpsys, ensure suppression icon is enabled & !clickable,
   regardless of zen mode.

Bug: 17884168
Bug: 15471679
Bug: 16824970
Change-Id: Ia7d3bb23ce6d1e37b24fb6521d1c1ab9bb8f60c0

9 years agoForce-use the pbuffer surface for destroy
John Reck [Tue, 25 Nov 2014 17:54:13 +0000 (09:54 -0800)]
Force-use the pbuffer surface for destroy

Bug: 18518580

If CanvasContext is being destroyed() the Surface
is probably no longer valid as well, so make sure to
makeCurrent() to the pbuffer surface so that the
subsequent GL operations are not using an invalid
EGLSurface

Change-Id: Ica5d6a065841772c47e00ad65aa7894c7e27e043

9 years agoMerge "Define permission for system apps to query size of block" into lmp-mr1-dev
Andres Morales [Tue, 25 Nov 2014 17:35:19 +0000 (17:35 +0000)]
Merge "Define permission for system apps to query size of block" into lmp-mr1-dev

9 years agoMerge "Fix crash in getNativeCanvas when canvasHandle is NULL" into lmp-mr1-dev
Bo Liu [Tue, 25 Nov 2014 16:56:06 +0000 (16:56 +0000)]
Merge "Fix crash in getNativeCanvas when canvasHandle is NULL" into lmp-mr1-dev

9 years agoDefine permission for system apps to query size of block
Andres Morales [Mon, 24 Nov 2014 22:14:54 +0000 (14:14 -0800)]
Define permission for system apps to query size of block

Allows ManagedProvisioning to determine whether there's a
challenge and thus whether to disable NFC provisioning.

Other implementation option: new hidden boolean API method.
Can't think of benefit of new API method "isBlockInUse", other
than doesn't leak PDB size and is more explicitly tied to the
use case. Open to either impl if anyone has opinions on the matter.

Bug: 18508767
Change-Id: I28d2eb5a0837ff85cb91f140b17ce1dd843fe9d6

9 years agoMerge "Revert "Ensure calling mutate() on DrawableContainer creates a new state"...
John Reck [Tue, 25 Nov 2014 15:54:23 +0000 (15:54 +0000)]
Merge "Revert "Ensure calling mutate() on DrawableContainer creates a new state"" into lmp-mr1-dev

9 years agoRevert "Ensure calling mutate() on DrawableContainer creates a new state"
John Reck [Tue, 25 Nov 2014 15:50:59 +0000 (15:50 +0000)]
Revert "Ensure calling mutate() on DrawableContainer creates a new state"

This reverts commit d7dab349c2af0e4bde188b1969f0c697b217dd57.

Change-Id: Icc1c4bfa296a59a551088fe7cc2449a97bb2b7b7
Reason: Broke the build

9 years agoDevicePolicy: Don't warn about managed profile CAs
Robin Lee [Tue, 25 Nov 2014 13:40:49 +0000 (13:40 +0000)]
DevicePolicy: Don't warn about managed profile CAs

Setting up a managed profile should have included a step to warn about
this sort of thing already. As the user should trust the profile owner
anyway it's hard to argue this warning is needed.

Bug: 18224038
Change-Id: Ie86ba26851af726c0dec30eb9c32894ed6bb4a00

9 years agoMerge "Switch TextureCache to SkPixelRef::fStableId" into lmp-mr1-dev
John Reck [Tue, 25 Nov 2014 15:32:25 +0000 (15:32 +0000)]
Merge "Switch TextureCache to SkPixelRef::fStableId" into lmp-mr1-dev

9 years agoam 65e51fcd: am d7c7d275: am 77283ec9: Merge "Fixed NullPointerException due to null...
Natalie Masse [Tue, 25 Nov 2014 11:22:05 +0000 (11:22 +0000)]
am 65e51fcd: am d7c7d275: am 77283ec9: Merge "Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation" into lmp-docs

* commit '65e51fcda25c33cdfa73e8ca3a4f71cf987bd0d2':
  Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation

9 years agoam d7c7d275: am 77283ec9: Merge "Fixed NullPointerException due to null Bundle, chang...
Natalie Masse [Tue, 25 Nov 2014 11:15:24 +0000 (11:15 +0000)]
am d7c7d275: am 77283ec9: Merge "Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation" into lmp-docs

* commit 'd7c7d275e77ffcae7498df7f75142e68e1b5123c':
  Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation

9 years agoam 77283ec9: Merge "Fixed NullPointerException due to null Bundle, changed time inter...
Natalie Masse [Tue, 25 Nov 2014 11:10:09 +0000 (11:10 +0000)]
am 77283ec9: Merge "Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation" into lmp-docs

* commit '77283ec981fc022cd26ced1e44ad21cdc0b2e4ae':
  Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation

9 years agoMerge "Fixed NullPointerException due to null Bundle, changed time interval from...
Natalie Masse [Tue, 25 Nov 2014 11:05:50 +0000 (11:05 +0000)]
Merge "Fixed NullPointerException due to null Bundle, changed time interval from ms to seconds as per method documentation" into lmp-docs