150980 Commits

Author SHA1 Message Date
Amith Yamasani
dda003ffa8 Clean up apks installed for a removed user
When a user is removed, enumerate through all installed packages
to see if any of them are not installed for any user. Delete the
package if no user has it "installed".

Added a pm option to install an apk for a specific user.

Fixed a crash in UserManagerService when executing the above
cleanup - dying users generate a null UserInfo.

Bug: 15426024
Change-Id: I571decde1ae1c257d0da6db153b896aad6d6bcb4
2014-08-29 10:28:38 -07:00
Selim Cinek
1cf8906231 Not enforcing a timeout anymore for talkback users
When displaying the volume warning for talkback users
no timeout is enforced anymore.

Bug: 17145793
Change-Id: I87c3baa6caf835bceda284cd7d89ca59fdc190f5
2014-08-29 19:21:44 +02:00
Nancy Chen
030d48364c am 70475de3: Merge "Hide AIDL for RemoteServiceCallback in telecomm" into lmp-dev
* commit '70475de32f0c323082610eb177d0f45b1697c3ee':
  Hide AIDL for RemoteServiceCallback in telecomm
2014-08-29 17:21:42 +00:00
John Reck
eb50b8578d am 09a0c7c8: Merge "Free prefetched layers on TRIM_MEMORY" into lmp-dev
* commit '09a0c7c8d511b8600d2a062d96c0e816a2aee761':
  Free prefetched layers on TRIM_MEMORY
2014-08-29 17:15:58 +00:00
Svetoslav
5e843ee6ac am 37f72488: Merge "Fix the global gesture to enable accessibility." into lmp-dev
* commit '37f72488ecb7a978ccaa77f0b74956a399a755fc':
  Fix the global gesture to enable accessibility.
2014-08-29 17:15:49 +00:00
Lorenzo Colitti
b4497fdc90 am 8a44b09d: Merge "Really remove NetworkBoundURLFactory." into lmp-dev
* commit '8a44b09de35285f6f02430442a2a62a11563e366':
  Really remove NetworkBoundURLFactory.
2014-08-29 17:15:44 +00:00
Selim Cinek
64bdd35340 am 702d4abb: Merge "Increasing the delay for the volume warning dialog with talkback" into lmp-dev
* commit '702d4abba6e2b00c34529ddc757018b6b8e17fe1':
  Increasing the delay for the volume warning dialog with talkback
2014-08-29 17:15:39 +00:00
Jorim Jaggi
9acdc4a37c am 4c1f1f87: Merge "Revert "Content description for padlock icon depending on state"" into lmp-dev
* commit '4c1f1f87943c3694df9fb541939c1a08decf070b':
  Revert "Content description for padlock icon depending on state"
2014-08-29 17:15:34 +00:00
Nancy Chen
551056ec0f Merge "Hide AIDL for RemoteServiceCallback in telecomm" into lmp-dev 2014-08-29 17:14:54 +00:00
John Reck
4450c18e15 Merge "Free prefetched layers on TRIM_MEMORY" into lmp-dev 2014-08-29 17:09:50 +00:00
Svetoslav
074d27dd5d Merge "Fix the global gesture to enable accessibility." into lmp-dev 2014-08-29 17:09:49 +00:00
John Reck
dff9957cc2 Free prefetched layers on TRIM_MEMORY
Bug: 17208461

Change-Id: I831c10d29d5920274b90e11a67d6cd106972a058
2014-08-29 09:59:43 -07:00
Lorenzo Colitti
e37679b27d Merge "Really remove NetworkBoundURLFactory." into lmp-dev 2014-08-29 16:54:20 +00:00
Jorim Jaggi
c6d25c9b89 am 5224a3f2: Merge "Only dismiss Keyguard with space when screen is on" into lmp-dev
* commit '5224a3f29ac75dc0c9493bc45fa593dde8872b8d':
  Only dismiss Keyguard with space when screen is on
2014-08-29 16:47:53 +00:00
Jorim Jaggi
7a79b33039 am 35d00b45: Update paddings for more card to match notification layouts
* commit '35d00b452b8417d920f855b914559695a3a73d79':
  Update paddings for more card to match notification layouts
2014-08-29 16:47:48 +00:00
Selim Cinek
e73a0a0195 Merge "Increasing the delay for the volume warning dialog with talkback" into lmp-dev 2014-08-29 16:44:23 +00:00
Jorim Jaggi
497e699553 Merge "Revert "Content description for padlock icon depending on state"" into lmp-dev 2014-08-29 16:42:59 +00:00
Jorim Jaggi
b5428e16cd Revert "Content description for padlock icon depending on state"
This reverts commit 1518196a94ed006b2b45e5dc527a23721ec1147a.

It turned out that just "Unlock" is a better label there, as
announcing the state might be confusing.

Bug: 17255298
Change-Id: I13f3b3db68f3f96afcd4db33baf07e7e213aa12c
2014-08-29 18:42:32 +02:00
Jorim Jaggi
2cf8b71e14 Merge "Only dismiss Keyguard with space when screen is on" into lmp-dev 2014-08-29 16:42:01 +00:00
Jorim Jaggi
2c33d5dcae Only dismiss Keyguard with space when screen is on
Bug: 17206291
Change-Id: I7fd9c77a0810bb71c0e4193ab121398e8e78d43b
2014-08-29 18:41:03 +02:00
Jorim Jaggi
6b58ab5809 Update paddings for more card to match notification layouts
Bug: 15437369
Change-Id: I6e9b1ce420d1d7217a455519a746ad28ed1fa75d
2014-08-29 16:40:06 +00:00
Sailesh Nepal
38f480993f Make PhoneAccount.Builder constructor public
Bug: 17321110

Change-Id: I61209f70c4719bbc77a310310c456b253032bedc
2014-08-29 09:04:28 -07:00
George Mount
0fb81090c0 Add IDs for status and nav-bar backgrounds.
Bug 17299689

Change-Id: I9b2168c547fe2670900614805031c3bb5fa63802
2014-08-29 08:40:10 -07:00
Selim Cinek
9f6ceb1d1c Increasing the delay for the volume warning dialog with talkback
Bug: 17145793
Change-Id: I27eb9c46c8d73d5e475f97b50b0a2f219c4ed6fb
2014-08-29 16:28:39 +02:00
Jorim Jaggi
b30c615ff2 am 99a9436c: Merge "Fix various problems with notification layouts" into lmp-dev
* commit '99a9436c4f76e00750e62d180e48644ea2e60a83':
  Fix various problems with notification layouts
2014-08-29 14:00:51 +00:00
Jorim Jaggi
e11ac78ccd Merge "Fix various problems with notification layouts" into lmp-dev 2014-08-29 13:51:23 +00:00
Neil Fuller
0ecef43e39 am 245eaa25: Merge "Fixing android.text.format.Time for non-English locales" into lmp-dev
* commit '245eaa25b3c9349660a6e24cd2d0e46a7b3381b4':
  Fixing android.text.format.Time for non-English locales
2014-08-29 13:49:03 +00:00
Neil Fuller
7e19fb0d69 Merge "Fixing android.text.format.Time for non-English locales" into lmp-dev 2014-08-29 13:36:02 +00:00
Jorim Jaggi
d05aa3ee47 Fix various problems with notification layouts
- Fix end padding for inbox notification.
- Fix that actions in BigText were clipped off.
- Fix that second line was never shown.
- Fix top padding in combination with badges.
- Fix that actions in InboxStyle were clipped off.
- Make badge style consistent with small icon.
- Fix that third line on Inbox/BigText is always 12sp (before it was
  sometimes 14sp)

Bug: 17315502
Bug: 17285898
Bug: 17311783
Bug: 17200814
Change-Id: Ic7e5e4fa07b6302a76631d0238b88239871acf49
2014-08-29 15:26:50 +02:00
Neil Fuller
16566656cd Fixing android.text.format.Time for non-English locales
The test fixes for bug 17262063 showed up a real issue for
non-English locales with the Time.format() method:
If the Android string resources that contain the pattern use
non-ASCII characters then a '?' would be output instead of
those characters.

For example, in France the pattern for '%c' includes a 'à'
(a with a grave accent) and Japan includes 日.

The problem was due to converting the pattern to bytes using
the US_ASCII character set, which turns non-ASCII characters
into '?'. The code has been changed to use char throughout
and avoid bytes.

Internal documentation has been improved.

Some calls to modifyAndAppend() have been replaced with a
direct call to outputBuilder.append() because the
modify step is guaranteed to a no-op for the literals given.

The formatter has been changed to use Locale.US because it
is only used for outputting numbers. It has been renamed
to make this more obvious and the locale field has been
removed.

Bug: 17262063

(cherry picked from commit 788cb18f652fca380acefdadce305415bc0602b0)

Change-Id: I96ee158fbeb01827f0bbf022631625416f872fdb
2014-08-29 14:10:35 +01:00
Kenny Guy
4f9cbd2a2b am 21e106f8: Merge "Load ApplicationInfo for correct user." into lmp-dev
* commit '21e106f8c1578767a829bd8895b8d101af3b4f8d':
  Load ApplicationInfo for correct user.
2014-08-29 11:10:09 +00:00
Kenny Guy
d5936307fb Merge "Load ApplicationInfo for correct user." into lmp-dev 2014-08-29 11:01:04 +00:00
Christoph Studer
b82bc785c9 NoMan: Allow listeners to specify notification trim
Bug: 16574195
Change-Id: I116080df8b73d73040cf9dbc751e25ee118641d7
2014-08-29 12:34:12 +02:00
Yohei Yukawa
0f93377382 am bbee6beb: Merge "Reject request when any unknown flag is speficied" into lmp-dev
* commit 'bbee6bebdc6d03eb3202c3c4e63e42473be98edc':
  Reject request when any unknown flag is speficied
2014-08-29 09:19:14 +00:00
Yohei Yukawa
1728879d9c Merge "Reject request when any unknown flag is speficied" into lmp-dev 2014-08-29 08:22:58 +00:00
Yohei Yukawa
72d35fa829 Reject request when any unknown flag is speficied
Currently EditableInputConnection#requestUpdateCursorAnchorInfo
never returns false unless InputMethodManager is somehow
unavailable.

This is problematic, especifially when we add a new flag to
EditableInputConnection#requestUpdateCursorAnchorInfo in a
future release.

With this CL, #requestUpdateCursorAnchorInfo does nothing and
immediately returns false when one ore more unknown bits are
specified.

BUG: 17324806
Change-Id: I5601714b481e8efa0ad3337c0d093cfcf55eade3
2014-08-29 00:57:19 -07:00
Jeff Sharkey
232802e0e5 am f1ddfd1e: Keep tests building.
* commit 'f1ddfd1ea8773c409a3541f279f1d3c87e010f9c':
  Keep tests building.
2014-08-29 07:36:48 +00:00
Jeff Sharkey
73a8217803 Keep tests building.
Bug: 17183379
Change-Id: I7f52af3201975e8c626a6c6d7f508fd8d006b204
2014-08-29 00:10:14 -07:00
Jeff Sharkey
4b21cb68d7 am 78c14368: Merge "FileBridge needs to keep strong reference to PFD." into lmp-dev
* commit '78c14368eaceaa625a7bad91b6a2718670d1309e':
  FileBridge needs to keep strong reference to PFD.
2014-08-29 07:00:54 +00:00
Jeff Sharkey
c62f2e1bb7 Merge "FileBridge needs to keep strong reference to PFD." into lmp-dev 2014-08-29 06:52:55 +00:00
Jungshik Jang
c018183029 am 92be4d75: Merge "Fix system audio mode failure in boot up" into lmp-dev
* commit '92be4d754ef75cf4376323e05ea7dab1d93f90d9':
  Fix system audio mode failure in boot up
2014-08-29 06:35:43 +00:00
Sandeep Siddhartha
3e3a7a4c08 am cffbcb8a: Merge "Address API review comments" into lmp-dev
* commit 'cffbcb8aa117177b24c1395e728c0afc53d64882':
  Address API review comments
2014-08-29 06:29:12 +00:00
Jungshik Jang
f8a823b05a Merge "Fix system audio mode failure in boot up" into lmp-dev 2014-08-29 06:28:14 +00:00
Sandeep Siddhartha
503a102143 Merge "Address API review comments" into lmp-dev 2014-08-29 06:22:08 +00:00
Adam Lesinski
88fff68115 am 995c771f: Merge "Fix memory leak in ResTable" into lmp-dev
* commit '995c771f7aef835972a5044f267a2d201449efab':
  Fix memory leak in ResTable
2014-08-29 05:40:25 +00:00
Adam Lesinski
a9aa9f0458 Merge "Fix memory leak in ResTable" into lmp-dev 2014-08-29 05:27:49 +00:00
Terry Heo
8a67d3f8e3 am d3f23462: Merge "CEC: Implement dump() of HdmiControlService" into lmp-dev
* commit 'd3f234629ac7d693ced141ade1941d726aa453cd':
  CEC: Implement dump() of HdmiControlService
2014-08-29 05:22:21 +00:00
Terry Heo
97bf45464c Merge "CEC: Implement dump() of HdmiControlService" into lmp-dev 2014-08-29 05:12:57 +00:00
Jeff Sharkey
9a1507aa10 FileBridge needs to keep strong reference to PFD.
Even though we've grabbed the underlying FD, the PFD could be GC'ed
and when finalized it would end up closing the underlying FD.  This
fix ties the PFD object lifecycle to the returned OutputStream.

Bug: 17183379
Change-Id: Ibee8f4cf78fee357181a250d15f2a653294b2877
2014-08-28 20:38:10 -07:00
Adam Powell
31ffb26a31 am ae806d87: Merge "Doc improvements for new Toolbar changes, now with attributes." into lmp-dev
* commit 'ae806d87bd321826f1dec904e7aff6d02d501689':
  Doc improvements for new Toolbar changes, now with attributes.
2014-08-29 03:37:49 +00:00