OSDN Git Service

android-x86/frameworks-base.git
10 years agoSimplistic fix for initialization race
Stan Chesnutt [Fri, 6 Sep 2013 20:57:16 +0000 (13:57 -0700)]
Simplistic fix for initialization race

The monkey run described in the bug report hits this server at a
vulnerable point, and the RuntimeException causes a subsequent NPE.

Note that I'm making this fixup CL "blind", as monkey running on
my platform (mantaray) doesn't show this specific failure.

http://b/9438025

Change-Id: I8e16cf5cfc21dcf3061f31b0741525881bbf9724

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 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 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 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 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 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 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

10 years agoRemove opaque-on-interaction from nav bar.
John Spurlock [Thu, 5 Sep 2013 14:42:03 +0000 (10:42 -0400)]
Remove opaque-on-interaction from nav bar.

And decouple it from the status bar opaque-on-interaction logic.

It's still important to track nav bar interaction for hideybar
suspension purposes.

Also fix a sysui NPE that can occur when restarting SystemUI
(vs the shell).

Bug:10606136
Change-Id: I66a15e02cff352e26b25aebc1c42fb58c042effa

10 years agoChange build version from KEY_LIME_PIE to KITKAT
Chet Haase [Thu, 5 Sep 2013 14:44:18 +0000 (07:44 -0700)]
Change build version from KEY_LIME_PIE to KITKAT

Issue #10631619 Change build version to KitKat

Change-Id: I6ad13f6169ad74204078d36929479998b498ad8b

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 5 Sep 2013 15:29:59 +0000 (08:29 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Force the nav bar visible when an IME window is visible." into klp-dev
John Spurlock [Thu, 5 Sep 2013 14:16:54 +0000 (14:16 +0000)]
Merge "Force the nav bar visible when an IME window is visible." into klp-dev

10 years agoForce the nav bar visible when an IME window is visible.
John Spurlock [Thu, 5 Sep 2013 13:37:56 +0000 (09:37 -0400)]
Force the nav bar visible when an IME window is visible.

Bug:9499956
Change-Id: I1ed895c6283476440b6c47e1764b6b0fe2aa949a

10 years agoRemove obsolete indicator icons.
John Spurlock [Thu, 5 Sep 2013 11:30:51 +0000 (07:30 -0400)]
Remove obsolete indicator icons.

Bug:10607423
Change-Id: I8d4e1037edf2394a1065c9b0a85a1f3e3c21e70e

10 years agoMerge "Add YUV element convenience function." into klp-dev
Tim Murray [Thu, 5 Sep 2013 07:36:42 +0000 (07:36 +0000)]
Merge "Add YUV element convenience function." into klp-dev

10 years agoMerge "Print API updated." into klp-dev
Svetoslav [Thu, 5 Sep 2013 05:36:51 +0000 (05:36 +0000)]
Merge "Print API updated." into klp-dev

10 years agoam 76fcf6c7: am 07c9bcc3: am 4ef51c3c: Merge "Add a few more samples to browser....
Dirk Dougherty [Thu, 5 Sep 2013 05:29:02 +0000 (22:29 -0700)]
am 76fcf6c7: am 07c9bcc3: am 4ef51c3c: Merge "Add a few more samples to browser." into jb-mr2-docs

* commit '76fcf6c73e7dda99ec80e6da616bee26c2a088e6':
  Add a few more samples to browser.

10 years agoam 07c9bcc3: am 4ef51c3c: Merge "Add a few more samples to browser." into jb-mr2...
Dirk Dougherty [Thu, 5 Sep 2013 05:26:54 +0000 (22:26 -0700)]
am 07c9bcc3: am 4ef51c3c: Merge "Add a few more samples to browser." into jb-mr2-docs

* commit '07c9bcc3a60a8860b65aa43badd8ab1f1858522b':
  Add a few more samples to browser.

10 years agoam 4ef51c3c: Merge "Add a few more samples to browser." into jb-mr2-docs
Dirk Dougherty [Thu, 5 Sep 2013 05:23:48 +0000 (22:23 -0700)]
am 4ef51c3c: Merge "Add a few more samples to browser." into jb-mr2-docs

* commit '4ef51c3c4298cbd7980029b6b1cad2f6696f7bb5':
  Add a few more samples to browser.

10 years agoMerge "Add a few more samples to browser." into jb-mr2-docs
Dirk Dougherty [Thu, 5 Sep 2013 05:19:41 +0000 (05:19 +0000)]
Merge "Add a few more samples to browser." into jb-mr2-docs

10 years agoMerge "Addressing API councing suggestions for com.android.printservice" into klp-dev
Svetoslav Ganov [Thu, 5 Sep 2013 05:09:56 +0000 (05:09 +0000)]
Merge "Addressing API councing suggestions for com.android.printservice" into klp-dev

10 years agoAdd a few more samples to browser.
Dirk Dougherty [Tue, 3 Sep 2013 22:32:24 +0000 (15:32 -0700)]
Add a few more samples to browser.

Change-Id: Iac7acc22a8dd71950b32e2c35c82f53abc34168a

10 years agoFix crash when dump() is called on ReceiverList
Evans Thomas [Wed, 4 Sep 2013 02:04:05 +0000 (11:04 +0900)]
Fix crash when dump() is called on ReceiverList

Bug: 9750621
Change-Id: Ie203bc008747cd2def5839e64b27a2f98dbc6950

10 years agoPrint API updated.
Svetoslav [Tue, 3 Sep 2013 21:01:43 +0000 (14:01 -0700)]
Print API updated.

1. Removed the updatePrinters API on PrinterDiscoverySession.
   Now re-adding a printer updates it.

2. Added getTrackedPrinters() API to allow a print service to
   figure out which printers' state should be tracked by the
   service.

3. Removed the APIs on PrintDocumentInfo that describe the
   layout of the content as they are not needed. For example,
   if the print attributes passed in layout require landscape
   mode, the the app should just create a PDF page with the
   wider side up and draw its content in portrait. The printer
   will then rotate the page.

Change-Id: Idd72c6e9c129e8b17eef1236573a99773f8ff0a2

10 years agoAdd a function to replace all the link addresses.
Lorenzo Colitti [Fri, 23 Aug 2013 11:54:49 +0000 (20:54 +0900)]
Add a function to replace all the link addresses.

Bug: 10232006
Change-Id: I689ce4735999dac2ab5e1fae09d80b1f734292a1

10 years agoMerge "Asset drop, icons for common MIME types." into klp-dev
Jeff Sharkey [Thu, 5 Sep 2013 03:04:18 +0000 (03:04 +0000)]
Merge "Asset drop, icons for common MIME types." into klp-dev

10 years agoMerge "Fix document management permission enforcement." into klp-dev
Jeff Sharkey [Thu, 5 Sep 2013 03:04:09 +0000 (03:04 +0000)]
Merge "Fix document management permission enforcement." into klp-dev

10 years agoMerge "Revert "Re-@hide activity-level FLAG_IMMERSIVE and helpers."" into klp-dev
John Spurlock [Thu, 5 Sep 2013 02:44:28 +0000 (02:44 +0000)]
Merge "Revert "Re-@hide activity-level FLAG_IMMERSIVE and helpers."" into klp-dev

10 years agoRevert "Re-@hide activity-level FLAG_IMMERSIVE and helpers."
John Spurlock [Thu, 5 Sep 2013 02:39:46 +0000 (02:39 +0000)]
Revert "Re-@hide activity-level FLAG_IMMERSIVE and helpers."

This reverts commit 5e777f668526104e7dd97d3972d35eb7b9eef5a2.

Change-Id: I6dc00f376cbbe34dafde3470d8e06c9123f81d8d

10 years agoMerge "KLP API Review: PrintDocumentAdapter documentation" into klp-dev
Svetoslav Ganov [Thu, 5 Sep 2013 02:27:32 +0000 (02:27 +0000)]
Merge "KLP API Review: PrintDocumentAdapter documentation" into klp-dev

10 years agoMerge "SystemUI demo mode." into klp-dev
John Spurlock [Thu, 5 Sep 2013 02:19:18 +0000 (02:19 +0000)]
Merge "SystemUI demo mode." into klp-dev

10 years agoMerge "Remove signal/wifi activity indicator icon overlays." into klp-dev
John Spurlock [Thu, 5 Sep 2013 02:18:30 +0000 (02:18 +0000)]
Merge "Remove signal/wifi activity indicator icon overlays." into klp-dev

10 years agoMerge "Re-@hide activity-level FLAG_IMMERSIVE and helpers." into klp-dev
John Spurlock [Thu, 5 Sep 2013 02:09:28 +0000 (02:09 +0000)]
Merge "Re-@hide activity-level FLAG_IMMERSIVE and helpers." into klp-dev

10 years agoMerge "SystemUI asset update." into klp-dev
John Spurlock [Thu, 5 Sep 2013 02:02:52 +0000 (02:02 +0000)]
Merge "SystemUI asset update." into klp-dev

10 years agoSystemUI asset update.
John Spurlock [Thu, 5 Sep 2013 01:52:37 +0000 (21:52 -0400)]
SystemUI asset update.

Plus a few framework resources used as status icons.

Bug:10502089
Change-Id: I66d3bcbb408a8e008cbb383cb3a1a55f97d3d64c

10 years agoAsset drop, icons for common MIME types.
Jeff Sharkey [Thu, 5 Sep 2013 01:03:18 +0000 (18:03 -0700)]
Asset drop, icons for common MIME types.

Bring in latest assets from UX. Map common MIME types to specific
icons.

Bug: 10510022
Change-Id: I01ea8749ca5515a04efcbc15eb0c8cbb43e5e7ad

10 years agoFix document management permission enforcement.
Jeff Sharkey [Wed, 4 Sep 2013 21:30:31 +0000 (14:30 -0700)]
Fix document management permission enforcement.

Allow both explicit holders of the MANAGE_DOCUMENTS permission and
those holding Uri grants to perform management tasks.

Extend grants for newly created documents when caller doesn't have
permission.  Revoke grants when deleting documents.

Test now writes actual content into picked file.  Workaround updated
flags for Drive app.

Bug: 10623211
Change-Id: Ia8e90b33e0fac8294b2cacb96d083c43fdf75aab

10 years agoMerge "Fix CameraService error flag when running HAL1 with API2." into klp-dev
Ruben Brunk [Thu, 5 Sep 2013 01:23:40 +0000 (01:23 +0000)]
Merge "Fix CameraService error flag when running HAL1 with API2." into klp-dev

10 years agoMerge "Fix issue #10422349: Limit/change the battery history data in batterystats...
Dianne Hackborn [Thu, 5 Sep 2013 01:21:32 +0000 (01:21 +0000)]
Merge "Fix issue #10422349: Limit/change the battery history data in batterystats" into klp-dev

10 years agoam 323af8b4: am aa5b0f8b: am ce1e3798: Add provisioning apn timeout.
Wink Saville [Thu, 5 Sep 2013 01:17:15 +0000 (18:17 -0700)]
am 323af8b4: am aa5b0f8b: am ce1e3798: Add provisioning apn timeout.

* commit '323af8b49df3535977b5aa7f5b31c429d8a50f10':
  Add provisioning apn timeout.

10 years agoam aa5b0f8b: am ce1e3798: Add provisioning apn timeout.
Wink Saville [Thu, 5 Sep 2013 01:14:07 +0000 (18:14 -0700)]
am aa5b0f8b: am ce1e3798: Add provisioning apn timeout.

* commit 'aa5b0f8bdadcfa1ddb041e09b815ea4b5986e901':
  Add provisioning apn timeout.

10 years agoam ce1e3798: Add provisioning apn timeout.
Wink Saville [Thu, 5 Sep 2013 01:11:07 +0000 (18:11 -0700)]
am ce1e3798: Add provisioning apn timeout.

* commit 'ce1e37981caec29df2671a6e2909f00da7f24a00':
  Add provisioning apn timeout.

10 years agoMerge "Move the hotword code to KeyguardHostView" into klp-dev
Sandeep Siddhartha [Thu, 5 Sep 2013 01:08:23 +0000 (01:08 +0000)]
Merge "Move the hotword code to KeyguardHostView" into klp-dev

10 years agoFix issue #10422349: Limit/change the battery history data in batterystats
Dianne Hackborn [Thu, 5 Sep 2013 01:03:40 +0000 (18:03 -0700)]
Fix issue #10422349: Limit/change the battery history data in batterystats

Don't include history in real checkins; have a new compact option
for bug reports.

Change-Id: I077f9218b365154f6bae9cc685c2c6b378e0283a

10 years agoAdd View#cancelPendingInputEvents API
Adam Powell [Fri, 19 Jul 2013 02:42:41 +0000 (19:42 -0700)]
Add View#cancelPendingInputEvents API

This API allows an application to cancel deferred high-level input
events already in flight. It forms one tool of several to help apps
debounce input events and prevent things like multiple startActivity
calls, FragmentTransactions, etc. from executing when only one was
desired since it's otherwise not desirable for things like click
events to fire synchronously.

Change-Id: I60b12cd5350898065f0019d616e24d779eb8cff9