OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 30729765: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Mon, 15 Sep 2014 02:59:34 +0000 (02:59 +0000)]
am 30729765: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

* commit '30729765f6ccce8a1e649a71cde2040246b86e8b':
  Import translations. DO NOT MERGE

9 years agoam f07d95d6: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Mon, 15 Sep 2014 02:59:30 +0000 (02:59 +0000)]
am f07d95d6: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-dev

* commit 'f07d95d663b0313818820108243bbab04596d825':
  Import translations. DO NOT MERGE

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Mon, 15 Sep 2014 02:44:59 +0000 (02:44 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Mon, 15 Sep 2014 02:44:56 +0000 (02:44 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoam d0d188e5: Merge "Remove unnecessary warning." into lmp-dev
Jungshik Jang [Mon, 15 Sep 2014 02:38:00 +0000 (02:38 +0000)]
am d0d188e5: Merge "Remove unnecessary warning." into lmp-dev

* commit 'd0d188e5b4991aef62c99553d59ddcb3428021bb':
  Remove unnecessary warning.

9 years agoam 3c7954e6: NavigationBarView: Fix NPE in Drawable.setVisible()
Dan Sandler [Mon, 15 Sep 2014 02:37:56 +0000 (02:37 +0000)]
am 3c7954e6: NavigationBarView: Fix NPE in Drawable.setVisible()

* commit '3c7954e6d6045c377a72b4d10f72602c84845b77':
  NavigationBarView: Fix NPE in Drawable.setVisible()

9 years agoMerge "Remove unnecessary warning." into lmp-dev
Jungshik Jang [Mon, 15 Sep 2014 02:23:06 +0000 (02:23 +0000)]
Merge "Remove unnecessary warning." into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 02:17:12 +0000 (19:17 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 15 Sep 2014 02:12:57 +0000 (19:12 -0700)]
Import translations. DO NOT MERGE

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

9 years agoNavigationBarView: Fix NPE in Drawable.setVisible()
Dan Sandler [Mon, 15 Sep 2014 01:24:15 +0000 (21:24 -0400)]
NavigationBarView: Fix NPE in Drawable.setVisible()

Bug: 17495735
Change-Id: I9d5ed5a324ae5c08ea0c225104c41b44462aff22

9 years agoam a203fbc8: Merge "Allow creating EAP_TLS network without specifying Phase2.None...
Prem Kumar [Mon, 15 Sep 2014 01:01:16 +0000 (01:01 +0000)]
am a203fbc8: Merge "Allow creating EAP_TLS network without specifying Phase2.None" into lmp-dev

* commit 'a203fbc87ae41547afb9dbdd06dd41221ed75c26':
  Allow creating EAP_TLS network without specifying Phase2.None

9 years agoRemove unnecessary warning.
Jungshik Jang [Fri, 12 Sep 2014 09:49:08 +0000 (18:49 +0900)]
Remove unnecessary warning.

Bug: 17501260

Change-Id: I5e7edd6d1fc179c00306d745adc99bebdcb65316

9 years agoMerge "Allow creating EAP_TLS network without specifying Phase2.None" into lmp-dev
Prem Kumar [Mon, 15 Sep 2014 00:51:12 +0000 (00:51 +0000)]
Merge "Allow creating EAP_TLS network without specifying Phase2.None" into lmp-dev

9 years agoam 7631b257: Merge "A little more work on issue ##16907799." into lmp-dev
Dianne Hackborn [Mon, 15 Sep 2014 00:37:47 +0000 (00:37 +0000)]
am 7631b257: Merge "A little more work on issue ##16907799." into lmp-dev

* commit '7631b257772e622b446b9c35112fe9ff0a596b17':
  A little more work on issue ##16907799.

9 years agoMerge "A little more work on issue ##16907799." into lmp-dev
Dianne Hackborn [Mon, 15 Sep 2014 00:26:59 +0000 (00:26 +0000)]
Merge "A little more work on issue ##16907799." into lmp-dev

9 years agoA little more work on issue ##16907799.
Dianne Hackborn [Mon, 15 Sep 2014 00:23:54 +0000 (17:23 -0700)]
A little more work on issue ##16907799.

I got distracted in the middle of it, and forget to finish
up with the test to not kill processes if they aren't using
an auto create binding.

Change-Id: Ieecfe97fa3208e50cb91ba94be2a8659d128b0de

9 years agoam 6ef642ca: Merge "Clean up view drawable tinting methods, fix default modes" into...
Alan Viverette [Sun, 14 Sep 2014 23:44:34 +0000 (23:44 +0000)]
am 6ef642ca: Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev

* commit '6ef642ca26e777c13c9a48665ed29e37e599736b':
  Clean up view drawable tinting methods, fix default modes

9 years agoMerge "Clean up view drawable tinting methods, fix default modes" into lmp-dev
Alan Viverette [Sun, 14 Sep 2014 23:36:05 +0000 (23:36 +0000)]
Merge "Clean up view drawable tinting methods, fix default modes" into lmp-dev

9 years agoam 1aa39ebf: Merge "Simplify progress bar paths" into lmp-dev
Alan Viverette [Sun, 14 Sep 2014 23:05:35 +0000 (23:05 +0000)]
am 1aa39ebf: Merge "Simplify progress bar paths" into lmp-dev

* commit '1aa39ebf6739dffcd454417fcacd17868157111e':
  Simplify progress bar paths

9 years agoam 86a3adca: Merge "Magic null-background filling for PhoneWindows" into lmp-dev
Adam Powell [Sun, 14 Sep 2014 23:05:31 +0000 (23:05 +0000)]
am 86a3adca: Merge "Magic null-background filling for PhoneWindows" into lmp-dev

* commit '86a3adcaf33128377c9125c92b65458a0500e023':
  Magic null-background filling for PhoneWindows

9 years agoMerge "Simplify progress bar paths" into lmp-dev
Alan Viverette [Sun, 14 Sep 2014 22:51:42 +0000 (22:51 +0000)]
Merge "Simplify progress bar paths" into lmp-dev

9 years agoMerge "Magic null-background filling for PhoneWindows" into lmp-dev
Adam Powell [Sun, 14 Sep 2014 22:51:28 +0000 (22:51 +0000)]
Merge "Magic null-background filling for PhoneWindows" into lmp-dev

9 years agoam 344a51ed: Merge "temporarily enable wifi verbose logging in download manager test...
Guang Zhu [Sun, 14 Sep 2014 22:49:52 +0000 (22:49 +0000)]
am 344a51ed: Merge "temporarily enable wifi verbose logging in download manager test" into lmp-dev

* commit '344a51ed5adec1c76b74cabe4c76e2a4766d90d3':
  temporarily enable wifi verbose logging in download manager test

9 years agoClean up view drawable tinting methods, fix default modes
Alan Viverette [Sun, 14 Sep 2014 22:48:50 +0000 (15:48 -0700)]
Clean up view drawable tinting methods, fix default modes

Calling setTint now only modifies the tint. It won't force a mode change.

BUG: 17494736
Change-Id: I91392634869ed23981d8e61a403bb2be42aa7a07

9 years agoMagic null-background filling for PhoneWindows
Adam Powell [Thu, 11 Sep 2014 22:09:36 +0000 (15:09 -0700)]
Magic null-background filling for PhoneWindows

In the past it's been a recommended approach to avoiding overdraw for
apps to set their window background to null at runtime if their
content view fully covers their window surface. The problem with this
is the IME.

The IME can force a resize of the window at unexpected times and
unless an app has been configured to fit system windows and manually
cover the padded area that the IME window covers, the asynchronous
nature of the IME-show process can leave surface buffer garbage
visible to the user. In previous platform versions this wasn't an
issue since pre-renderthread we would always animate a crossfade from
the closed to open state. This animation was always a bit of a hack
since it could break the contract of requestLayout/invalidate on the
view hierarchy - it could result in a draw happening into the saved
"before" state of the crossfade before a pending layout.

Now that this has been cleaned up the buffer garbage is sometimes
visible.

To prevent this, PhoneWindow now detects the state of a null window
background and draws solid rects into the area not covered by a
window's content. Which color is determined by the window context's
theme, though this is not a public API available to apps.

Bug 17006497

Change-Id: I714439a1608c4ae135f3d9d49bb165330d9fbe9f

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 agoam 601e63e8: Merge "Fix issue #16907799: Processes containing bound services..."...
Dianne Hackborn [Sun, 14 Sep 2014 22:21:28 +0000 (22:21 +0000)]
am 601e63e8: Merge "Fix issue #16907799: Processes containing bound services..." into lmp-dev

* commit '601e63e8b421db8e388cd0077e3dbad0cf144a0e':
  Fix issue #16907799: Processes containing bound services...

9 years agoSimplify progress bar paths
Alan Viverette [Sun, 14 Sep 2014 22:10:54 +0000 (15:10 -0700)]
Simplify progress bar paths

BUG: 17366831
Change-Id: I7efa215d399e4bf47b41949d313fba4487f068a0

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 agoam 4be289e8: Merge "Route volume commands whenever media stream is in use" into lmp-dev
RoboErik [Sun, 14 Sep 2014 21:57:21 +0000 (21:57 +0000)]
am 4be289e8: Merge "Route volume commands whenever media stream is in use" into lmp-dev

* commit '4be289e84aba1fc5227fa518075fb8f2c60181ba':
  Route volume commands whenever media stream is in use

9 years agoam 7dbbaf7e: Merge "Fix jank while unlocking and security is set" into lmp-dev
Jorim Jaggi [Sun, 14 Sep 2014 21:57:17 +0000 (21:57 +0000)]
am 7dbbaf7e: Merge "Fix jank while unlocking and security is set" into lmp-dev

* commit '7dbbaf7edb12a92aa119dc23fa705a3fb405668d':
  Fix jank while unlocking and security is set

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 agoam f9f4d316: Merge "set correct bounds in ActionBar based on visibility of ActionBarV...
Chet Haase [Sun, 14 Sep 2014 21:39:25 +0000 (21:39 +0000)]
am f9f4d316: Merge "set correct bounds in ActionBar based on visibility of ActionBarView" into lmp-dev

* commit 'f9f4d3161ed7be2365ba4f2b16d1c6571e725eb0':
  set correct bounds in ActionBar based on visibility of ActionBarView

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 agoam 84670eef: Merge "Reduce instructions required to obtain and recycle TypedArray...
Alan Viverette [Sun, 14 Sep 2014 21:04:59 +0000 (21:04 +0000)]
am 84670eef: Merge "Reduce instructions required to obtain and recycle TypedArray" into lmp-dev

* commit '84670eef1f2d685efc98644914d2bb191d0e665c':
  Reduce instructions required to obtain and recycle TypedArray

9 years agoam eaabd9ac: Merge "Correct test data size in keystore signing and verification tests...
Shawn Willden [Sun, 14 Sep 2014 21:04:55 +0000 (21:04 +0000)]
am eaabd9ac: Merge "Correct test data size in keystore signing and verification tests." into lmp-dev

* commit 'eaabd9ac2b3409d8eb6b6c49d2be6c89c70999f8':
  Correct test data size in keystore signing and verification tests.

9 years agoam 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev
John Spurlock [Sun, 14 Sep 2014 21:04:50 +0000 (21:04 +0000)]
am 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev

* commit '1ddb7a6b406f23c3b549aa6a771cec61c1778f3e':
  Saver: PowerManager call to set low power mode.

9 years agoam 90756e97: Merge "Fix creation issue of stack trace dump directory" into lmp-dev
Ramanan Rajeswaran [Sun, 14 Sep 2014 21:04:30 +0000 (21:04 +0000)]
am 90756e97: Merge "Fix creation issue of stack trace dump directory" into lmp-dev

* commit '90756e972a152a70ab1a2f3bcfd9532ece1f2056':
  Fix creation issue of stack trace dump directory

9 years agoam 2e9ca0aa: Merge "Fix crash in TranserPipe." into lmp-dev
Ramanan Rajeswaran [Sun, 14 Sep 2014 21:04:27 +0000 (21:04 +0000)]
am 2e9ca0aa: Merge "Fix crash in TranserPipe." into lmp-dev

* commit '2e9ca0aa3de6f8e6e6691125497248dd6940c5f1':
  Fix crash in TranserPipe.

9 years agoam 35967d04: Merge "make wifi cellular params configurable" into lmp-dev
vandwalle [Sun, 14 Sep 2014 21:04:23 +0000 (21:04 +0000)]
am 35967d04: Merge "make wifi cellular params configurable" into lmp-dev

* commit '35967d0432b587dd78774ccea993f497f8b9eeb6':
  make wifi cellular params configurable

9 years agoam ab567cd1: Merge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev
Michael Wright [Sun, 14 Sep 2014 21:04:18 +0000 (21:04 +0000)]
am ab567cd1: Merge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev

* commit 'ab567cd1431678b9882897e90e83a3ebbf656588':
  Correctly propagate SW_CAMERA_LENS_COVER_BIT

9 years agoam 11cb403d: Merge "Add null checks for quickly disappearing Displays" into lmp-dev
Craig Mautner [Sun, 14 Sep 2014 21:04:09 +0000 (21:04 +0000)]
am 11cb403d: Merge "Add null checks for quickly disappearing Displays" into lmp-dev

* commit '11cb403dd066e4de527e3c6079b3def6d3bc82bd':
  Add null checks for quickly disappearing Displays

9 years agoam 34c08655: Merge "Customized ripple animation for navigation bar" into lmp-dev
Dan Sandler [Sun, 14 Sep 2014 21:04:05 +0000 (21:04 +0000)]
am 34c08655: Merge "Customized ripple animation for navigation bar" into lmp-dev

* commit '34c08655610018a0625fb6583df0e19a9c7f63dd':
  Customized ripple animation for navigation bar

9 years agoam c07446f2: TIF: Turn debugging off
Jae Seo [Sun, 14 Sep 2014 21:04:02 +0000 (21:04 +0000)]
am c07446f2: TIF: Turn debugging off

* commit 'c07446f288e0dbf7f88b3254918817529910e6a0':
  TIF: Turn debugging off

9 years agoam 1fdb5100: Merge "Handle null values in registerService" into lmp-dev
Christopher Lane [Sun, 14 Sep 2014 21:03:57 +0000 (21:03 +0000)]
am 1fdb5100: Merge "Handle null values in registerService" into lmp-dev

* commit '1fdb5100feab055ca9e52ee766d4477a188e78a3':
  Handle null values in registerService

9 years agoresolved conflicts for merge of f3804c3c to lmp-sprout-dev
Yorke Lee [Sun, 14 Sep 2014 20:58:43 +0000 (13:58 -0700)]
resolved conflicts for merge of f3804c3c to lmp-sprout-dev

Conflicts:
telephony/java/android/telephony/TelephonyManager.java

Change-Id: Ibdd0b6c2c9901ec46196ac9460a0908dfb739ad4

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 agoam a22e2ab6: Merge "Minimize the number of default enabled IMEs part 2" into lmp-dev
Yohei Yukawa [Sun, 14 Sep 2014 08:56:50 +0000 (08:56 +0000)]
am a22e2ab6: Merge "Minimize the number of default enabled IMEs part 2" into lmp-dev

* commit 'a22e2ab64c1629e8d8a60ce5e2ccc034714f1365':
  Minimize the number of default enabled IMEs part 2

9 years agoam a2e66053: Merge "Adding null check for invalid recents task list. (Bug 17476926...
Winson Chung [Sun, 14 Sep 2014 08:56:46 +0000 (08:56 +0000)]
am a2e66053: Merge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev

* commit 'a2e66053456b4728997eff047515487ef20d87ec':
  Adding null check for invalid recents task list. (Bug 17476926)

9 years agoam 0973117b: Merge "Fixing issue with stack not being fully centered. (Bug 17015153...
Winson Chung [Sun, 14 Sep 2014 08:56:43 +0000 (08:56 +0000)]
am 0973117b: Merge "Fixing issue with stack not being fully centered. (Bug 17015153)" into lmp-dev

* commit '0973117bd59659ddd4151d332fd61e64ca5b1b2f':
  Fixing issue with stack not being fully centered. (Bug 17015153)

9 years agoam 7ca4682e: Merge "GMSCore and Finsky are fixed. Revert "Revert "Set up final resour...
Qiwen Zhao [Sun, 14 Sep 2014 08:56:34 +0000 (08:56 +0000)]
am 7ca4682e: Merge "GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""" into lmp-dev

* commit '7ca4682e2d4b256b62edca558a6f3a2494d0dcd4':
  GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""

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 agoam 93f13b6a: Merge "Fix issue with lifecycle of Activities launched from Lockscreen...
Adam Lesinski [Sat, 13 Sep 2014 23:24:58 +0000 (23:24 +0000)]
am 93f13b6a: Merge "Fix issue with lifecycle of Activities launched from Lockscreen" into lmp-dev

* commit '93f13b6af86c55d4a489d26580be938ab1fe366d':
  Fix issue with lifecycle of Activities launched from Lockscreen

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 agoam 1ba4bb3c: Merge "Give a tablet a chance." into lmp-dev
Craig Mautner [Sat, 13 Sep 2014 22:54:03 +0000 (22:54 +0000)]
am 1ba4bb3c: Merge "Give a tablet a chance." into lmp-dev

* commit '1ba4bb3cace6feadf7ededfa6c7b90e6ff851380':
  Give a tablet a chance.

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 agoam c2281007: Merge "Page content sometimes missing while scrolling." into lmp-dev
Svetoslav [Sat, 13 Sep 2014 20:13:12 +0000 (20:13 +0000)]
am c2281007: Merge "Page content sometimes missing while scrolling." into lmp-dev

* commit 'c2281007f190ab197b23484fd087c30955ffdd6b':
  Page content sometimes missing while scrolling.

9 years agoresolved conflicts for merge of 66c16547 to lmp-sprout-dev
Tyler Gunn [Sat, 13 Sep 2014 20:07:59 +0000 (13:07 -0700)]
resolved conflicts for merge of 66c16547 to lmp-sprout-dev
Also fixed issue in TelephonyManager.

Change-Id: I4dde45e638c2bcf32f8f929d34d0083966f6761f

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 agoAllow creating EAP_TLS network without specifying Phase2.None
Vinit Deshpande [Sat, 13 Sep 2014 18:10:07 +0000 (11:10 -0700)]
Allow creating EAP_TLS network without specifying Phase2.None

Phase2 isn't required for EAP_TLS networks, and it is possible
for a developer to miss it. We are requiring it for internal
book keeping - so this change just sets Phase2 to 'None' when
EAP_TLS is set on the configuration.

Bug: 17043082
Change-Id: I5a8e0a3a236d0dfd1295584de55d5b9a1b76b483

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 agoam 16238096: Merge changes Ife1c7cb0,I398ff797 into lmp-dev
Svet Ganov [Sat, 13 Sep 2014 17:24:02 +0000 (17:24 +0000)]
am 16238096: Merge changes Ife1c7cb0,I398ff797 into lmp-dev

* commit '16238096409899271f40e4404646412a384b1512':
  Fixing controls allignment in print UI.
  Fix a crash in print spooler.

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 agoam acc0ce3e: Merge "Minimize the number of default enabled IMEs part 1" into lmp-dev
Yohei Yukawa [Sat, 13 Sep 2014 10:47:59 +0000 (10:47 +0000)]
am acc0ce3e: Merge "Minimize the number of default enabled IMEs part 1" into lmp-dev

* commit 'acc0ce3e5adff3a6a14b58500567e8155d96cca8':
  Minimize the number of default enabled IMEs part 1

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 agoam 11ea0e35: Change the property name to pass selinux.
Yuncheol Heo [Sat, 13 Sep 2014 03:41:29 +0000 (03:41 +0000)]
am 11ea0e35: Change the property name to pass selinux.

* commit '11ea0e350b0026a6a39ec300bd98cb1e414c743e':
  Change the property name to pass selinux.