OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Sensor batching APIs for review." into klp-dev
Aravind Akella [Fri, 6 Sep 2013 22:30:18 +0000 (22:30 +0000)]
Merge "Sensor batching APIs for review." into klp-dev

10 years agoMerge "Implement issue #10550827: watching gpu memory for occam_svelte" into klp-dev
Dianne Hackborn [Fri, 6 Sep 2013 22:25:56 +0000 (22:25 +0000)]
Merge "Implement issue #10550827: watching gpu memory for occam_svelte" into klp-dev

10 years agoSensor batching APIs for review.
Aravind Akella [Wed, 4 Sep 2013 19:07:33 +0000 (12:07 -0700)]
Sensor batching APIs for review.

Change-Id: I34504e1a0856c2dfeceb69c808abdf3e805c5f1f

10 years agoMerge "Camera2: Minor docs fix." into klp-dev
Timothy Knight [Fri, 6 Sep 2013 22:11:37 +0000 (22:11 +0000)]
Merge "Camera2: Minor docs fix." into klp-dev

10 years agoMerge "wifi: Fix cleaning scan result cache" into klp-dev
Dmitry Shmidt [Fri, 6 Sep 2013 22:09:27 +0000 (22:09 +0000)]
Merge "wifi: Fix cleaning scan result cache" into klp-dev

10 years agoImplement issue #10550827: watching gpu memory for occam_svelte
Dianne Hackborn [Fri, 6 Sep 2013 02:34:57 +0000 (19:34 -0700)]
Implement issue #10550827: watching gpu memory for occam_svelte

Well, it would work if the published file permissions gave the
system process access to them. :(

Change-Id: I99e0c506f52c212384b20a042dcdd35516cf49c2

10 years agoMerge "Use the permission for hotword recognition" into klp-dev
Sandeep Siddhartha [Fri, 6 Sep 2013 22:04:44 +0000 (22:04 +0000)]
Merge "Use the permission for hotword recognition" into klp-dev

10 years agoMerge "Add permission checks and unhide the Hotword recognition APIs" into klp-dev
Sandeep Siddhartha [Fri, 6 Sep 2013 22:04:25 +0000 (22:04 +0000)]
Merge "Add permission checks and unhide the Hotword recognition APIs" into klp-dev

10 years agoMerge "Allow L2CAP sockets" into klp-dev
Mike Lockwood [Fri, 6 Sep 2013 21:45:34 +0000 (21:45 +0000)]
Merge "Allow L2CAP sockets" into klp-dev

10 years agoMerge "Fix issue #10560472: ApplicationInfo.manageSpaceActivity not parsed..." into...
Dianne Hackborn [Fri, 6 Sep 2013 21:31:29 +0000 (21:31 +0000)]
Merge "Fix issue #10560472: ApplicationInfo.manageSpaceActivity not parsed..." into klp-dev

10 years agowifi: Fix cleaning scan result cache
Dmitry Shmidt [Fri, 6 Sep 2013 21:25:14 +0000 (14:25 -0700)]
wifi: Fix cleaning scan result cache

Bug: 10198923

Change-Id: I18dfc10860b8fb623751c62a4bc54b628246cf0c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoFix issue #10560472: ApplicationInfo.manageSpaceActivity not parsed...
Dianne Hackborn [Fri, 6 Sep 2013 21:02:54 +0000 (14:02 -0700)]
Fix issue #10560472: ApplicationInfo.manageSpaceActivity not parsed...

...correctly with overloaded resources

Change this attribute and a few other manifest attributes to allow
them to change based on platform SDK version.

Clean up a little more the whole mess with native vs. java config
bit masks.

Change-Id: Ia0baa3f7aed00bcb432701bcf99a9112124d6519

10 years agoMerge "Another asset drop, provider icons, tests." into klp-dev
Jeff Sharkey [Fri, 6 Sep 2013 20:57:38 +0000 (20:57 +0000)]
Merge "Another asset drop, provider icons, tests." into klp-dev

10 years agoMerge "Fix issue #10650718: Camera DOA on KLP" into klp-dev
Dianne Hackborn [Fri, 6 Sep 2013 20:42:29 +0000 (20:42 +0000)]
Merge "Fix issue #10650718: Camera DOA on KLP" into klp-dev

10 years agoFix issue #10650718: Camera DOA on KLP
Dianne Hackborn [Fri, 6 Sep 2013 20:36:57 +0000 (13:36 -0700)]
Fix issue #10650718: Camera DOA on KLP

Methods not kept in sync.

Change-Id: I2621255707bbc569ac476b8fb0f7e82f68585b12

10 years agoCamera2: Minor docs fix.
Timothy Knight [Fri, 6 Sep 2013 20:34:30 +0000 (13:34 -0700)]
Camera2: Minor docs fix.

Bug: 10639270
Change-Id: Ic5b046a8f8e1c8be83f010e05247914c61b3674b

10 years agoUse the permission for hotword recognition
Sandeep Siddhartha [Fri, 6 Sep 2013 19:32:52 +0000 (12:32 -0700)]
Use the permission for hotword recognition

- Also fixes an issue with PendingIntents being launched from the
  lockscreen taking a lot of time

Change-Id: I91b44328ba68b225454322b90a5b19a0d4c9a772

10 years agoMerge "add NotoSansSymbols to fallback chain" into klp-dev
Victoria Lease [Fri, 6 Sep 2013 19:39:59 +0000 (19:39 +0000)]
Merge "add NotoSansSymbols to fallback chain" into klp-dev

10 years agoAdd permission checks and unhide the Hotword recognition APIs
Sandeep Siddhartha [Fri, 6 Sep 2013 19:34:03 +0000 (12:34 -0700)]
Add permission checks and unhide the Hotword recognition APIs

- Also tweak the API a little to send an intent on hotword being
  recognized.

Change-Id: I8a3fedaec4e1db595ed058089734d25c7957111e

10 years agoAllow L2CAP sockets
Dmitry Grinberg [Fri, 9 Aug 2013 22:22:59 +0000 (15:22 -0700)]
Allow L2CAP sockets

Change-Id: Icb498e6c0430789b6168bec3beb1d4650e4f1238

10 years agoMerge "tweak the electron beam animation a bit" into klp-dev
Mathias Agopian [Fri, 6 Sep 2013 19:16:36 +0000 (19:16 +0000)]
Merge "tweak the electron beam animation a bit" into klp-dev

10 years agoMerge "Fix to show correct duration." into klp-dev
Dianne Hackborn [Fri, 6 Sep 2013 18:48:02 +0000 (18:48 +0000)]
Merge "Fix to show correct duration." into klp-dev

10 years agoFix to show correct duration.
Dianne Hackborn [Fri, 6 Sep 2013 18:46:43 +0000 (11:46 -0700)]
Fix to show correct duration.

Change-Id: I1032d90d5b7bf39006b20f3374104421dcc53305

10 years agoMerge "Binder: Log exceptions originating from the binder stub for oneway calls"...
Igor Murashkin [Fri, 6 Sep 2013 18:32:30 +0000 (18:32 +0000)]
Merge "Binder: Log exceptions originating from the binder stub for oneway calls" into klp-dev

10 years agoMerge "Add a minimum timeout for double-tap in GestureDetector" into klp-dev
Adam Powell [Fri, 6 Sep 2013 18:15:27 +0000 (18:15 +0000)]
Merge "Add a minimum timeout for double-tap in GestureDetector" into klp-dev

10 years agoMerge "Fix QuickSettings to honor location setting for restricted users (b/10553306...
David Christie [Fri, 6 Sep 2013 18:09:20 +0000 (18:09 +0000)]
Merge "Fix QuickSettings to honor location setting for restricted users (b/10553306). Generally when a user is location restricted, location will be off. But just in case location is on and locked in that state, we should respect that in the UI." into klp-dev

10 years agoFix QuickSettings to honor location setting for restricted users (b/10553306).
David Christie [Thu, 5 Sep 2013 21:49:56 +0000 (14:49 -0700)]
Fix QuickSettings to honor location setting for restricted users (b/10553306).
Generally when a user is location restricted, location will be off.
But just in case location is on and locked in that state, we should
respect that in the UI.

Change-Id: I112139db447ba6dbf4c7c38600406fb5ba6a1fa8

10 years agoAnother asset drop, provider icons, tests.
Jeff Sharkey [Fri, 6 Sep 2013 17:43:45 +0000 (10:43 -0700)]
Another asset drop, provider icons, tests.

Latest asset update, including provider icons which are treated as
special cases for now instead of checking into separate apps.  Add
tests for MIME type matching of roots.  Remove unused XML.

Bug: 10510022
Change-Id: Id567a9e06ba241f60ac011823e550253c6c797fb

10 years agoMerge "Dump the right matrix when logging display lists" into klp-dev
Chris Craik [Fri, 6 Sep 2013 17:43:02 +0000 (17:43 +0000)]
Merge "Dump the right matrix when logging display lists" into klp-dev

10 years agoMerge "MediaPlayer.MTP: fix issue when main thread had no looper" into klp-dev
Lajos Molnar [Fri, 6 Sep 2013 17:40:55 +0000 (17:40 +0000)]
Merge "MediaPlayer.MTP: fix issue when main thread had no looper" into klp-dev

10 years agoMerge "Fix duplicate SSID entries in the WifiSettings UI" into klp-dev
Vinit Deshapnde [Fri, 6 Sep 2013 17:26:39 +0000 (17:26 +0000)]
Merge "Fix duplicate SSID entries in the WifiSettings UI" into klp-dev

10 years agoMerge changes I7277880e,Ia5584bd6 into klp-dev
Jeff Sharkey [Fri, 6 Sep 2013 16:26:34 +0000 (16:26 +0000)]
Merge changes I7277880e,Ia5584bd6 into klp-dev

* changes:
  Provide calling package to ContentProviders.
  Separate root and document management.

10 years agoam fc7a146b: am 50f86448: am 59a9884b: Merge "Do not change NetworkInfo.DetailedState...
Wink Saville [Fri, 6 Sep 2013 16:19:40 +0000 (09:19 -0700)]
am fc7a146b: am 50f86448: am 59a9884b: Merge "Do not change NetworkInfo.DetailedState." into jb-mr2-dev

* commit 'fc7a146b82774514bad4bc307489ece7ac27ee50':
  Do not change NetworkInfo.DetailedState.

10 years agoam 50f86448: am 59a9884b: Merge "Do not change NetworkInfo.DetailedState." into jb...
Wink Saville [Fri, 6 Sep 2013 16:17:19 +0000 (09:17 -0700)]
am 50f86448: am 59a9884b: Merge "Do not change NetworkInfo.DetailedState." into jb-mr2-dev

* commit '50f864480d6e9cf9e4d83b4533e3764753b4d408':
  Do not change NetworkInfo.DetailedState.

10 years agoam 59a9884b: Merge "Do not change NetworkInfo.DetailedState." into jb-mr2-dev
Wink Saville [Fri, 6 Sep 2013 16:12:50 +0000 (09:12 -0700)]
am 59a9884b: Merge "Do not change NetworkInfo.DetailedState." into jb-mr2-dev

* commit '59a9884bf8280e2db9db7680370e98f40a065d56':
  Do not change NetworkInfo.DetailedState.

10 years agoMerge "Do not change NetworkInfo.DetailedState." into jb-mr2-dev
Wink Saville [Fri, 6 Sep 2013 16:09:36 +0000 (16:09 +0000)]
Merge "Do not change NetworkInfo.DetailedState." into jb-mr2-dev

10 years agoMediaPlayer.MTP: fix issue when main thread had no looper
Lajos Molnar [Fri, 6 Sep 2013 13:30:35 +0000 (06:30 -0700)]
MediaPlayer.MTP: fix issue when main thread had no looper

We fall back to using the application's main looper similarly to MP,
and even create our own looper if MP was created outside of an
application context.  Always creating our own looper is a waste
of resources.

Also resolved issue with MP.reset() when created outside of an
application context, and removed MP.MTP's unused getHandler().

Change-Id: I9c3b8a2f05a9e231ae9c008bc1a48d6b991cec1d
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 10634238

10 years agoProvide calling package to ContentProviders.
Jeff Sharkey [Fri, 6 Sep 2013 01:11:45 +0000 (18:11 -0700)]
Provide calling package to ContentProviders.

The calling package is important for ContentProviders that want to
grant Uri permissions as a side effect of operations, so offer it
through a new API.  Validates the provided package against the
calling UID before returning.

Bug: 10626527
Change-Id: I7277880eebbd48444c024bcf5f69199133cd59e4

10 years agoSeparate root and document management.
Jeff Sharkey [Fri, 6 Sep 2013 00:14:14 +0000 (17:14 -0700)]
Separate root and document management.

Two hidden intents for managing roots and documents, used to support
Downloads UI.  Touching an item tries launching as MANAGE_DOCUMENT
first before falling back to VIEW.  Provide MIME type for roots.

Bug: 104462651053134710599641
Change-Id: Ia5584bd6ce3e5a9b0048e8caf1447e3053664413

10 years agoMerge "Add more docs for WebView's setInitialScale and setLoadWithOverviewMode" into...
Mikhail Naganov [Fri, 6 Sep 2013 14:36:28 +0000 (14:36 +0000)]
Merge "Add more docs for WebView's setInitialScale and setLoadWithOverviewMode" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 6 Sep 2013 04:56:22 +0000 (04:56 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Track IP addresses in WifiStateMachine." into klp-dev
Lorenzo Colitti [Fri, 6 Sep 2013 03:30:14 +0000 (03:30 +0000)]
Merge "Track IP addresses in WifiStateMachine." into klp-dev

10 years agotweak the electron beam animation a bit
Mathias Agopian [Fri, 6 Sep 2013 01:55:29 +0000 (18:55 -0700)]
tweak the electron beam animation a bit

we make the "beam" vanish in the center of the screen.

Bug: 10641933

Change-Id: I61fdb4d46e9f62dc80d65356a884dff0b177384a

10 years agoMerge "Added support for supports-input manifest element" into klp-dev
Michael Wright [Fri, 6 Sep 2013 01:29:35 +0000 (01:29 +0000)]
Merge "Added support for supports-input manifest element" into klp-dev

10 years agoAdded support for supports-input manifest element
Michael Wright [Fri, 6 Sep 2013 01:15:57 +0000 (18:15 -0700)]
Added support for supports-input manifest element

Change-Id: Ifa7c87908081585c1940b5a47fdf5138a287d9ea

10 years agoMerge "Spooler broken on upgrade." into klp-dev
Svetoslav [Fri, 6 Sep 2013 00:00:22 +0000 (00:00 +0000)]
Merge "Spooler broken on upgrade." into klp-dev

10 years agoMerge "Apply implicit parent dependency when adding to PreferenceGroup" into klp-dev
Alan Viverette [Thu, 5 Sep 2013 23:36:18 +0000 (23:36 +0000)]
Merge "Apply implicit parent dependency when adding to PreferenceGroup" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 5 Sep 2013 23:28:25 +0000 (23:28 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoTrack IP addresses in WifiStateMachine.
Lorenzo Colitti [Thu, 8 Aug 2013 10:38:37 +0000 (19:38 +0900)]
Track IP addresses in WifiStateMachine.

This makes WifiStateMachine listen for interface address
changes. When an address changes, WifiStateMachine will update
its LinkProperties to match reality and notify the system that
the link configuration has changed. This allows wifi to keep
track of IPv6 addresses as well (previously it only knew about
the IPv4 address passed in by DHCP).

IP addresses are obtained directly from the kernel and always
match those configured on the interface, so we treat them as
authoritative and ignore addresses passed in via DHCP (by the
time DHCP passes them in we've already been notified by the
kernel anyway).

Since we now have multiple sources of link information (the
kernel for addresses and DHCP for routes and DNS, plus various
bits of static information), also move all the code that sets
mLinkProperties into one place. This allows us to be clearer
about who is authoritative for which parts of mLinkProperties.

Bug: 10232006
Change-Id: I4f262342379ce7fed172b67a1d403e3cd34f4232

10 years agoMerge "Remove opaque-on-interaction from nav bar." into klp-dev
John Spurlock [Thu, 5 Sep 2013 23:14:55 +0000 (23:14 +0000)]
Merge "Remove opaque-on-interaction from nav bar." into klp-dev

10 years agoSpooler broken on upgrade.
Svetoslav [Thu, 5 Sep 2013 23:14:28 +0000 (16:14 -0700)]
Spooler broken on upgrade.

The spooler apk was signed with the platform certificate and used
a redundant shared user id. Now the spooler is signed with a default
certificate and uses the same share user id. Since the shared user
id is associated with the platform certificate the package manager
rejects the spooler apk because it requested the same shared user id
with a different certificate. This change removes the unnecessary
shared user id from the manifest.

Change-Id: I208ef17fc6c25e67338682e56f9ce0e7e9d65642

10 years agoMerge "Turn off verbose wakeup-alarm stats" into klp-dev
Christopher Tate [Thu, 5 Sep 2013 23:13:20 +0000 (23:13 +0000)]
Merge "Turn off verbose wakeup-alarm stats" into klp-dev

10 years agoadd NotoSansSymbols to fallback chain
Victoria Lease [Thu, 5 Sep 2013 23:10:20 +0000 (16:10 -0700)]
add NotoSansSymbols to fallback chain

Bug: 10639804
Change-Id: I56fcdd980c2b8c2a4d631e93cbc3252d125c197d

10 years agoDump the right matrix when logging display lists
Chris Craik [Thu, 5 Sep 2013 23:11:18 +0000 (16:11 -0700)]
Dump the right matrix when logging display lists

bug:10631274
Change-Id: I6b32bfcb3e207321da60807091d7ac0ecf6112ab

10 years agoMerge "Add a function to replace all the link addresses." into klp-dev
Lorenzo Colitti [Thu, 5 Sep 2013 23:03:23 +0000 (23:03 +0000)]
Merge "Add a function to replace all the link addresses." into klp-dev

10 years agoMerge "Remove unused APIs and rename others based on API review" into klp-dev
Amith Yamasani [Thu, 5 Sep 2013 22:48:17 +0000 (22:48 +0000)]
Merge "Remove unused APIs and rename others based on API review" into klp-dev

10 years agoMerge "Fix broken copy of kl/kcm/idc files to system image" into klp-dev
Michael Wright [Thu, 5 Sep 2013 22:31:07 +0000 (22:31 +0000)]
Merge "Fix broken copy of kl/kcm/idc files to system image" into klp-dev

10 years agoFix broken copy of kl/kcm/idc files to system image
Michael Wright [Thu, 5 Sep 2013 22:10:20 +0000 (15:10 -0700)]
Fix broken copy of kl/kcm/idc files to system image

Bug: 10633915
Change-Id: I244b85dc92d50bf8bdcfdf0fe32556eff8c5d279

10 years agoMerge "Fix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put" into...
Dianne Hackborn [Thu, 5 Sep 2013 22:21:46 +0000 (22:21 +0000)]
Merge "Fix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put" into klp-dev

10 years agoMerge "Fix issue #10491028: iabv2 test apps that contain subscription SKUs..." into...
Dianne Hackborn [Thu, 5 Sep 2013 22:20:54 +0000 (22:20 +0000)]
Merge "Fix issue #10491028: iabv2 test apps that contain subscription SKUs..." into klp-dev

10 years agoFix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put
Dianne Hackborn [Thu, 5 Sep 2013 20:21:24 +0000 (13:21 -0700)]
Fix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put

Locking of sSharedPrefs was bad -- it was using a per-context lock
instead of a static lock.

Change-Id: Ib7a929f9fd93f22cc817d32b53ac56523cdad75f

10 years agoMerge "Fix crash when dump() is called on ReceiverList" into klp-dev
Dianne Hackborn [Thu, 5 Sep 2013 22:18:57 +0000 (22:18 +0000)]
Merge "Fix crash when dump() is called on ReceiverList" into klp-dev

10 years agoFix issue #10491028: iabv2 test apps that contain subscription SKUs...
Dianne Hackborn [Thu, 5 Sep 2013 22:10:20 +0000 (15:10 -0700)]
Fix issue #10491028: iabv2 test apps that contain subscription SKUs...

...crash on launch

You got some values in my keys!

Change-Id: I2636c72843e0c0900ccdd9acba771c1b61e70b39

10 years agoMerge "Add argument to binder call to check key types" into klp-dev
Kenny Root [Thu, 5 Sep 2013 21:40:56 +0000 (21:40 +0000)]
Merge "Add argument to binder call to check key types" into klp-dev

10 years agoMerge "Fixing some minor RTL bugs in print dialog" into klp-dev
Svetoslav Ganov [Thu, 5 Sep 2013 21:37:26 +0000 (21:37 +0000)]
Merge "Fixing some minor RTL bugs in print dialog" into klp-dev

10 years agoTurn off verbose wakeup-alarm stats
Christopher Tate [Thu, 5 Sep 2013 21:31:52 +0000 (14:31 -0700)]
Turn off verbose wakeup-alarm stats

They have served their purpose.

Bug 10112313

Change-Id: Ia88c350c5b51bdd29f23f491b47e4188770b1ea0

10 years agoMerge "Filter roots based on supported MIME types." into klp-dev
Jeff Sharkey [Thu, 5 Sep 2013 21:19:39 +0000 (21:19 +0000)]
Merge "Filter roots based on supported MIME types." into klp-dev

10 years agoFix duplicate SSID entries in the WifiSettings UI
Vinit Deshapnde [Thu, 5 Sep 2013 21:19:38 +0000 (14:19 -0700)]
Fix duplicate SSID entries in the WifiSettings UI

The root cause is likely our 'no networks' problem; it caused people
to add new (and duplicate) entries to their list of networks; which
are haunting us now.

This change looks up the dupes, and discards them, even if they came
wifi supplicant.

Bug: 10633813
Change-Id: I656b6bf7240de6763bf84b5b406c50444af6dd48

10 years agoMerge "DroidSans -> NotoSans for {Devanagari,Tamil,Thai}" into klp-dev
Victoria Lease [Thu, 5 Sep 2013 21:15:00 +0000 (21:15 +0000)]
Merge "DroidSans -> NotoSans for {Devanagari,Tamil,Thai}" into klp-dev

10 years agoFilter roots based on supported MIME types.
Jeff Sharkey [Thu, 5 Sep 2013 20:55:35 +0000 (13:55 -0700)]
Filter roots based on supported MIME types.

Using flags to indicate supported types isn't very extensible, so
use newline-separated MIME types instead.

Bug: 10514613
Change-Id: I45641fc20b423b2a0bb2df7457c274f42aa6861a

10 years agoAdd a minimum timeout for double-tap in GestureDetector
Adam Powell [Thu, 5 Sep 2013 20:44:45 +0000 (13:44 -0700)]
Add a minimum timeout for double-tap in GestureDetector

Prevent noisy falsing. Minimum timeout is currently 40ms and can be
tuned for later. Consider un-hiding the ViewConfiguration query method
later.

Bug 10476944

Change-Id: Ib470735ec929b0b358fca4597e92dc81084e675f

10 years agoMerge "Fix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put" into...
Dianne Hackborn [Thu, 5 Sep 2013 20:38:55 +0000 (20:38 +0000)]
Merge "Fix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put" into klp-dev

10 years agoApply implicit parent dependency when adding to PreferenceGroup
Alan Viverette [Thu, 5 Sep 2013 20:32:40 +0000 (13:32 -0700)]
Apply implicit parent dependency when adding to PreferenceGroup

BUG: 10493706
Change-Id: Iba741d8dd4e72bc5aef5c033e42a9ba4fb0c523b

10 years agoAdd argument to binder call to check key types
Kenny Root [Thu, 5 Sep 2013 20:03:16 +0000 (13:03 -0700)]
Add argument to binder call to check key types

Before there was only one key type supported, so we didn't need to query
a key type. Now there is DSA, EC, and RSA, so there needs to be another
argument.

Bug: 10600582
Change-Id: I9fe9e46b9ec9cfb2f1246179b2c396216b2c1fdb

10 years agoFix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put
Dianne Hackborn [Thu, 5 Sep 2013 20:21:24 +0000 (13:21 -0700)]
Fix issue #10387684: ArrayIndexOutOfBoundsException in ArrayMap.put

Locking of sSharedPrefs was bad -- it was using a per-context lock
instead of a static lock.

Change-Id: Ib261a40619c43f7ea2e686057c0702fb5461d843

10 years agoDroidSans -> NotoSans for {Devanagari,Tamil,Thai}
Victoria Lease [Thu, 5 Sep 2013 20:13:58 +0000 (13:13 -0700)]
DroidSans -> NotoSans for {Devanagari,Tamil,Thai}

Bug: 7672029
Change-Id: I3b7278841ea1934b459f972d5acd99277e8f6db8

10 years agoMerge "Bug fixes in the print dialog" into klp-dev
Svetoslav [Thu, 5 Sep 2013 19:38:23 +0000 (19:38 +0000)]
Merge "Bug fixes in the print dialog" into klp-dev

10 years agoMerge "Add View#cancelPendingInputEvents API" into klp-dev
Adam Powell [Thu, 5 Sep 2013 19:37:50 +0000 (19:37 +0000)]
Merge "Add View#cancelPendingInputEvents API" into klp-dev

10 years agoDo not change NetworkInfo.DetailedState.
Wink Saville [Thu, 5 Sep 2013 19:02:25 +0000 (12:02 -0700)]
Do not change NetworkInfo.DetailedState.

I'd changed DetailedState to force ConnectivityService to treat
provisioning apn's specially. In particular so that they wouldn't
be identified they were fully connected until the provisioning
actually started. The problem is that DetailedState is a public enum
that has a CTS test and just changing the CTS to allow for the new
state (CONNECTED_TO_PROVISIONING_NETWORK) was inappropriate.

Instead I've added a new mIsConnectedToProvisioningNetwork variable
and used the DetailedState.SUSPENDED as the intermediate state.

Bug: 10620248
Change-Id: Id4a842398cad67455541ce629959351c27d83639

10 years agoam b50de495: am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into jb-mr2-dev
Deepanshu Gupta [Thu, 5 Sep 2013 19:00:58 +0000 (12:00 -0700)]
am b50de495: am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into jb-mr2-dev

* commit 'b50de4951aaea6d6f01432dc17b7c5de778a2e71':
  Fix text rendering

10 years agoam 97c88368: am c78d173b: am 68411471: Merge "Fix layout rendering for RTL locales...
Deepanshu Gupta [Thu, 5 Sep 2013 19:00:54 +0000 (12:00 -0700)]
am 97c88368: am c78d173b: am 68411471: Merge "Fix layout rendering for RTL locales" into jb-mr2-dev

* commit '97c88368e0036665507c8cd84c71d26953784c85':
  Fix layout rendering for RTL locales

10 years agoam dd4efc22: am 3a762d8b: Merge "Fix text rendering" into jb-mr2-dev
Deepanshu Gupta [Thu, 5 Sep 2013 18:58:59 +0000 (11:58 -0700)]
am dd4efc22: am 3a762d8b: Merge "Fix text rendering" into jb-mr2-dev

* commit 'dd4efc22c736973ecfa1b7b4af9e71f971dd48b3':
  Fix text rendering

10 years agoam c78d173b: am 68411471: Merge "Fix layout rendering for RTL locales" into jb-mr2-dev
Deepanshu Gupta [Thu, 5 Sep 2013 18:58:54 +0000 (11:58 -0700)]
am c78d173b: am 68411471: Merge "Fix layout rendering for RTL locales" into jb-mr2-dev

* commit 'c78d173b730dcfdf107e6ac2bc959d459fe3eedd':
  Fix layout rendering for RTL locales

10 years agoam 3a762d8b: Merge "Fix text rendering" into jb-mr2-dev
Deepanshu Gupta [Thu, 5 Sep 2013 18:52:48 +0000 (11:52 -0700)]
am 3a762d8b: Merge "Fix text rendering" into jb-mr2-dev

* commit '3a762d8bfbe6b2d4066bc5cc90301063c19976c4':
  Fix text rendering

10 years agoam 68411471: Merge "Fix layout rendering for RTL locales" into jb-mr2-dev
Deepanshu Gupta [Thu, 5 Sep 2013 18:52:42 +0000 (11:52 -0700)]
am 68411471: Merge "Fix layout rendering for RTL locales" into jb-mr2-dev

* commit '68411471083abd7a7713483b5cd40f394387b7b3':
  Fix layout rendering for RTL locales

10 years agoMerge "Fix text rendering" into jb-mr2-dev
Deepanshu Gupta [Thu, 5 Sep 2013 18:49:31 +0000 (18:49 +0000)]
Merge "Fix text rendering" into jb-mr2-dev

10 years agoMerge "Fix layout rendering for RTL locales" into jb-mr2-dev
Deepanshu Gupta [Thu, 5 Sep 2013 18:48:55 +0000 (18:48 +0000)]
Merge "Fix layout rendering for RTL locales" into jb-mr2-dev

10 years agoBug fixes in the print dialog
Svetoslav [Thu, 5 Sep 2013 18:27:45 +0000 (11:27 -0700)]
Bug fixes in the print dialog

1. Read/write async tasks of the persistence manger used by
   the FusedPrintersProvider could be run more that once, so
   create a new one every time.

2. The fake printer used to save to PDF should not be added
   to printer history.

3. Removed print preview leftover code from the print dialog.

4. Save to PDF was not working on the second consecutive attempt.

5. The fisrt time the orientation change was ignored - regression

Change-Id: I8960ef2cf92dfeeec22fa8751ba8475092b5b65c

10 years agoBinder: Log exceptions originating from the binder stub for oneway calls
Igor Murashkin [Fri, 16 Aug 2013 21:07:11 +0000 (14:07 -0700)]
Binder: Log exceptions originating from the binder stub for oneway calls

- Under a normal situation, if an exception happens in managed, the stack trace
  will be printed to logcat.
- Hitherto, the Binder#execTransact call silently caught exceptions and passed
  them to the remote side with Parcel#writeException
- Although this behavior might be acceptable when there is a remote side,
  for FLAG_ONEWAY calls the exception effectively disappeared.
- From the user point of view, it looked like code execution "halted" when an
  exception was thrown.

This tries to make the binder exception handling behavior more like normal,
by printing the exception to the log, to give a better indication of what
happened.

Change-Id: I1f37f0468f61e766a71db60d2fda2104936ab096

10 years agoFix text rendering
Deepanshu Gupta [Fri, 12 Jul 2013 18:38:05 +0000 (11:38 -0700)]
Fix text rendering

There are still some errors
1. Little vertical clippping for extra tall glyphs.
2. Breaking into scripts isn't perfect which results in incorrect layout
of text.

Change-Id: I54de3c05eca5e8affb1135c120eea24c3afe8a47

10 years agoMerge "Rename LinkInfo to LinkQualityInfo" into klp-dev
Vinit Deshapnde [Thu, 5 Sep 2013 17:50:19 +0000 (17:50 +0000)]
Merge "Rename LinkInfo to LinkQualityInfo" into klp-dev

10 years agoAdd more docs for WebView's setInitialScale and setLoadWithOverviewMode
Mikhail Naganov [Mon, 2 Sep 2013 09:57:04 +0000 (10:57 +0100)]
Add more docs for WebView's setInitialScale and setLoadWithOverviewMode

BUG=10588746

Change-Id: Ibbccd688de9841cc780b933f414a8435c79b51b3

10 years agoMerge "Change build version from KEY_LIME_PIE to KITKAT" into klp-dev
Chet Haase [Thu, 5 Sep 2013 17:07:30 +0000 (17:07 +0000)]
Merge "Change build version from KEY_LIME_PIE to KITKAT" into klp-dev

10 years agoMerge "Add keypress invalid to all AudioPackage mk files." into klp-dev
Justin Koh [Thu, 5 Sep 2013 17:06:14 +0000 (17:06 +0000)]
Merge "Add keypress invalid to all AudioPackage mk files." into klp-dev

10 years agoMerge "Hiding some unneeded APIs," into klp-dev
Svetoslav [Thu, 5 Sep 2013 17:01:39 +0000 (17:01 +0000)]
Merge "Hiding some unneeded APIs," into klp-dev

10 years agoMerge "Add #! to 'am' shell script" into klp-dev
Andy McFadden [Thu, 5 Sep 2013 17:00:05 +0000 (17:00 +0000)]
Merge "Add #! to 'am' shell script" into klp-dev

10 years agoHiding some unneeded APIs,
Svetoslav [Thu, 5 Sep 2013 16:38:02 +0000 (09:38 -0700)]
Hiding some unneeded APIs,

1. Hide the MediaSize and Resolution constructors that take
   package and resource Id.

2. Fix a bug and docs in creating portrait and landscape media
   size.

Change-Id: If59992e355391de6ad6d14d4f7b3be8c8b6cc0e0

10 years agoIncorporate new API council comments
Tom O'Neill [Thu, 5 Sep 2013 16:45:03 +0000 (09:45 -0700)]
Incorporate new API council comments

- Split getStatus() into onGetSummary() and onGetEnabled()

- Call them on app's UI thread

- Allow runtime exceptions to propagate up

- Make a couple of more methods final to prevent subclasses from playing
around with the intent

- Remove explicit timing requirement from javadoc

- Mention that this will be restricted to system-image apps (will be
enforced by the actual settings code)

- b/10461474

Change-Id: Id22dd7a707c05de396ae4c5810e839ca734714c0

10 years agoRemove unused APIs and rename others based on API review
Amith Yamasani [Thu, 5 Sep 2013 16:30:23 +0000 (09:30 -0700)]
Remove unused APIs and rename others based on API review

Restrictions challenge is only to be used by device admins.

Bug: 10461761
Change-Id: I3db1249e2ce99f386602de59ed930302bb0a97fb

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 5 Sep 2013 16:10:12 +0000 (09:10 -0700)]
Import translations. DO NOT MERGE

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