OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "temporarily enable wifi verbose logging in download manager test" into lmp-dev
Guang Zhu [Sun, 14 Sep 2014 22:35:29 +0000 (22:35 +0000)]
Merge "temporarily enable wifi verbose logging in download manager test" into lmp-dev

9 years agotemporarily enable wifi verbose logging in download manager test
Guang Zhu [Sun, 14 Sep 2014 22:30:29 +0000 (15:30 -0700)]
temporarily enable wifi verbose logging in download manager test

also temporarily compile against platfrom, not SDK, since we are
using private API

Bug: 17446070
Change-Id: I6da18aca2d5eaf305940514186ef2434e52f15b9

9 years agoMerge "Fix issue #16907799: Processes containing bound services..." into lmp-dev
Dianne Hackborn [Sun, 14 Sep 2014 22:02:35 +0000 (22:02 +0000)]
Merge "Fix issue #16907799: Processes containing bound services..." into lmp-dev

9 years agoMerge "Route volume commands whenever media stream is in use" into lmp-dev
RoboErik [Sun, 14 Sep 2014 21:45:01 +0000 (21:45 +0000)]
Merge "Route volume commands whenever media stream is in use" into lmp-dev

9 years agoMerge "Fix jank while unlocking and security is set" into lmp-dev
Jorim Jaggi [Sun, 14 Sep 2014 21:40:13 +0000 (21:40 +0000)]
Merge "Fix jank while unlocking and security is set" into lmp-dev

9 years agoFix issue #16907799: Processes containing bound services...
Dianne Hackborn [Sun, 14 Sep 2014 21:21:18 +0000 (14:21 -0700)]
Fix issue #16907799: Processes containing bound services...

...are killed over eagerly.

When the current foreground activity is moving to the background,
it was briefly going through the CACHED_ACTIVITY state before the
correct LAST_ACTIVITY state, allowing its bound service processes
to be killed (because they went in to the cached list).  To solve
this, as long as a process has stopping activities, it won't go
lower than LAST_ACTIVITY.

Also fixed a problem where we could put a process in CACHED_EMPTY
instead of CACHED_ACTIVITY_CLIENT.  There were a number of cases
in the binding flow and also the client process state transitions
where we would not correctly updateing the bound client activity
state.

And add some sanity code so that if a process hosting a
service is killed, and a client process of that service is in the
cached state, we kill the client process.  This avoids situations
where we can start thrashing around in the cached list because we
are restarting process for no reason -- since they will just
continue to be cached.

Finally, tune the process LRU list to allow twice as many cached
activity processes (from 8 to 16), so we can make better use of
the RAM we have available these days.

Change-Id: Ib0cdf78c321cbb035259fc9dd6ee27b5ba1f90c5

9 years agoMerge "set correct bounds in ActionBar based on visibility of ActionBarView" into...
Chet Haase [Sun, 14 Sep 2014 21:30:20 +0000 (21:30 +0000)]
Merge "set correct bounds in ActionBar based on visibility of ActionBarView" into lmp-dev

9 years agoRoute volume commands whenever media stream is in use
RoboErik [Sun, 14 Sep 2014 20:54:31 +0000 (13:54 -0700)]
Route volume commands whenever media stream is in use

Found a regression in volume handling. Previously we handled
volume commands as long as the media stream was active but we were only
handling them when there was an active session on L. This adds a check to
make sure we handle volume if anything is playing on the media stream.

bug:17498479
Change-Id: Iddd745c8a762cf7ebedb37f1b26fc934db01fba0

9 years agoset correct bounds in ActionBar based on visibility of ActionBarView
Chet Haase [Sat, 13 Sep 2014 01:03:55 +0000 (18:03 -0700)]
set correct bounds in ActionBar based on visibility of ActionBarView

ActionBarContainer was setting the bounds of its background assuming the
visibility of the ActionBarView. But that view becomes GONE when the
ActionBarContextView is visible, causing artifacts such as wrong shadows
when resized (as in custom configuration changes).

Issue #17280341 Quantum: drop shadow on CAB has wrong width after rotation on L, when configuration change is handled by the app

Change-Id: I07e57f00e27b41d5370cb9440b35734a8ec10f3a

9 years agoMerge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev
Alan Viverette [Sun, 14 Sep 2014 20:04:38 +0000 (20:04 +0000)]
Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev

9 years agoMerge "Correct test data size in keystore signing and verification tests." into lmp-dev
Shawn Willden [Sun, 14 Sep 2014 19:58:05 +0000 (19:58 +0000)]
Merge "Correct test data size in keystore signing and verification tests." into lmp-dev

9 years agoMerge "Saver: PowerManager call to set low power mode." into lmp-dev
John Spurlock [Sun, 14 Sep 2014 19:36:11 +0000 (19:36 +0000)]
Merge "Saver: PowerManager call to set low power mode." into lmp-dev

9 years agoMerge "Fix creation issue of stack trace dump directory" into lmp-dev
Ramanan Rajeswaran [Sun, 14 Sep 2014 19:20:35 +0000 (19:20 +0000)]
Merge "Fix creation issue of stack trace dump directory" into lmp-dev

9 years agoMerge "Fix crash in TranserPipe." into lmp-dev
Ramanan Rajeswaran [Sun, 14 Sep 2014 19:20:31 +0000 (19:20 +0000)]
Merge "Fix crash in TranserPipe." into lmp-dev

9 years agoMerge "make wifi cellular params configurable" into lmp-dev
vandwalle [Sun, 14 Sep 2014 19:17:05 +0000 (19:17 +0000)]
Merge "make wifi cellular params configurable" into lmp-dev

9 years agoMerge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev
Michael Wright [Sun, 14 Sep 2014 18:19:49 +0000 (18:19 +0000)]
Merge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev

9 years agoSaver: PowerManager call to set low power mode.
John Spurlock [Sun, 14 Sep 2014 15:10:22 +0000 (11:10 -0400)]
Saver: PowerManager call to set low power mode.

- Add an explicit power manager call to set the low power mode state,
  instead of trying manage everything around a single setting.
- When low-power mode is triggered by falling below the configured
  threshold, it does not update the setting.
- The "is-enabled" api returns setting || below configured trigger.
- Move the snooze management into the new api call.
- Callers (sysui + settings) updated to use the api instead of the
  setting.
- Handles the case where the level does an unpowered leap out of the
  low battery level. (Possible if powered in-between while the device
  is off)

Bug:17460535
Change-Id: Ic030504c9cad9868a7137abbe837b170da37852b

9 years agoMerge "Add null checks for quickly disappearing Displays" into lmp-dev
Craig Mautner [Sun, 14 Sep 2014 18:01:39 +0000 (18:01 +0000)]
Merge "Add null checks for quickly disappearing Displays" into lmp-dev

9 years agoMerge "Customized ripple animation for navigation bar" into lmp-dev
Dan Sandler [Sun, 14 Sep 2014 17:44:31 +0000 (17:44 +0000)]
Merge "Customized ripple animation for navigation bar" into lmp-dev

9 years agoCorrectly propagate SW_CAMERA_LENS_COVER_BIT
Michael Wright [Sun, 14 Sep 2014 02:41:20 +0000 (19:41 -0700)]
Correctly propagate SW_CAMERA_LENS_COVER_BIT

Bug: 16034563
Change-Id: I3402d42056cda47fddadd09f838b1082d93fb00d

9 years agoTIF: Turn debugging off
Jae Seo [Sun, 14 Sep 2014 17:30:05 +0000 (10:30 -0700)]
TIF: Turn debugging off

Bug: 17476383
Change-Id: I28ff54a635bf6468c231efe776dbc8e35460d542

9 years agoCorrect test data size in keystore signing and verification tests.
Shawn Willden [Thu, 11 Sep 2014 22:08:44 +0000 (16:08 -0600)]
Correct test data size in keystore signing and verification tests.

The test is sending too much data to be signed, which should actually
fail, and does on Volantis.  Apparently the other keymaster implementors
do something to pass it, because shamu and hammerhead pass, but the test
is wrong.

Change-Id: Ic616a551567d64f5d87d9607ceb08afa7be74f9d

9 years agoMerge "Handle null values in registerService" into lmp-dev
Christopher Lane [Sun, 14 Sep 2014 17:06:45 +0000 (17:06 +0000)]
Merge "Handle null values in registerService" into lmp-dev

9 years agoPipe TelephonyManager.getCallState through TelecommManager
Yorke Lee [Sat, 13 Sep 2014 00:58:48 +0000 (17:58 -0700)]
Pipe TelephonyManager.getCallState through TelecommManager

* Add TelecommManager.getCallState (hidden API)
* Make TelephonyManager.getCallState call through to
TelecommManager, to be consistent with
TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcasts for
overall call state. Telephony continues to manage call states for
individual subscriptions.

Bug: 17378767
Change-Id: Ia5e8b21df801ed3af4f6e14c110a72c92f077f88

9 years agoFix creation issue of stack trace dump directory
Jing Ji [Thu, 7 Aug 2014 18:44:05 +0000 (13:44 -0500)]
Fix creation issue of stack trace dump directory

Use the dirname instead of the filename to create the directory

Change-Id: I16e49303b2ff5e2592ed60eab766db32d02262fe

9 years agoFix crash in TranserPipe.
Xin Guan [Thu, 21 Aug 2014 18:05:34 +0000 (13:05 -0500)]
Fix crash in TranserPipe.

Sometimes the pipe has been closed when it's thread tries to access

E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: TransferPipe
E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.FileDescriptor android.os.ParcelFileDescriptor.getFileDescriptor()' on a null object reference
E AndroidRuntime:  at com.android.internal.os.TransferPipe.run(TransferPipe.java:184)
E AndroidRuntime:  at java.lang.Thread.run(Thread.java:818)

Change-Id: I0fcd4a3334b49972903f2cb0edb51323ba3f49e5

9 years agoFix jank while unlocking and security is set
Jorim Jaggi [Sat, 13 Sep 2014 01:57:32 +0000 (03:57 +0200)]
Fix jank while unlocking and security is set

- Delay showing the bouncer and playing the entrance animation for a
  couple of frames.
- Do not disable back button on the normal Keyguard. This makes the
  entrance animation nicer and fixes some jank due to the need to
  draw into both windows.
- Prevent setPadding(...) call when nothing changes. setPadding would
  invalidate the padding for the whole view hierarchy, which results
  in a slower measure() when setting the window to invisible.

Bug: 17419960
Change-Id: I4a239d4af40ad86875e4a0dd08473f19a5c9b961

9 years agoMerge "Minimize the number of default enabled IMEs part 2" into lmp-dev
Yohei Yukawa [Sun, 14 Sep 2014 07:48:26 +0000 (07:48 +0000)]
Merge "Minimize the number of default enabled IMEs part 2" into lmp-dev

9 years agoMerge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev
Winson Chung [Sun, 14 Sep 2014 07:12:37 +0000 (07:12 +0000)]
Merge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev

9 years agoMerge "Fixing issue with stack not being fully centered. (Bug 17015153)" into lmp-dev
Winson Chung [Sun, 14 Sep 2014 07:12:26 +0000 (07:12 +0000)]
Merge "Fixing issue with stack not being fully centered. (Bug 17015153)" into lmp-dev

9 years agoCustomized ripple animation for navigation bar
Christian Robertson [Sun, 14 Sep 2014 06:14:46 +0000 (02:14 -0400)]
Customized ripple animation for navigation bar

To implement the new gel-cap shaped ripple I resurrected the
onDraw and setPressed methods from the KitKat implementation.
The KitKat animation timings were adjusted to match the material
ripple, but the structure of the animators is the same as KitKat.

Since the new ripple is drawn directly to the canvas, the references
to the KitKat background image were removed.

The LogInterpolator is copied from the framework Ripple
to match the material animation curves.

Bug: 17112935
Change-Id: If6a3eb92de794b526338166bf8cb096eb9764cf6

9 years agoMinimize the number of default enabled IMEs part 2
Yohei Yukawa [Sat, 13 Sep 2014 13:03:37 +0000 (22:03 +0900)]
Minimize the number of default enabled IMEs part 2

Previously the system tried to enable at least one auxiliary IME
even when the system is not ready.  However, this doesn't make
much sense because the user should be able to set up their phone
without auxiliary IMEs. Also, IMEs enabled before the system
becomes ready are kept to be enabled after the system becomes
ready. Thus, we should minimize the number of enabled IMEs
until the system becomes ready.

BUG: 17347871
Change-Id: Ife93d909fb8a24471c425c903e2b7048826e17a3

9 years agoMerge "GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifier...
Qiwen Zhao [Sun, 14 Sep 2014 02:53:31 +0000 (02:53 +0000)]
Merge "GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""" into lmp-dev

9 years agoGMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""
Qiwen Zhao [Sun, 14 Sep 2014 02:53:04 +0000 (02:53 +0000)]
GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""

This reverts commit c4bc83b7b5f7911bf750544aa8a2211ae6d11fe2.

Change-Id: I484953c5c3b130b3359ef47aca890fa6903917a6

9 years agoReduce instructions required to obtain and recycle TypedArray
Alan Viverette [Sun, 14 Sep 2014 02:30:11 +0000 (19:30 -0700)]
Reduce instructions required to obtain and recycle TypedArray

Eliminates several field and method accesses by making the TypedArray
pool local to a single Resources object. Removes an unnecessary
synchronization.

ReadXmlAttrs averaged 0.069 ms/op before, 0.064 ms/op after.

BUG: 17484798
Change-Id: If790a5ba6596b47a04f117c8912974798a592052

9 years agoMerge "Fix issue with lifecycle of Activities launched from Lockscreen" into lmp-dev
Adam Lesinski [Sat, 13 Sep 2014 23:11:56 +0000 (23:11 +0000)]
Merge "Fix issue with lifecycle of Activities launched from Lockscreen" into lmp-dev

9 years agoMerge "Give a tablet a chance." into lmp-dev
Craig Mautner [Sat, 13 Sep 2014 22:45:26 +0000 (22:45 +0000)]
Merge "Give a tablet a chance." into lmp-dev

9 years agomake wifi cellular params configurable
vandwalle [Sat, 13 Sep 2014 19:53:26 +0000 (12:53 -0700)]
make wifi cellular params configurable

Change-Id: Ia2a4ac3e11f2b0c7412f33496a655c5d5297ea0c

9 years agoGive a tablet a chance.
Craig Mautner [Sat, 13 Sep 2014 18:17:23 +0000 (11:17 -0700)]
Give a tablet a chance.

500 msec is apparently not enough time to push the pixels around on
a Volantis (or Manta, or occasionally Deb). Increasing the timeout
eliminates turning the screen on before the surface is completely
drawn.

Optimizing the drawing path so that we can return the timeout to
500ms has been filed as b/17496306.

Fixes bug 16849724.

Change-Id: Ic0fca68bc41caa67dba973b5c40915756dc4730f

9 years agoAdd null checks for quickly disappearing Displays
Craig Mautner [Sat, 13 Sep 2014 19:09:31 +0000 (12:09 -0700)]
Add null checks for quickly disappearing Displays

If a display is removed right after it is added we will get null
when trying to retrieve it from the DisplayManager. Check for that
null before commiting to using that display.

Fixes bug 17478906.

Change-Id: I89ae8cc7387729d678b9b1ed5b1797a93cdde3f9

9 years agoMerge "Page content sometimes missing while scrolling." into lmp-dev
Svetoslav [Sat, 13 Sep 2014 18:45:51 +0000 (18:45 +0000)]
Merge "Page content sometimes missing while scrolling." into lmp-dev

9 years agoHandle null values in registerService
Christopher Lane [Sat, 13 Sep 2014 18:13:39 +0000 (11:13 -0700)]
Handle null values in registerService

Bug: 17491971
Change-Id: I0443a9accd86ab70510d16456a03912845718ca9

9 years agoMerge "Renaming Telecomm to Telecom." into lmp-dev
Tyler Gunn [Sat, 13 Sep 2014 17:32:47 +0000 (17:32 +0000)]
Merge "Renaming Telecomm to Telecom." into lmp-dev

9 years agoMerge changes Ife1c7cb0,I398ff797 into lmp-dev
Svet Ganov [Sat, 13 Sep 2014 17:13:31 +0000 (17:13 +0000)]
Merge changes Ife1c7cb0,I398ff797 into lmp-dev

* changes:
  Fixing controls allignment in print UI.
  Fix a crash in print spooler.

9 years agoMerge "Minimize the number of default enabled IMEs part 1" into lmp-dev
Yohei Yukawa [Sat, 13 Sep 2014 10:33:48 +0000 (10:33 +0000)]
Merge "Minimize the number of default enabled IMEs part 1" into lmp-dev

9 years agoRenaming Telecomm to Telecom.
Tyler Gunn [Sat, 13 Sep 2014 05:16:17 +0000 (22:16 -0700)]
Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638

9 years agoFixing controls allignment in print UI.
Svet Ganov [Sat, 13 Sep 2014 02:54:05 +0000 (19:54 -0700)]
Fixing controls allignment in print UI.

Making some allignment tweaks based on UX feedback.

bug:17489187

Change-Id: Ife1c7cb0f55eb0398bca4a5e015ace24437ff2a6

9 years agoFix issue with lifecycle of Activities launched from Lockscreen
Adam Lesinski [Sat, 13 Sep 2014 02:42:24 +0000 (19:42 -0700)]
Fix issue with lifecycle of Activities launched from Lockscreen

ActivityManager still thinks the device is going to sleep, so
any Activity started while the lockscreen is showing is immediately
stopped. When Keyguard calls ActivityManager.keyguardWaitingForActivityDraw(),
then we must make sure that the ActivityManager thinks we are not sleeping.

Bug:17459745
Change-Id: I5c45c88e3a72e1f08e1b32101d0d0b4675f7a5ff

9 years agoFix a crash in print spooler.
Svet Ganov [Sat, 13 Sep 2014 02:25:27 +0000 (19:25 -0700)]
Fix a crash in print spooler.

A recent bug fix exposed another one where we were not updating
the internal state of the remote print document after it finishes
updating. This resulted in a crash on every print.

bug:16966145

Change-Id: I398ff7976533241e3d4cb6cd27f69cdc25e67be9

9 years agoChange the property name to pass selinux.
Yuncheol Heo [Sat, 13 Sep 2014 02:21:46 +0000 (11:21 +0900)]
Change the property name to pass selinux.

- Added the prefix 'persist.sys.' to pass selinux and to make the
  properties persistent after reboot.
- Shortened the name to fit the length to 31.
- Got together the properties in the near place.

Bug: 17491732
Change-Id: I051f1bacc51ee372806077159020600ffeb30f48

9 years agoMerge "Update ambient shadow for TV." into lmp-dev
Tim Kilbourn [Sat, 13 Sep 2014 01:11:42 +0000 (01:11 +0000)]
Merge "Update ambient shadow for TV." into lmp-dev

9 years agoMerge "Work on issue #17477510: Time change notifications sent too often" into lmp-dev
Dianne Hackborn [Sat, 13 Sep 2014 00:56:56 +0000 (00:56 +0000)]
Merge "Work on issue #17477510: Time change notifications sent too often" into lmp-dev

9 years agoMerge "Add support for dozing after screen off." into lmp-dev
Jeff Brown [Sat, 13 Sep 2014 00:53:03 +0000 (00:53 +0000)]
Merge "Add support for dozing after screen off." into lmp-dev

9 years agoUpdate ambient shadow for TV.
Tim Kilbourn [Fri, 12 Sep 2014 18:35:21 +0000 (11:35 -0700)]
Update ambient shadow for TV.

Bug: 17462175
Change-Id: I2fb6e939fc428e95b944e87a3a82a3db6130c762

9 years agoMerge "Correctly initialize animator asynchronousity" into lmp-dev
Chris Craik [Sat, 13 Sep 2014 00:46:10 +0000 (00:46 +0000)]
Merge "Correctly initialize animator asynchronousity" into lmp-dev

9 years agoCorrectly initialize animator asynchronousity
Chris Craik [Sat, 13 Sep 2014 00:40:20 +0000 (17:40 -0700)]
Correctly initialize animator asynchronousity

bug:17483792
Change-Id: Icb6b6e6318d4c79ee94228806cb60b275424b9c9

9 years agoAdd support for dozing after screen off.
Jeff Brown [Fri, 12 Sep 2014 23:11:07 +0000 (16:11 -0700)]
Add support for dozing after screen off.

On some devices, we want the screen off transition to complete before
we start dozing.  Added a new config.xml attribute config_dozeAfterScreenOff
to configure this behavior.

Defer starting dreams until the display is ready.

Fixed some minor issues in the system UI doze service when setting the
display state.

Bug: 16187655
Change-Id: Ib1bc60de5457166f4b4880732db5df989dda67a4

9 years agoMerge "Provide a public API for View#computeFitSystemWindows" into lmp-dev
Adam Powell [Sat, 13 Sep 2014 00:22:28 +0000 (00:22 +0000)]
Merge "Provide a public API for View#computeFitSystemWindows" into lmp-dev

9 years agoMerge "SoundTrigger: fix KeyphraseRecognitionEvent parceling" into lmp-dev
Eric Laurent [Sat, 13 Sep 2014 00:21:47 +0000 (00:21 +0000)]
Merge "SoundTrigger: fix KeyphraseRecognitionEvent parceling" into lmp-dev

9 years agoam 41b12f29: am 02480cbf: am 1b12b1dc: Merge "docs: remove bad link in the quick...
Joe Fernandez [Sat, 13 Sep 2014 00:18:27 +0000 (00:18 +0000)]
am 41b12f29: am 02480cbf: am 1b12b1dc: Merge "docs: remove bad link in the quick view box for TV Recommendations #2" into klp-modular-docs

* commit '41b12f2932893ed251a68cb0fe657ee918318c77':
  docs: remove bad link in the quick view box for TV Recommendations #2

9 years agoWork on issue #17477510: Time change notifications sent too often
Dianne Hackborn [Sat, 13 Sep 2014 00:15:52 +0000 (17:15 -0700)]
Work on issue #17477510: Time change notifications sent too often

This gets rid of the spam from the battery history, by not creating
an event unless the wall clock time has changed by more than
+/- 500ms.

We'll do the remaining work in MR1.

Change-Id: I8d1cc41b5504261033d3b0ccdcf9e7cf70df9d04

9 years agoam 02480cbf: am 1b12b1dc: Merge "docs: remove bad link in the quick view box for...
Joe Fernandez [Sat, 13 Sep 2014 00:00:29 +0000 (00:00 +0000)]
am 02480cbf: am 1b12b1dc: Merge "docs: remove bad link in the quick view box for TV Recommendations #2" into klp-modular-docs

* commit '02480cbffabd1ca80441c9676db01b177468883a':
  docs: remove bad link in the quick view box for TV Recommendations #2

9 years agoAllow libcore to perform necessary actions upon net config changes.
Paul Jensen [Fri, 12 Sep 2014 14:47:39 +0000 (10:47 -0400)]
Allow libcore to perform necessary actions upon net config changes.

Delegate to libcore the responsibility of performing the necessary
actions upon a network configuration change, such as a DNS
configuration change.  In the L-release, these responsibilities
now include flushing the HTTP connection pools to prevent connections
on lingering networks getting pulled from the pool inadvertently to
satisfy requests that should be going over the new network.  All such
responsibilities can now be controlled and delegated by libcore's
new NetworkEventDispatcher, designed for this purpose.

bug:17314604
Change-Id: Ic796aea9d9a1f6ecb787fbdb38b3b7f5d991829b

9 years agoProvide a public API for View#computeFitSystemWindows
Adam Powell [Fri, 12 Sep 2014 21:42:25 +0000 (14:42 -0700)]
Provide a public API for View#computeFitSystemWindows

The current hidden API is necessary to perform correct inset behavior
for support libraries like appcompat. Provide a public method
consistent with the new WindowInsets APIs.

Bug 17411097

Change-Id: I71a63eea0238b94cae6b5c6f1721d5567560ba81

9 years agoMerge "Rename and repurpose feature MANAGED_PROFILES to MANAGED_USERS" into lmp-dev
Amith Yamasani [Fri, 12 Sep 2014 23:50:39 +0000 (23:50 +0000)]
Merge "Rename and repurpose feature MANAGED_PROFILES to MANAGED_USERS" into lmp-dev

9 years agoMerge "Apply VectorDrawable color filter at draw time" into lmp-dev
Alan Viverette [Fri, 12 Sep 2014 23:47:54 +0000 (23:47 +0000)]
Merge "Apply VectorDrawable color filter at draw time" into lmp-dev

9 years agoRename and repurpose feature MANAGED_PROFILES to MANAGED_USERS
Amith Yamasani [Fri, 12 Sep 2014 00:56:05 +0000 (17:56 -0700)]
Rename and repurpose feature MANAGED_PROFILES to MANAGED_USERS

Bug: 17392243
Change-Id: I5ff0e70eeeeba264c96eaa2a17a6bd3669576c96

9 years agoMerge "more AudioAttributes javadoc" into lmp-dev
Jean-Michel Trivi [Fri, 12 Sep 2014 23:45:22 +0000 (23:45 +0000)]
Merge "more AudioAttributes javadoc" into lmp-dev

9 years agoam 1b12b1dc: Merge "docs: remove bad link in the quick view box for TV Recommendation...
Joe Fernandez [Fri, 12 Sep 2014 23:42:04 +0000 (23:42 +0000)]
am 1b12b1dc: Merge "docs: remove bad link in the quick view box for TV Recommendations #2" into klp-modular-docs

* commit '1b12b1dc6f0203913ceb0a88dcf5ef1639fe6515':
  docs: remove bad link in the quick view box for TV Recommendations #2

9 years agoApply VectorDrawable color filter at draw time
Alan Viverette [Fri, 12 Sep 2014 23:37:44 +0000 (16:37 -0700)]
Apply VectorDrawable color filter at draw time

BUG: 17491152
Change-Id: Ia0ca0bd7cd00363ad5777d3e2e62fa1131a6d8a5

9 years agoMerge "various fixes:" into lmp-dev
vandwalle [Fri, 12 Sep 2014 23:34:28 +0000 (23:34 +0000)]
Merge "various fixes:" into lmp-dev

9 years agoMerge "docs: remove bad link in the quick view box for TV Recommendations #2" into...
Joe Fernandez [Fri, 12 Sep 2014 23:28:53 +0000 (23:28 +0000)]
Merge "docs: remove bad link in the quick view box for TV Recommendations #2" into klp-modular-docs

9 years agoMerge "Fix NPE in JobServiceContext" into lmp-dev
Matthew Williams [Fri, 12 Sep 2014 23:26:39 +0000 (23:26 +0000)]
Merge "Fix NPE in JobServiceContext" into lmp-dev

9 years agoFix NPE in JobServiceContext
Matthew Williams [Fri, 12 Sep 2014 21:40:18 +0000 (14:40 -0700)]
Fix NPE in JobServiceContext

BUG: 17485390
The VERB_BINDING timeout that is set to wait for onBind() to complete
wasn't being cleared when onBind() returns false, i.e. that the service wasn't
available to be bound to.
This led to an NPE when the stale timeout expired. Fix is to clear the timeout
when onBind fails.

Change-Id: I318ca5ce1f3e12b170f7f256608ea7e28f3f120a

9 years agoMerge "TIF: Add a system API to retrieve HDMI device information" into lmp-dev
Jae Seo [Fri, 12 Sep 2014 23:24:06 +0000 (23:24 +0000)]
Merge "TIF: Add a system API to retrieve HDMI device information" into lmp-dev

9 years agodocs: remove bad link in the quick view box for TV Recommendations #2
Joe Fernandez [Fri, 12 Sep 2014 23:24:01 +0000 (16:24 -0700)]
docs: remove bad link in the quick view box for TV Recommendations #2

Change-Id: I649d8d735bda2b0c657217bc86c1a29a2d7eddc2

9 years agoMerge "Made Transitions act only the views that they target." into lmp-dev
George Mount [Fri, 12 Sep 2014 23:19:15 +0000 (23:19 +0000)]
Merge "Made Transitions act only the views that they target." into lmp-dev

9 years agoTIF: Add a system API to retrieve HDMI device information
Jae Seo [Fri, 12 Sep 2014 23:09:04 +0000 (16:09 -0700)]
TIF: Add a system API to retrieve HDMI device information

Bug: 17487782
Change-Id: I53995735fa190c40819ff352a8b98765a6f7753f

9 years agoMade Transitions act only the views that they target.
George Mount [Wed, 10 Sep 2014 17:58:08 +0000 (10:58 -0700)]
Made Transitions act only the views that they target.

Bug 17465989
Bug 17452585

Change-Id: I2f921e98f68df3d549a370179c0a4488d56923ad

9 years agoMerge "Report button opacity for current state, fix button shadows" into lmp-dev
Alan Viverette [Fri, 12 Sep 2014 23:14:32 +0000 (23:14 +0000)]
Merge "Report button opacity for current state, fix button shadows" into lmp-dev

9 years agoReport button opacity for current state, fix button shadows
Alan Viverette [Fri, 12 Sep 2014 23:13:32 +0000 (16:13 -0700)]
Report button opacity for current state, fix button shadows

BUG: 17433604
Change-Id: I25e0bd9b96e09ed2a4d85476b60f459e7cc33002

9 years agoMerge "Rework the task affiliate chain validation" into lmp-dev
Craig Mautner [Fri, 12 Sep 2014 23:08:33 +0000 (23:08 +0000)]
Merge "Rework the task affiliate chain validation" into lmp-dev

9 years agoMerge "Make status bar indicators reflect the network actually in use." into lmp-dev
Robert Greenwalt [Fri, 12 Sep 2014 23:04:49 +0000 (23:04 +0000)]
Merge "Make status bar indicators reflect the network actually in use." into lmp-dev

9 years agoMerge "Update Inet state when NetworkMonitor re-evaluates a network." into lmp-dev
Robert Greenwalt [Fri, 12 Sep 2014 23:03:36 +0000 (23:03 +0000)]
Merge "Update Inet state when NetworkMonitor re-evaluates a network." into lmp-dev

9 years agoMerge "Track enable/disable of transport components" into lmp-dev
Christopher Tate [Fri, 12 Sep 2014 23:03:29 +0000 (23:03 +0000)]
Merge "Track enable/disable of transport components" into lmp-dev

9 years agoMerge "Update the shadow strength" into lmp-dev
ztenghui [Fri, 12 Sep 2014 23:02:31 +0000 (23:02 +0000)]
Merge "Update the shadow strength" into lmp-dev

9 years agoUpdate Inet state when NetworkMonitor re-evaluates a network.
Paul Jensen [Fri, 5 Sep 2014 16:06:44 +0000 (12:06 -0400)]
Update Inet state when NetworkMonitor re-evaluates a network.

Previously the Inet state (the little exclamation mark beside the WiFi
and Cellular bars) only transitioned from bad to good once.  With this
change it can transition back to bad (and later to good again) if a network
re-evaluation is triggered, say by ConnectivityManager.reportBadNetwork.
Also, avoid triggering re-evaluation in two unwanted cases.

bug:16214361
Change-Id: I7856724249ffcbb0945276dcf45019876231fdaf

9 years agoRework the task affiliate chain validation
Craig Mautner [Fri, 12 Sep 2014 19:45:05 +0000 (12:45 -0700)]
Rework the task affiliate chain validation

The old chain was problematic. It started verification at the end of
the chain and then went no further. Then it went back down the
chain to the beginning with no checks. It also removed entries and
tried to add them back past the end of the ArrayList during boot
which caused the system process to shut down.

This method uses the ordering imposed by taskIds which is the same
order that the tasks were created. It fixes up and notes dropped
links and then reconstructs the list correctly.

Fixes bug 17467284.

Change-Id: I746ec2cdcc7ac6403278cfefc7a6db9b5549d226

9 years agoMerge "Fix boot loop when deriving device name." into lmp-dev
Jeff Sharkey [Fri, 12 Sep 2014 23:00:46 +0000 (23:00 +0000)]
Merge "Fix boot loop when deriving device name." into lmp-dev

9 years agoMerge "Better handling of unvalidated networks." into lmp-dev
Robert Greenwalt [Fri, 12 Sep 2014 23:00:36 +0000 (23:00 +0000)]
Merge "Better handling of unvalidated networks." into lmp-dev

9 years agoMerge "Add xxxhdpi assets for DocumentsUI." into lmp-dev
Jeff Sharkey [Fri, 12 Sep 2014 23:00:04 +0000 (23:00 +0000)]
Merge "Add xxxhdpi assets for DocumentsUI." into lmp-dev

9 years agomore AudioAttributes javadoc
Jean-Michel Trivi [Fri, 12 Sep 2014 17:07:05 +0000 (10:07 -0700)]
more AudioAttributes javadoc

Expand the AudioAttributes and associated Builder javadoc.

Bug 17059703

Change-Id: I81b8d48a3b5b3c203f02da3e37228e5ef7b5451d

9 years agoFix boot loop when deriving device name.
Jeff Sharkey [Fri, 12 Sep 2014 22:56:30 +0000 (15:56 -0700)]
Fix boot loop when deriving device name.

Bug: 17490408
Change-Id: If1cc25a341eed4e41a7bf170bab077203fa19d15

9 years agoMerge "Allow Path Animations to support overshooting." into lmp-dev
George Mount [Fri, 12 Sep 2014 22:48:27 +0000 (22:48 +0000)]
Merge "Allow Path Animations to support overshooting." into lmp-dev

9 years agoAllow Path Animations to support overshooting.
George Mount [Fri, 12 Sep 2014 20:21:32 +0000 (13:21 -0700)]
Allow Path Animations to support overshooting.

Bug 17458698

Change-Id: I7a29fc8932a28121d7db8b3bf695d91a55ef059b

9 years agoSoundTrigger: fix KeyphraseRecognitionEvent parceling
Eric Laurent [Fri, 12 Sep 2014 22:45:47 +0000 (15:45 -0700)]
SoundTrigger: fix KeyphraseRecognitionEvent parceling

Always include the Audioformat in the parcel if not
null.

Bug: 17489186.
Change-Id: I8bea031942b55078e5637959d5bf70961d134733

9 years agoMerge "Fix issue #17479850: AppOpsManager.checkPackage() allows..." into lmp-dev
Dianne Hackborn [Fri, 12 Sep 2014 22:45:00 +0000 (22:45 +0000)]
Merge "Fix issue #17479850: AppOpsManager.checkPackage() allows..." into lmp-dev

9 years agoMerge "Add contentDescription for material action mode close button" into lmp-dev
Adam Powell [Fri, 12 Sep 2014 22:43:46 +0000 (22:43 +0000)]
Merge "Add contentDescription for material action mode close button" into lmp-dev

9 years agoFix issue #17479850: AppOpsManager.checkPackage() allows...
Dianne Hackborn [Fri, 12 Sep 2014 22:38:33 +0000 (15:38 -0700)]
Fix issue #17479850: AppOpsManager.checkPackage() allows...

...root or shell to claim any package name

Re-arrange so checkPackage() doesn't go through the path where
the package name will be forced for root and shell uids.

Change-Id: I450cd6ac8148afd75b526724afdf46ab63de4c43

9 years agoMerge "Handle user privacy properly during network initiated requests. Bug: 16131208...
Tsuwei Chen [Fri, 12 Sep 2014 22:36:52 +0000 (22:36 +0000)]
Merge "Handle user privacy properly during network initiated requests. Bug: 16131208" into lmp-dev