149506 Commits

Author SHA1 Message Date
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
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
e11ac78ccd Merge "Fix various problems with notification layouts" into lmp-dev 2014-08-29 13:51:23 +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
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
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
73a8217803 Keep tests building.
Bug: 17183379
Change-Id: I7f52af3201975e8c626a6c6d7f508fd8d006b204
2014-08-29 00:10:14 -07: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
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
a9aa9f0458 Merge "Fix memory leak in ResTable" into lmp-dev 2014-08-29 05:27:49 +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
f825e0c561 Merge "Doc improvements for new Toolbar changes, now with attributes." into lmp-dev 2014-08-29 02:49:47 +00:00
Adam Powell
d760249623 Doc improvements for new Toolbar changes, now with attributes.
Change-Id: I3f67899b4f9ab9ae4ab4f5dcbc853c08d7867947
2014-08-28 19:35:36 -07:00
Adam Powell
b051ef62af Merge "Don't add title margins during to Toolbar layout if titles don't fit" into lmp-dev 2014-08-29 02:26:24 +00:00
Adam Powell
0c1dc53e74 Merge "Add xml attributes to Toolbar for navigation icon" into lmp-dev 2014-08-29 02:25:49 +00:00
Adam Powell
4c9765a654 Don't add title margins during to Toolbar layout if titles don't fit
When all space is consumed in a Toolbar by other views the special
shared title/subtitle margins shouldn't be added to the running
position during layout.

Bug 17253638

Change-Id: I179fcbf286fa68fd8df6e25bb1879bccbf1532ed
2014-08-28 19:21:18 -07:00
Rachad
c38f9ba81c Tunneled Video Playback:
Fixed missing AudioHwSync for provided Audio session ID

Bug: 17112525
Change-Id: I89509ada88462d4db7fc37007e0ffaea153da5cd
2014-08-28 19:02:20 -07:00
Adam Lesinski
b32063822b Merge "Stamp platform version code into app Apks" into lmp-dev 2014-08-29 01:54:15 +00:00
Svetoslav
dc6d1a9cc3 Fix the global gesture to enable accessibility.
1. There was a bug in the touch explorer which was crashing almost
   every time after accessibility was enabled via the gesture. The
   problem was that in dragging state when a finger goes up we were
   not transitioning to touch exploring state.

2. The global actions dialog was not going away after enabling
   accessibility while it should as the user brought it up to
   turn accessibility on rather to interact with global actions.

bug:15254250

Change-Id: Iaa45f758e09566822775b53e87d2980138e85ef9
2014-08-28 18:45:50 -07:00
Jeff Tinker
67085e1cac Merge "Fix exception message string formatting in MediaDrm" into lmp-dev 2014-08-29 01:45:25 +00:00
Ruben Brunk
ff99a0add9 camera2: Add HDR vendor tag for legacy mode.
Bug: 17072609

Change-Id: Iebb97d12fc62986ad389460c253cfc504a68ad7f
2014-08-28 18:42:35 -07:00
Adam Lesinski
7f668d03ce Fix memory leak in ResTable
We were basically never cleaning any of the
cached bags... oops :S

Bug:16683269
Change-Id: Ic0a44218f660e16fbaac8df1d61ce6f1fdb0018b
2014-08-28 18:32:32 -07:00
Lorenzo Colitti
32e520ed61 Really remove NetworkBoundURLFactory.
The code using it was removed, but the file itself was not.

Bug: 17112978
Change-Id: I35bc254fd3a5e7b19297b959c7310e7054ab77e1
2014-08-28 18:31:18 -07:00
Adam Powell
7c13bc2a70 Add xml attributes to Toolbar for navigation icon
...to match the existing setters/getters.

Change-Id: I9814c5d7f2aa0559c93fbb74881e29064473f186
2014-08-28 18:19:59 -07:00
Svetoslav
85933eb18b Merge "Print UI polish." into lmp-dev 2014-08-29 01:18:00 +00:00
Jungshik Jang
a7221ce876 Fix system audio mode failure in boot up
This bug happens because <Set System Audio Mode> is arrived
before <Give System Audio Mode Status>'s send result callback
is called in service thread. We do set internal state
on callback resut.
This change sets state when we send command.
Along with this, add more debug log to help future debugging.

Bug: 17309726
Change-Id: I0e41f684372a4c8891a90f724944227fc689e053
2014-08-29 10:16:38 +09:00
Dongwon Kang
13d43b927f Merge "TIF: update the default value documentation of Channels.COLUMN_BROWSABLE." into lmp-dev 2014-08-29 01:08:50 +00:00
Dianne Hackborn
3d07395206 Merge "Debug issue #17310019: pause when launching settings" into lmp-dev 2014-08-29 00:56:49 +00:00
Dianne Hackborn
ecf1cda068 Debug issue #17310019: pause when launching settings
Let's log!

Change-Id: Icaf42d46aff6e74ee5fc98611dd77083a5d5052e
2014-08-28 17:52:33 -07:00
Svetoslav
43da1d4a08 Merge "Fix app widget serices not being unbound." into lmp-dev 2014-08-29 00:51:49 +00:00
Svetoslav
2635b7b0d3 Fix app widget serices not being unbound.
bug:17321037

Change-Id: I44578df1104f9bd2e28700a3422a3323844d92c0
2014-08-28 17:41:49 -07:00
Nancy Chen
da227c7fdd Hide AIDL for RemoteServiceCallback in telecomm
Hide raw AIDL for public API

Bug: 17320748
Change-Id: I79926f9a527e8916b235186559c01cf00ded2f12
2014-08-28 17:30:23 -07:00
Alex Light
e545035e0e Remove obsolete pruneDexCache
Bug: 16875245

(cherry picked from commit 09107db4916913912e61bfe592643b9c4c50b500)

Change-Id: I06e14c405aa4af295795982c1d236be3cb00e893
2014-08-28 17:02:37 -07:00