OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 87c5f362: Merge "Fix bad exclude region in landscape"
Olawale Ogunwale [Wed, 26 Nov 2014 23:20:30 +0000 (23:20 +0000)]
am 87c5f362: Merge "Fix bad exclude region in landscape"

* commit '87c5f3621037eda3c4d141e5681d4acbbaa13944':
  Fix bad exclude region in landscape

9 years agoMerge "Fix bad exclude region in landscape"
Olawale Ogunwale [Wed, 26 Nov 2014 23:13:59 +0000 (23:13 +0000)]
Merge "Fix bad exclude region in landscape"

9 years agoam 200496b5: Merge "ANR caused by incorrect cleanup in BroadcastQueue."
Craig Mautner [Wed, 26 Nov 2014 21:47:35 +0000 (21:47 +0000)]
am 200496b5: Merge "ANR caused by incorrect cleanup in BroadcastQueue."

* commit '200496b5714675a31376e78977713fcbad775fb5':
  ANR caused by incorrect cleanup in BroadcastQueue.

9 years agoMerge "ANR caused by incorrect cleanup in BroadcastQueue."
Craig Mautner [Wed, 26 Nov 2014 21:43:59 +0000 (21:43 +0000)]
Merge "ANR caused by incorrect cleanup in BroadcastQueue."

9 years agoANR caused by incorrect cleanup in BroadcastQueue.
Guobin Zhang [Fri, 7 Mar 2014 09:47:10 +0000 (17:47 +0800)]
ANR caused by incorrect cleanup in BroadcastQueue.

Two broadcasts could be sent to the same app simultaneously:
one foreground, one background. For example, LOCALE_CHANGED
and PACKAGE_CHANGED are delievered to com.android.vending
at the same time.
1. AMS started new vending process to handle LOCALE_CHANGED.
   And set app.curReceiver = LOCALE_CHANGED.
2. Before LOCALE_CHANGED is handled by vending process,
   PACKAGE_CHANGED was delievered to vending process too.
   AMS set app.curReceiver = PACKAGE_CHANGED. Bad!
3. Vending process finished handling LOCALE_CHANGED.
   AMS clear app.curReceiver = NULL. Bad!
   And Vending process  killed itself without handling
   PACKAGE_CHANGED.
4. AMS known vending process has died, but didn't know that
   BgBroadcastQueue was still waiting for finish message
   for PACKAGE_CHANGED.
At last, BgBroadcastQueue reported ANR for PACKAGE_CHANGED.

This patch adds protection before clearing app.curReceiver,
only set to NULL if the finishing receiver = app.curReceiver
So handleAppDied would know that PACKAGE_CHANGED was not
finished yet, it will abort the broadcast and continue.

Change-Id: Ic4f31b35e21823d4a3c27712391ecbede213a494
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
9 years agoam b802cd67: Merge "APK still has privileged flag after being moved from "/system...
Jeff Sharkey [Wed, 26 Nov 2014 18:59:13 +0000 (18:59 +0000)]
am b802cd67: Merge "APK still has privileged flag after being moved from "/system/priv-app""

* commit 'b802cd6767c43a85645279a67bb41320058fdb60':
  APK still has privileged flag after being moved from "/system/priv-app"

9 years agoam c67b21fa: Merge "[WebView] Allow the WebView to be compiled against the system...
Ignacio Solla [Wed, 26 Nov 2014 18:59:06 +0000 (18:59 +0000)]
am c67b21fa: Merge "[WebView] Allow the WebView to be compiled against the system SDK."

* commit 'c67b21fa3ff17a1003dc805bb456c41a98bdf964':
  [WebView] Allow the WebView to be compiled against the system SDK.

9 years agoMerge "APK still has privileged flag after being moved from "/system/priv-app""
Jeff Sharkey [Wed, 26 Nov 2014 18:35:10 +0000 (18:35 +0000)]
Merge "APK still has privileged flag after being moved from "/system/priv-app""

9 years agoMerge "[WebView] Allow the WebView to be compiled against the system SDK."
Ignacio Solla [Wed, 26 Nov 2014 18:31:00 +0000 (18:31 +0000)]
Merge "[WebView] Allow the WebView to be compiled against the system SDK."

9 years agoam 69d28437: Merge "RRO tests: fix potential NPE"
Conley Owens [Wed, 26 Nov 2014 18:02:45 +0000 (18:02 +0000)]
am 69d28437: Merge "RRO tests: fix potential NPE"

* commit '69d28437d3416301895639b4c51f9b31842126f5':
  RRO tests: fix potential NPE

9 years agoam ed23786c: Merge "RRO tests: adapt tests to split apks"
Conley Owens [Wed, 26 Nov 2014 18:02:38 +0000 (18:02 +0000)]
am ed23786c: Merge "RRO tests: adapt tests to split apks"

* commit 'ed23786cc5b19c66c526a576dd39dba720fa5340':
  RRO tests: adapt tests to split apks

9 years agoMerge "RRO tests: fix potential NPE"
Conley Owens [Wed, 26 Nov 2014 17:57:08 +0000 (17:57 +0000)]
Merge "RRO tests: fix potential NPE"

9 years agoam a7a99981: Merge "Fix Presentation window is removed on stack change"
Craig Mautner [Wed, 26 Nov 2014 17:57:02 +0000 (17:57 +0000)]
am a7a99981: Merge "Fix Presentation window is removed on stack change"

* commit 'a7a999816fed3e0bdd8e65a9b90f7fad2ca5ae16':
  Fix Presentation window is removed on stack change

9 years agoMerge "RRO tests: adapt tests to split apks"
Conley Owens [Wed, 26 Nov 2014 17:56:47 +0000 (17:56 +0000)]
Merge "RRO tests: adapt tests to split apks"

9 years agoMerge "Fix Presentation window is removed on stack change"
Craig Mautner [Wed, 26 Nov 2014 17:52:59 +0000 (17:52 +0000)]
Merge "Fix Presentation window is removed on stack change"

9 years agoam 17fc8574: Merge "Sync focus stack frame and layer with focus app."
Craig Mautner [Wed, 26 Nov 2014 17:48:16 +0000 (17:48 +0000)]
am 17fc8574: Merge "Sync focus stack frame and layer with focus app."

* commit '17fc8574e55d542744f22e34bf1103bcfbefbc27':
  Sync focus stack frame and layer with focus app.

9 years agoMerge "Sync focus stack frame and layer with focus app."
Craig Mautner [Wed, 26 Nov 2014 17:43:29 +0000 (17:43 +0000)]
Merge "Sync focus stack frame and layer with focus app."

9 years agoam aed35d6b: Merge "Not include fullscreen opaque window on screenshot"
Craig Mautner [Wed, 26 Nov 2014 17:41:57 +0000 (17:41 +0000)]
am aed35d6b: Merge "Not include fullscreen opaque window on screenshot"

* commit 'aed35d6b57b4076b9b405c384f6d1f65253ab2b0':
  Not include fullscreen opaque window on screenshot

9 years agoMerge "Not include fullscreen opaque window on screenshot"
Craig Mautner [Wed, 26 Nov 2014 17:37:37 +0000 (17:37 +0000)]
Merge "Not include fullscreen opaque window on screenshot"

9 years agoam e7648472: Merge "Measure absolute value of pointer motion distance"
Craig Mautner [Wed, 26 Nov 2014 17:31:08 +0000 (17:31 +0000)]
am e7648472: Merge "Measure absolute value of pointer motion distance"

* commit 'e76484721e5b7bd7c2f11a97f04440434b5a66ee':
  Measure absolute value of pointer motion distance

9 years agoMerge "Measure absolute value of pointer motion distance"
Craig Mautner [Wed, 26 Nov 2014 17:26:45 +0000 (17:26 +0000)]
Merge "Measure absolute value of pointer motion distance"

9 years agoam 564ec716: Merge "Track change to Conscrypt"
Kenny Root [Wed, 26 Nov 2014 17:13:48 +0000 (17:13 +0000)]
am 564ec716: Merge "Track change to Conscrypt"

* commit '564ec716f4ac2f71d7d4e6eb481075603e183b4f':
  Track change to Conscrypt

9 years agoMerge "Track change to Conscrypt"
Kenny Root [Wed, 26 Nov 2014 17:09:40 +0000 (17:09 +0000)]
Merge "Track change to Conscrypt"

9 years agoTrack change to Conscrypt
Kenny Root [Wed, 26 Nov 2014 17:08:40 +0000 (09:08 -0800)]
Track change to Conscrypt

Change-Id: I8814fd0720acf09332927f184fdd9b2cdac4f413

9 years agoam fdbef408: Merge "Start MountService before performBootDexOpt"
Narayan Kamath [Wed, 26 Nov 2014 11:05:46 +0000 (11:05 +0000)]
am fdbef408: Merge "Start MountService before performBootDexOpt"

* commit 'fdbef4081d715de59525d58d44881b00f616616f':
  Start MountService before performBootDexOpt

9 years agoMerge "Start MountService before performBootDexOpt"
Narayan Kamath [Wed, 26 Nov 2014 10:59:28 +0000 (10:59 +0000)]
Merge "Start MountService before performBootDexOpt"

9 years agoAPK still has privileged flag after being moved from "/system/priv-app"
Akira Numata [Tue, 25 Nov 2014 08:50:12 +0000 (17:50 +0900)]
APK still has privileged flag after being moved from "/system/priv-app"

When an app is moved from "/system/priv-app" to another location
during OTA update, the privileged flag should be removed.

Change-Id: I7713382db34697f7b68283dbbbd25a1349cbecdb

9 years agoFix Presentation window is removed on stack change
tingna_sung [Tue, 14 Oct 2014 10:05:34 +0000 (18:05 +0800)]
Fix Presentation window is removed on stack change

If an activity show a Presentation window and this activity is moved
to bottom or top, thus this Presentation window will be removed from
its display window list, and no chance to be added back into window
container; It will cause the incorrect state that Presentation window
is lost from secondary display window list(displayContent.mWindows),
but still exist in app token's window list(appWindowToken.allAppWindows);
Moreover, once this activity resume again, Presentation window is not
shown because it's lost.

In this way, don't remove non-target display app windows due to only
target(or called default) display windows are removed temporarily and
re-sorted then added back into window list later.

Change-Id: I8960ce191f6c662455cba5a0a5e6a1ff9ef03ae1
Signed-off-by: tingna_sung <tingna_sung@htc.com>
9 years agoSync focus stack frame and layer with focus app.
tingna_sung [Sat, 25 Oct 2014 16:46:12 +0000 (00:46 +0800)]
Sync focus stack frame and layer with focus app.

Update focus stack frame/layer when focus app is changed to avoid
focus stack/layer isn't updated synchronously with focus app, it's
due to performLayoutAndPlaceSurfacesLocked() is not necessarily
called on focus app change; it will cause sending mismatching
TAP_OUTSIDE_STACK message if there is effectual incoming pointer
event, hence may also result in focus stack is changed again,
therefore erroneous focus app is set by ActivityManager at final.

Change-Id: Ia0ec9a543be887b51a3b29b3e62fdd471c15edf2
Signed-off-by: tingna_sung <tingna_sung@htc.com>
9 years agoNot include fullscreen opaque window on screenshot
tingna_sung [Tue, 21 Oct 2014 07:26:38 +0000 (15:26 +0800)]
Not include fullscreen opaque window on screenshot

Extend the fullscreen meaning by adding opaque drawn check on
screenshot application; if there is a fullscreen window but not
opaque, we will continue finding behind windows; otherwise ending up
including behind windows. It's able to help avoiding capturing BLACK
screenshot bitmap.

Change-Id: I1c7e8f513c366688ea8001c3d0c799f3522f0ffd
Signed-off-by: tingna_sung <tingna_sung@htc.com>
9 years agoMeasure absolute value of pointer motion distance
tingna_sung [Tue, 21 Oct 2014 09:09:57 +0000 (17:09 +0800)]
Measure absolute value of pointer motion distance

If pointer is moving to the negative axis direction, pointer movement
distance will always less than pre-defined mMotionSlop, thus
TAP_OUTSIDE_STACK will have chance to be sent, will cause unnecessary
focus stack switch.

Change-Id: Ia4c066bebce250257c7361ef976907a0ca2c6461
Signed-off-by: tingna_sung <tingna_sung@htc.com>
9 years agoFix bad exclude region in landscape
tingna_sung [Tue, 21 Oct 2014 08:03:06 +0000 (16:03 +0800)]
Fix bad exclude region in landscape

Update DisplayContent.mBaseDisplayRect when device orientation is
changed, it avoids to set incorrect initial value of
mTouchExcludeRegion, that will cause result of calculated
mTouchExcludeRegion becomes an incorrect strange region on
landscape orientation.

Change-Id: I993864653edc2852f91abed7891e6631b4bae15a
Signed-off-by: tingna_sung <tingna_sung@htc.com>
9 years agoam af5bd75b: Merge "Enable stencil clipping within clearLayerRegions"
Chris Craik [Wed, 26 Nov 2014 00:02:17 +0000 (00:02 +0000)]
am af5bd75b: Merge "Enable stencil clipping within clearLayerRegions"

* commit 'af5bd75b3d65fc710784f59d1c22c164312e2691':
  Enable stencil clipping within clearLayerRegions

9 years agoMerge "Enable stencil clipping within clearLayerRegions"
Chris Craik [Tue, 25 Nov 2014 23:56:32 +0000 (23:56 +0000)]
Merge "Enable stencil clipping within clearLayerRegions"

9 years agoam 2657717f: Merge "We have POSIX clocks."
Elliott Hughes [Tue, 25 Nov 2014 23:23:45 +0000 (23:23 +0000)]
am 2657717f: Merge "We have POSIX clocks."

* commit '2657717f97e0de689aa3d8cae75bb0053607839d':
  We have POSIX clocks.

9 years agoMerge "We have POSIX clocks."
Elliott Hughes [Tue, 25 Nov 2014 23:17:59 +0000 (23:17 +0000)]
Merge "We have POSIX clocks."

9 years agoWe have POSIX clocks.
Elliott Hughes [Tue, 25 Nov 2014 23:11:59 +0000 (15:11 -0800)]
We have POSIX clocks.

Change-Id: I70f82074f8c14a26c4ed7eb912ddf6d7da44c168

9 years ago[WebView] Allow the WebView to be compiled against the system SDK.
Ignacio Solla [Mon, 10 Nov 2014 10:35:54 +0000 (10:35 +0000)]
[WebView] Allow the WebView to be compiled against the system SDK.

BUG:18152150
Change-Id: Ifd6dcac17663631058d895c61bb6e8018c5aeecc

9 years agoam fc545733: Merge "Remove unused variables and functions, don\'t warn about unused...
chh [Tue, 25 Nov 2014 00:41:06 +0000 (00:41 +0000)]
am fc545733: Merge "Remove unused variables and functions, don\'t warn about unused parameters"

* commit 'fc54573373ff965aa40cccdc1ab11c1c880c8930':
  Remove unused variables and functions, don't warn about unused parameters

9 years agoMerge "Remove unused variables and functions, don't warn about unused parameters"
chh [Tue, 25 Nov 2014 00:37:12 +0000 (00:37 +0000)]
Merge "Remove unused variables and functions, don't warn about unused parameters"

9 years agoam 481c4b64: Merge "Fix class vs. struct mismatch"
Chih-hung Hsieh [Tue, 25 Nov 2014 00:24:23 +0000 (00:24 +0000)]
am 481c4b64: Merge "Fix class vs. struct mismatch"

* commit '481c4b641ea7d210396f16478c486cabf51db879':
  Fix class vs. struct mismatch

9 years agoMerge "Fix class vs. struct mismatch"
Chih-hung Hsieh [Tue, 25 Nov 2014 00:20:02 +0000 (00:20 +0000)]
Merge "Fix class vs. struct mismatch"

9 years agoFix class vs. struct mismatch
Bernhard Rosenkränzer [Mon, 17 Nov 2014 20:15:30 +0000 (21:15 +0100)]
Fix class vs. struct mismatch

Don't refer to classes as structs and view versa -- causes warnings in
clang (in code built with -Werror)

Change-Id: I4d7f461bcf6fe4e43a14ad2f28ee0e0ddea95abc
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoam 613d2066: Merge "Fix unused variables."
Chih-hung Hsieh [Tue, 25 Nov 2014 00:00:22 +0000 (00:00 +0000)]
am 613d2066: Merge "Fix unused variables."

* commit '613d20668a28f9dc970949c9efd2ca7f61bed6f4':
  Fix unused variables.

9 years agoMerge "Fix unused variables."
Chih-hung Hsieh [Mon, 24 Nov 2014 23:53:35 +0000 (23:53 +0000)]
Merge "Fix unused variables."

9 years agoFix unused variables.
Bernhard Rosenkränzer [Wed, 12 Nov 2014 13:45:58 +0000 (14:45 +0100)]
Fix unused variables.

The return value of jniRegisterNativeMethods is checked only in
LOG_FATAL_IF, which defines to nothing in the LOG_NDEBUG
case.

Fake a use of the 'res' variable to shut off warnings when LOG_NDEBUG.

Change-Id: I8263610f327c56897f76796fe1fbc2b325b0559f
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoam 38cc84de: Merge "Remove unused variable"
Chih-hung Hsieh [Mon, 24 Nov 2014 22:20:34 +0000 (22:20 +0000)]
am 38cc84de: Merge "Remove unused variable"

* commit '38cc84deceaf7bc9fab898cbcb37523cfba2bb66':
  Remove unused variable

9 years agoMerge "Remove unused variable"
Chih-hung Hsieh [Mon, 24 Nov 2014 22:15:41 +0000 (22:15 +0000)]
Merge "Remove unused variable"

9 years agoam e57b3991: Merge "Remove unused function"
Chih-Hung Hsieh [Mon, 24 Nov 2014 20:20:21 +0000 (20:20 +0000)]
am e57b3991: Merge "Remove unused function"

* commit 'e57b3991d85f22597014d74b64805a081cc978e0':
  Remove unused function

9 years agoMerge "Remove unused function"
Chih-Hung Hsieh [Mon, 24 Nov 2014 20:15:12 +0000 (20:15 +0000)]
Merge "Remove unused function"

9 years agoRemove unused function
Chih-Hung Hsieh [Mon, 24 Nov 2014 19:52:43 +0000 (11:52 -0800)]
Remove unused function

Remove an unused static function clang complains about

Change-Id: Id5875960e9f93348c7a3a912f42b5f457af2cdc0
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoam 32ed090f: Merge "Stop using DATE_FORMAT from settings."
Narayan Kamath [Mon, 24 Nov 2014 16:19:31 +0000 (16:19 +0000)]
am 32ed090f: Merge "Stop using DATE_FORMAT from settings."

* commit '32ed090f5af4d533660759664f2542b99dbda7d9':
  Stop using DATE_FORMAT from settings.

9 years agoam 1d84709c: Merge "Stop reading Settings.System.DATE_FORMAT."
Narayan Kamath [Mon, 24 Nov 2014 16:15:13 +0000 (16:15 +0000)]
am 1d84709c: Merge "Stop reading Settings.System.DATE_FORMAT."

* commit '1d84709cf4d320a3e57cd16db144262b1fc2c3d7':
  Stop reading Settings.System.DATE_FORMAT.

9 years agoMerge "Stop using DATE_FORMAT from settings."
Narayan Kamath [Mon, 24 Nov 2014 16:14:32 +0000 (16:14 +0000)]
Merge "Stop using DATE_FORMAT from settings."

9 years agoMerge "Stop reading Settings.System.DATE_FORMAT."
Narayan Kamath [Mon, 24 Nov 2014 16:10:01 +0000 (16:10 +0000)]
Merge "Stop reading Settings.System.DATE_FORMAT."

9 years agoStop reading Settings.System.DATE_FORMAT.
Narayan Kamath [Tue, 18 Nov 2014 13:23:02 +0000 (13:23 +0000)]
Stop reading Settings.System.DATE_FORMAT.

Also, move over DateFormat.getInstance(SHORT) instead of
LocaleData.shortDateFormat4 (which forces 4 digit years).
Based on an analysis of git history, there seems to be no
real motiviation for using 4 digit years.

If anyone in the platform complains loudly, we could look at
using a skeleton pattern instead of just replacing 'y' with 'yy'.

If third party apps are affected, we could add a targetSdkversion
based check and revert to the old behaviour for older targetSdks.

bug: 18388178
bug: 18322220
Change-Id: Ieab2b41691958a2e668d382c5a6b3d9aaf741ed2

9 years agoEnable stencil clipping within clearLayerRegions
Dohyun Lee [Mon, 24 Nov 2014 12:08:15 +0000 (21:08 +0900)]
Enable stencil clipping within clearLayerRegions

Previously stencil clipping within clearLayerRegions is disabled by commit
62d307c2402777d5e53b4590af5f32f8c55afd81. However, clearing whole layer
regions causes black-colored triangle regions when a TextView has
RotateAnimation because the draw within clearLayerRegions does not
affected by the current stencil clip.

Change-Id: Id32a0b16754b109905f833e063ebfa156bd953f2
Signed-off-by: Dohyun Lee <dohyun.lee@lge.com>
9 years agoRemove unused variables and functions, don't warn about unused parameters
Bernhard Rosenkränzer [Sun, 23 Nov 2014 21:24:32 +0000 (22:24 +0100)]
Remove unused variables and functions, don't warn about unused parameters

Remove unused variables and static functions clang complains about,
disable warnings about unused parameters (needed for clang and for gcc
with -Wextra enabled)

Change-Id: I76a22cd0158b3c7375c54e3d4d15bc1ac448591e
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoam ff4dd15c: Merge "We HAVE_LITTLE_ENDIAN."
Elliott Hughes [Sat, 22 Nov 2014 07:50:58 +0000 (07:50 +0000)]
am ff4dd15c: Merge "We HAVE_LITTLE_ENDIAN."

* commit 'ff4dd15cd024f72cbd2b6d547356de030b2dd71c':
  We HAVE_LITTLE_ENDIAN.

9 years agoMerge "We HAVE_LITTLE_ENDIAN."
Elliott Hughes [Sat, 22 Nov 2014 07:47:27 +0000 (07:47 +0000)]
Merge "We HAVE_LITTLE_ENDIAN."

9 years agoWe HAVE_LITTLE_ENDIAN.
Elliott Hughes [Sat, 22 Nov 2014 07:36:45 +0000 (23:36 -0800)]
We HAVE_LITTLE_ENDIAN.

Change-Id: I5b5d0ef3f91fe84d629d2ddac436bd22019edfd4

9 years agoam f1058308: Merge "Add window to child window list with correct order"
Olawale Ogunwale [Sat, 22 Nov 2014 02:34:01 +0000 (02:34 +0000)]
am f1058308: Merge "Add window to child window list with correct order"

* commit 'f1058308c62f297c5bca9e9baf8451efeb200805':
  Add window to child window list with correct order

9 years agoMerge "Add window to child window list with correct order"
Olawale Ogunwale [Sat, 22 Nov 2014 02:12:48 +0000 (02:12 +0000)]
Merge "Add window to child window list with correct order"

9 years agoam fc4a7538: Merge "Revert "Frameworks/base: Mask Skia warning in GraphicsJNI""
Chih-hung Hsieh [Sat, 22 Nov 2014 00:31:07 +0000 (00:31 +0000)]
am fc4a7538: Merge "Revert "Frameworks/base: Mask Skia warning in GraphicsJNI""

* commit 'fc4a7538a65449428e9d321deb6a413e19461c6c':
  Revert "Frameworks/base: Mask Skia warning in GraphicsJNI"

9 years agoMerge "Revert "Frameworks/base: Mask Skia warning in GraphicsJNI""
Chih-hung Hsieh [Sat, 22 Nov 2014 00:24:38 +0000 (00:24 +0000)]
Merge "Revert "Frameworks/base: Mask Skia warning in GraphicsJNI""

9 years agoam ad938797: Merge "Revert "Frameworks/base: Unused parameters in hwui""
John Reck [Sat, 22 Nov 2014 00:14:53 +0000 (00:14 +0000)]
am ad938797: Merge "Revert "Frameworks/base: Unused parameters in hwui""

* commit 'ad9387974b02528ff0366134a3740d66fb0b1cd5':
  Revert "Frameworks/base: Unused parameters in hwui"

9 years agoMerge "Revert "Frameworks/base: Unused parameters in hwui""
John Reck [Sat, 22 Nov 2014 00:10:45 +0000 (00:10 +0000)]
Merge "Revert "Frameworks/base: Unused parameters in hwui""

9 years agoRevert "Frameworks/base: Unused parameters in hwui"
John Reck [Sat, 22 Nov 2014 00:10:02 +0000 (00:10 +0000)]
Revert "Frameworks/base: Unused parameters in hwui"

This reverts commit 42ddc18d108f789705ad4eb697ce9599ad322507.

Change-Id: I3574a936a39a96314db6437d0a1eb58d260d893d

9 years agoam d2738ead: Merge "Frameworks/base: Unused parameters in hwui"
Andreas Gampe [Fri, 21 Nov 2014 21:38:42 +0000 (21:38 +0000)]
am d2738ead: Merge "Frameworks/base: Unused parameters in hwui"

* commit 'd2738eadc1f8c92c64d47429ef3f168738431809':
  Frameworks/base: Unused parameters in hwui

9 years agoMerge "Frameworks/base: Unused parameters in hwui"
Andreas Gampe [Fri, 21 Nov 2014 21:34:45 +0000 (21:34 +0000)]
Merge "Frameworks/base: Unused parameters in hwui"

9 years agoam 0218970a: Merge "Fix error overwriting when restoring error"
Alan Viverette [Fri, 21 Nov 2014 20:45:15 +0000 (20:45 +0000)]
am 0218970a: Merge "Fix error overwriting when restoring error"

* commit '0218970afaeefcabf7ed4b476cb93f28d61847b8':
  Fix error overwriting when restoring error

9 years agoam 47172f53: Merge "Use parseColor instead of getHTMLColor"
Alan Viverette [Fri, 21 Nov 2014 20:45:09 +0000 (20:45 +0000)]
am 47172f53: Merge "Use parseColor instead of getHTMLColor"

* commit '47172f53659e4e98988dab99a4155653b638b1e5':
  Use parseColor instead of getHTMLColor

9 years agoMerge "Fix error overwriting when restoring error"
Alan Viverette [Fri, 21 Nov 2014 20:40:28 +0000 (20:40 +0000)]
Merge "Fix error overwriting when restoring error"

9 years agoMerge "Use parseColor instead of getHTMLColor"
Alan Viverette [Fri, 21 Nov 2014 20:40:08 +0000 (20:40 +0000)]
Merge "Use parseColor instead of getHTMLColor"

9 years agoRevert "Frameworks/base: Mask Skia warning in GraphicsJNI"
Chih-hung Hsieh [Fri, 21 Nov 2014 18:54:15 +0000 (18:54 +0000)]
Revert "Frameworks/base: Mask Skia warning in GraphicsJNI"

Should be unnecessary after c/115476.
This reverts commit ba823cee8bafff98640408a777fe105a72fcea0d.

Change-Id: I3ef4d3e04805e450038d469d9672dc064f729b0f

9 years agoFrameworks/base: Unused parameters in hwui
Andreas Gampe [Fri, 21 Nov 2014 17:49:08 +0000 (09:49 -0800)]
Frameworks/base: Unused parameters in hwui

Remove Clang cutout for unused parameters. Fix warnings.

Remove Clang cutout for deprecated Skia function usage. Has been
fixed in the L push.

Change-Id: I7ea073ff67127cc1e14e798b655e2c50615fe8e7

9 years agoam 2c596a53: Merge "Frameworks/base: Consistency in core/jni"
Andreas Gampe [Fri, 21 Nov 2014 18:22:36 +0000 (18:22 +0000)]
am 2c596a53: Merge "Frameworks/base: Consistency in core/jni"

* commit '2c596a533488320444e28bbe37b7032589a0c5dd':
  Frameworks/base: Consistency in core/jni

9 years agoMerge "Frameworks/base: Consistency in core/jni"
Andreas Gampe [Fri, 21 Nov 2014 18:18:35 +0000 (18:18 +0000)]
Merge "Frameworks/base: Consistency in core/jni"

9 years agoFrameworks/base: Consistency in core/jni
Andreas Gampe [Fri, 21 Nov 2014 06:02:20 +0000 (22:02 -0800)]
Frameworks/base: Consistency in core/jni

Make consistent use of core_jni_helpers for registration.

Translate some #ifdefs into const bools.

Change-Id: I37639aa053dd50f003a552cbd8550dddecc811c5

9 years agoam ed368be7: Merge "Frameworks/base: Wall Werror in media/tests"
Andreas Gampe [Fri, 21 Nov 2014 17:41:31 +0000 (17:41 +0000)]
am ed368be7: Merge "Frameworks/base: Wall Werror in media/tests"

* commit 'ed368be79248d8e0a71c383b2ed6eb93b451810e':
  Frameworks/base: Wall Werror in media/tests

9 years agoam e042791e: Merge "Frameworks/base: Remove unused header"
Andreas Gampe [Fri, 21 Nov 2014 17:41:25 +0000 (17:41 +0000)]
am e042791e: Merge "Frameworks/base: Remove unused header"

* commit 'e042791e753d35d7fd60f0a9a2b5764dc8d9afac':
  Frameworks/base: Remove unused header

9 years agoMerge "Frameworks/base: Wall Werror in media/tests"
Andreas Gampe [Fri, 21 Nov 2014 17:39:32 +0000 (17:39 +0000)]
Merge "Frameworks/base: Wall Werror in media/tests"

9 years agoMerge "Frameworks/base: Remove unused header"
Andreas Gampe [Fri, 21 Nov 2014 17:38:06 +0000 (17:38 +0000)]
Merge "Frameworks/base: Remove unused header"

9 years agoFrameworks/base: Remove unused header
Andreas Gampe [Fri, 21 Nov 2014 00:11:57 +0000 (16:11 -0800)]
Frameworks/base: Remove unused header

android_nfc.h is used nowhere.

Change-Id: I3009b3eb122674d3fe7ddb201bac18368b78bc02

9 years agoam f926d71b: Merge "Fix format strings mismatching the parameters passed to them"
Chih-hung Hsieh [Thu, 20 Nov 2014 23:53:33 +0000 (23:53 +0000)]
am f926d71b: Merge "Fix format strings mismatching the parameters passed to them"

* commit 'f926d71b8ef2790da067550144860705c1a61fe5':
  Fix format strings mismatching the parameters passed to them

9 years agoMerge "Fix format strings mismatching the parameters passed to them"
Chih-hung Hsieh [Thu, 20 Nov 2014 23:50:04 +0000 (23:50 +0000)]
Merge "Fix format strings mismatching the parameters passed to them"

9 years agoFix format strings mismatching the parameters passed to them
Bernhard Rosenkränzer [Mon, 17 Nov 2014 19:25:28 +0000 (20:25 +0100)]
Fix format strings mismatching the parameters passed to them

Change-Id: Ia0d33aec9edadac60508fb422e0821e6d8f28afa
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoam 8e357bf5: Merge "Fix clang warnings in core/jni."
Dan Albert [Thu, 20 Nov 2014 23:02:29 +0000 (23:02 +0000)]
am 8e357bf5: Merge "Fix clang warnings in core/jni."

* commit '8e357bf54173c3f83584c10983392f0d87e0b2b3':
  Fix clang warnings in core/jni.

9 years agoMerge "Fix clang warnings in core/jni."
Dan Albert [Thu, 20 Nov 2014 22:58:46 +0000 (22:58 +0000)]
Merge "Fix clang warnings in core/jni."

9 years ago[WebView] Interface to access hidden APIs. (DO NOT MERGE)
Ignacio Solla [Wed, 29 Oct 2014 12:47:46 +0000 (12:47 +0000)]
[WebView] Interface to access hidden APIs. (DO NOT MERGE)

The WeView provider implementation needs access to
these APIs to implement the WebView functionality.

BUG:18152150

Change-Id: I6b41c623b1e8a776dcee8977d0d17259cb4b34f1
(cherry picked from commits 94ef789f0cf0387df20c2c602857ada1e5abfdd6
 and 53f256948724b8d4009d8a8a47da96a06402f9a2)

9 years agoam 0c437fd3: Merge "Add appropriate casts for char16_t."
Dan Albert [Thu, 20 Nov 2014 22:25:07 +0000 (22:25 +0000)]
am 0c437fd3: Merge "Add appropriate casts for char16_t."

* commit '0c437fd3a79ba5f9118ec10940a3398665690587':
  Add appropriate casts for char16_t.

9 years agoMerge "Add appropriate casts for char16_t."
Dan Albert [Thu, 20 Nov 2014 22:19:38 +0000 (22:19 +0000)]
Merge "Add appropriate casts for char16_t."

9 years agoAdd appropriate casts for char16_t.
Dan Albert [Thu, 20 Nov 2014 19:41:21 +0000 (11:41 -0800)]
Add appropriate casts for char16_t.

C++11 defines a real char16_t, which is not implicitly convertible to
uint16_t (and by extension jchar). Add casts as needed.

Bug: 18300613
Change-Id: I00752002ef2e938bdb57f70947e8fd53ec103293

9 years agoFix clang warnings in core/jni.
Dan Albert [Wed, 19 Nov 2014 00:07:51 +0000 (16:07 -0800)]
Fix clang warnings in core/jni.

There are a few bugs in here too (mostly people expecting + to
concatenate C strings) :(

Change-Id: I0a243c05c4ea8b56e84896f37814d0fbea4c39d5

9 years agoam 9f285bd6: Merge "Tell installd when boot completes."
Narayan Kamath [Thu, 20 Nov 2014 10:51:26 +0000 (10:51 +0000)]
am 9f285bd6: Merge "Tell installd when boot completes."

* commit '9f285bd60b219b562bc55c7c2a9fae23eae554e5':
  Tell installd when boot completes.

9 years agoMerge "Tell installd when boot completes."
Narayan Kamath [Thu, 20 Nov 2014 10:47:16 +0000 (10:47 +0000)]
Merge "Tell installd when boot completes."

9 years agoAdd window to child window list with correct order
tiger_huang [Thu, 13 Nov 2014 11:46:28 +0000 (19:46 +0800)]
Add window to child window list with correct order

The original logic of comparing with mBaseLayer of two child windows
of the same parent was wrong, because the mBaseLayer is always the
same.

After adding two child windows with the same positive sublayer, the
one added later should have greater z-order. The order should be
consistent with WindowManagerService.addAttachedWindowToListLocked()

Change-Id: I789179aee61d141fad86bd24262fabfb1e517e66

9 years agoam ea8ff822: Merge "Fix and be more explicit about plurals best practices."
Elliott Hughes [Thu, 20 Nov 2014 00:22:37 +0000 (00:22 +0000)]
am ea8ff822: Merge "Fix and be more explicit about plurals best practices."

* commit 'ea8ff822121cde16344ba2db194a5f17283fa740':
  Fix and be more explicit about plurals best practices.

9 years agoMerge "Fix and be more explicit about plurals best practices."
Elliott Hughes [Thu, 20 Nov 2014 00:19:44 +0000 (00:19 +0000)]
Merge "Fix and be more explicit about plurals best practices."

9 years agoFix and be more explicit about plurals best practices.
Elliott Hughes [Fri, 23 May 2014 20:28:33 +0000 (13:28 -0700)]
Fix and be more explicit about plurals best practices.

The "one" case should always include %d. Say so, and fix our examples.
Also make it clear that developers should always provide exactly "one"
and "other".

Bug: 18429565
Change-Id: I09eb39ea6986850c3af28cca3052d319e3c97705