234105 Commits

Author SHA1 Message Date
Jason Monk
84ce06132f Merge "Fix QS battery details not updating" into nyc-dev 2016-02-24 14:17:07 +00:00
Alan Viverette
5b90e82827 Use correct index when obtaining unresolved attribute value
Change-Id: I03e12157f74901e3188fec6663ae22cfaa849176
2016-02-24 09:06:47 -05:00
Lenka Trochtova
515a6c7030 Merge "Throw UnsupportedOperationException when creating ephemeral user on a system without split system user." into nyc-dev 2016-02-24 13:50:17 +00:00
Geoff Mendal
e68b90c7d3 Import translations. DO NOT MERGE
Change-Id: I71f7d4c86befd1e8aecfe397792b63c1cf74aa29
Auto-generated-cl: translation import
2016-02-24 08:25:31 -05:00
Gustav Sennton
55ea20d9e2 Merge "Call webview updating logic with the system UID when setup done." into nyc-dev 2016-02-24 12:56:10 +00:00
Lenka Trochtova
cfdc99ef5e Merge "Prevent ephemeral user from being re-entered after stop." into nyc-dev 2016-02-24 12:34:58 +00:00
Michal Karpinski
07d9bb821b Merge "Removing lock contention in SecurityLogMonitor" into nyc-dev 2016-02-24 12:12:26 +00:00
Michal Karpinski
a0ea967d11 Removing lock contention in SecurityLogMonitor
After being interrupted the monitor thread tried to acquire
a lock that is held by interrupting thread, resulting in timeouting
on join().

Bug: 27061904
Change-Id: Ifbd578d5f5a266083b207fedd8ebb6d26ab08c31
2016-02-24 12:04:17 +00:00
Diego Perez
f19e782233 Merge "Fix FontFamily nAddFontWeightStyle in nyc" into nyc-dev 2016-02-24 11:50:23 +00:00
Tony Mak
8882ce5c2d Merge "Should call clearCallingIdentity before accessing getProfileParent" into nyc-dev 2016-02-24 11:36:41 +00:00
Donghyun Cho
1ea5683217 MediaSession: Add a way to get a calling package
Introduced a new method, MediaSession#getCallingPackage(), which returns
the name of the package that sent the last media button, transport
control, or command from controllers and the system.

Bug: 25208121
Change-Id: I90bc1fe3e5e432f6c95b4adfbef6ea6cea9244ff
2016-02-24 20:30:47 +09:00
Tony Mak
134364556e Should call clearCallingIdentity before accessing getProfileParent
Bug: 27308833
Change-Id: Ib33fcc0f30dada5f307f45c7c85dce5fb5e4a064
2016-02-24 11:08:38 +00:00
Gustav Sennton
275d13c2c6 Call webview updating logic with the system UID when setup done.
After performing the webview setup we check whether we changed webview
implementation during the setup and, if so, we rerun the updating-logic.
This logic needs special permissions such as changing settings
(Settings.Global) which the shared relro process doesn't have,
therefore, when the shared relro process notifies us that the setup is
done we need to switch to using the system uid when running the
update-logic.

Bug: 27262336
Change-Id: I68646884e31ba55c860ff98c3f30a520beb0ef95
2016-02-24 10:58:09 +00:00
Lenka Trochtova
1ddda4793c Prevent ephemeral user from being re-entered after stop.
Once the ephemeral user stops, the user's deletion is scheduled.
It takes a while before the user actually disappears and it is not
desirable for the user to be re-entered in the meantime.
Mark the user as disabled on stop and check this flag
in the activity manager to prevent the user from being switched
to again. Also hide the user from user-switching UI.

BUG: 26795729
BUG: 26780152

Change-Id: I83a61674958954b5a210114b88ffa5ae55922c1f
2016-02-24 11:55:58 +01:00
Rubin Xu
61ea6d0bbf Merge "Clarify javadoc for SecurityLog" into nyc-dev 2016-02-24 10:31:36 +00:00
Tomasz Mikolajewski
d49095d1e4 Fix error formatting for copy/move/delete failures.
This caused major failures in the job operations, including
failing tests.

Change-Id: I697f1481df39a156f7ebfde08b31af6b23380f17
2016-02-24 19:23:54 +09:00
Tomasz Mikolajewski
1bf6ed9fb8 Merge "Wire removeDocument() to Jobs." into nyc-dev 2016-02-24 08:42:16 +00:00
Yohei Yukawa
fc843713bc Mechanical refactoring in InputMethodUtilsTest.
This is a mechanical refactoring in InputMethodUtilsTest that changes
nothing.

Bug: 27129703
Change-Id: I21d3c5cc4cc3018fc844c18362035ebdc656dec1
2016-02-24 00:34:33 -08:00
Donghyun Cho
f9f240ab7d MediaSession: Update javadoc of prepare-related methods
Bug:25841735, Bug:25153060, Bug:25153353
Change-Id: I95cd2b7381e3d8abe5a5c79dbd8655a02f8d40c3
2016-02-24 16:19:47 +09:00
Lorenzo Colitti
1142b2654a resolve merge conflicts of 51e4acb29d to nyc-dev
Also add the appropriate changes to api/test-current.txt, which
is not present on mm-wireless-dev from which this change came.

Change-Id: Ic4df6d0f89add73b7e5252ef662de07a4e8fce31
2016-02-24 15:19:15 +09:00
Pierre Imai
51e4acb29d Merge "Add Connectivity Metrics Logger service" into mm-wireless-dev 2016-02-24 04:49:24 +00:00
Selim Cinek
6831e8ea76 Merge "Adapted the lockscreen style" into nyc-dev 2016-02-24 03:59:46 +00:00
Seigo Nonaka
2f229ca27b Show selection handles at the correct position for view transformation
The selection handles are implemented based on PopupWindow hence it is
necessary to calculate the transformed location from the TextView's
local coordinates.

This CL only addresses the selection handle locations. Many
functionalities (e.g. selection handle moving direction, handle angle)
doesn't work on transformed view since many components are calculated
on the TextView's local coordinates.

Bug: 24902578
Change-Id: Iaa5fd2812969d097e3bf3219a818ffbc67aaef54
2016-02-24 12:56:36 +09:00
Tomasz Mikolajewski
db87543d82 Wire removeDocument() to Jobs.
Bug: 27303034
Change-Id: I6388e2b70b523670210cd8285800b4c187c8f8b8
2016-02-24 12:32:57 +09:00
Jeff Sharkey
1082306709 Merge "Update accessibility to be encryption-aware." into nyc-dev 2016-02-24 03:17:11 +00:00
Jeff Sharkey
e88e266547 Update accessibility to be encryption-aware.
Look for both EA and non-EA accessibility services, but when the user
is locked only bind to EA services.  Once the user is unlocked, we
take another pass and bind to any non-EA services.

We only consider disabling accessibility once the user is unlocked,
since there could be non-EA services waiting in the wings.

Bug: 25860579
Change-Id: I97bd019661457c3577d629ba12290d02f026011a
2016-02-23 20:15:15 -07:00
mariagpuyol
2d2908020f Grant permissions for EmergencyInfo app
Bug:27142320
Change-Id: Ib2d824db40d052630e2d4a4a128e832e0546b91b
2016-02-23 18:10:41 -08:00
Dongwon Kang
b4caa028c2 Merge "TIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER" into nyc-dev 2016-02-24 02:09:03 +00:00
Dongwon Kang
a60bc111e5 TIF: Add COLUMN_SEASON_TITLE and COLUMN_(SEASON|EPISODE)_DISPLAY_NUMBER
Bug: 21778419
Change-Id: I1684e2f1c274306706736061e3f41c9840e563c4
2016-02-23 18:03:55 -08:00
Selim Cinek
f1015dbe97 Adapted the lockscreen style
It's that time of the release again.

Bug: 24866646
Change-Id: Iebfae2f2cc6b5a21b7b98df359de2247b2bc8632
2016-02-23 17:56:22 -08:00
Zhijun He
8e694e3b49 ImageReader: skip callback when image reader is being closed
The application could acquire images in onImageAvailable callback when
the ImageReader is being closed. We need some protection here to avoid
application crash.

Change-Id: Ie5be8450048c0cfd78e5a7e27befe4de425d79f3
2016-02-23 17:54:30 -08:00
Dianne Hackborn
99fbf926d9 Fix issue #27289462: Alarm clock not working on NRC49C
Don't really want the system to crash.

Change-Id: I4b8ebca00a4e6a7d67717baf7267165de9e8afb3
2016-02-23 17:54:30 -08:00
Zhijun He
c7a1b095a8 Merge "ImageReader: override the flexible YUV compatible formats" into nyc-dev 2016-02-24 01:45:30 +00:00
Clara Bayarri
aa83d163aa Merge "Make FingerprintManager#hasEnrolledFingerprints per-user" into nyc-dev 2016-02-24 01:31:02 +00:00
Shishir Agrawal
5210393891 Add subscription specific TelephonyManager calls.
SubId specific version of the following functions are being added.
  - hasCarrierPrivileges
  - iccCloseLogicalChannel
  - iccExchangeSimIO
  - iccOpenLogicalChannel
  - iccTransmitApduBasicChannel
  - iccTransmitApduLogicalChannel
  - sendEnvelopeWithStatus
  - setOperatorBrandOverride
  - setPreferredNetworkTypeToGlobal

Bug: 26772894

Change-Id: I8c9e6d9bfe73f530e6f91c86211103fdfb1520bf
2016-02-23 17:06:09 -08:00
Dianne Hackborn
1085ff6ee5 Work towards issue #26390161: Throttle syncs/jobs when system is low on RAM
First, we need to make the job scheduler prioritize jobs for
foreground apps over background apps (so we will degrade well
when we are limiting the number of concurrent jobs).

So now the job scheduler keeps track of the process state of
each uid, and uses that to bump up the priority of jobs
associated with foreground uids.  Added constants for priorities
since we have different places specifying priorities.

Also cleaned up a bit of the reporting of "wrapped" jobs from
the sync manager -- there is a new tag argument that can be supplied,
to have the name and tag used in various places be based on that
instead of the useless internal class name.

Change-Id: I8781750ddfac1472a98e1873fc38c014425db3d6
2016-02-23 17:04:58 -08:00
Jae Seo
dee3cfe897 Enable to set canRecord and tunerCount statically
Bug: 27276122
Change-Id: I61d07cfdbe13e4484ccaf5cdcf0796f08c78e2a8
2016-02-23 16:52:16 -08:00
Fyodor Kupolov
598255ae02 Merge "Disable switching users until user 0 is unlocked" into nyc-dev 2016-02-24 00:51:11 +00:00
Clara Bayarri
33fd3cf2d9 Make FingerprintManager#hasEnrolledFingerprints per-user
Needed by Settings to determine if the work profile has fingerprints

Bug: 27263452
Change-Id: Ic54f59461b44a525284f6a1ab3d17627c652f842
2016-02-23 16:49:58 -08:00
Jean-Michel Trivi
33fd8169cd Audio record notification: report client/device configuration
Report client and device recording configuration during updates.
Support querying the AudioFormat in AudioRecordConfiguration.

Bug 22876530

Change-Id: I90b44db9bc3fda479452fc63221f8082f5b6a741
2016-02-23 16:40:03 -08:00
Jorim Jaggi
ffd049027f Fix wrong measurement in DecorView
Bug: 27215338
Change-Id: I512df9b23788daf485b020a2199a55a7c6ab6311
2016-02-24 00:31:23 +00:00
Adam Powell
5c2f839971 Un-hide string set persistence methods in Preference
6 years is enough time for API approval.

Bug 27324328

Change-Id: I5d5af0fc291250cd9ea5b50cd5031378475eacec
2016-02-23 16:28:07 -08:00
Jae Seo
eefb17ac61 Merge "TIF: Unhide URI util methods" into nyc-dev 2016-02-23 23:39:10 +00:00
Tyler Gunn
e40cc28452 Merge "Add new ConnectionEvent API (hide) to send a notification to Telecom" into nyc-dev 2016-02-23 23:38:59 +00:00
Chris Craik
388e43f419 Merge "Fix drawColor/drawPaint bounds" into nyc-dev 2016-02-23 23:33:53 +00:00
Adam Powell
e01f5957fb Protect FragmentManager against View.NO_ID container ids
Not all code paths for FragmentManager were checking that the
container view had a valid view id. As we can't correctly restore a
fragment with a container without one, throw a more descriptive
exception earlier.

Bug 27290033

Change-Id: I86e41d2f9b5197e058a7ce154c682cbcc2f9c6eb
2016-02-23 15:25:42 -08:00
Jae Seo
87079f1fd8 TIF: Unhide URI util methods
Bug: 27314735
Change-Id: Ib2aeb451a435bb959efb1cba359c335b051f88e5
2016-02-23 15:22:33 -08:00
Shishir Agrawal
658d3c8b3a DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager.
All MSIM specific calls should not use a suffix/prefix.

Bug: 26772894
Change-Id: I49488dfc41bb7996a1a44447968ec11132e4dac7
2016-02-23 15:18:23 -08:00
Fyodor Kupolov
a3eccfb842 Merge "Copy shared accounts after the user is unlocked" into nyc-dev 2016-02-23 23:05:39 +00:00
Shishir Agrawal
fcbc1645b5 Merge "DO NOT MERGE: Add subscription specific TelephonyManager calls." into mm-wireless-dev
am: 29c490bcd3  -s ours

* commit '29c490bcd31cda210e1730649ba4fef02d74c69d':
  DO NOT MERGE: Add subscription specific TelephonyManager calls.
2016-02-23 23:04:25 +00:00