141216 Commits

Author SHA1 Message Date
Narayan Kamath
c61a7575eb am d62196cf: am 3fa99ec7: Merge "Remove bogus 2 char limit for locales and countries."
* commit 'd62196cfeffe5e4d725b5388fca57a18c154a44b':
  Remove bogus 2 char limit for locales and countries.
2014-07-02 09:51:54 +00:00
Narayan Kamath
9417121243 am 104da1e4: Merge "Fix broken assumptions in LocalePicker."
* commit '104da1e495cbed81e7ebe66b80344bf916b02391':
  Fix broken assumptions in LocalePicker.
2014-07-02 08:49:08 +00:00
Narayan Kamath
d62196cfef am 3fa99ec7: Merge "Remove bogus 2 char limit for locales and countries."
* commit '3fa99ec77ee52164575375c7709923c94d9693a6':
  Remove bogus 2 char limit for locales and countries.
2014-07-02 08:49:04 +00:00
Narayan Kamath
104da1e495 Merge "Fix broken assumptions in LocalePicker." 2014-07-01 17:57:26 +00:00
Narayan Kamath
3fa99ec77e Merge "Remove bogus 2 char limit for locales and countries." 2014-07-01 17:52:00 +00:00
Baligh Uddin
4a4fa0a30a Import translations. DO NOT MERGE
Change-Id: I1027a88bab0d00d223807bba87f9bbb75aef4d79
Auto-generated-cl: translation import
2014-07-01 10:47:53 -07:00
Anish Athalye
9cd3bccdb2 Fix line breaking for clusters in narrow views
Clusters were broken incorrectly when in narrow views (when the width of
the cluster was greater than the width of a view). Also, out() calls
were modifying fm, so clusters that were too wide were not positioned
correctly.

Change-Id: I521f8dc6338f5f1de6858af3f0c0bd320aa46bc0
2014-07-01 16:39:39 +00:00
Julia Reynolds
3690ea1aa1 Merge "Apply the tethering user restriction to connectivity service." 2014-07-01 16:34:37 +00:00
Deepanshu Gupta
c82b76c7fa am c91ee2f9: Merge "Add nameID 4 to AndroidEmoji" into lmp-preview-dev
* commit 'c91ee2f9f42e6e443fec231d5090c9557af8be68':
  Add nameID 4 to AndroidEmoji
2014-07-02 18:19:36 +00:00
Deepanshu Gupta
cbc13f057f am bdf7f8b0: Merge "Support Typeface.createFromFile()" into lmp-preview-dev
* commit 'bdf7f8b009ca9f276b5368a1cea037c1605f7261':
  Support Typeface.createFromFile()
2014-07-02 18:19:30 +00:00
Deepanshu Gupta
9fe0718492 am 1ae18e43: Merge "Change font family name." into lmp-preview-dev
* commit '1ae18e43e9b3727ce855a2a8a799e703484bc5bf':
  Change font family name.
2014-07-02 18:19:25 +00:00
Deepanshu Gupta
3a57d506e9 am 036557b6: Merge "Update system icon resolution in LayoutLib." into lmp-preview-dev
* commit '036557b60df5e5425b3563e99ffb21685160e4ab':
  Update system icon resolution in LayoutLib.
2014-07-02 18:19:09 +00:00
Deepanshu Gupta
1f1a71bed1 Merge "Support Typeface.createFromFile()" into lmp-preview-dev 2014-07-02 18:11:52 +00:00
Deepanshu Gupta
9abd58257a Merge "Update system icon resolution in LayoutLib." into lmp-preview-dev 2014-07-02 18:11:52 +00:00
Ye Wen
474166cbec MMS auto persisting (1/4)
New constant in android.provider.Telephony

b/14095333

Change-Id: I137e99dfab92d97585fd2a6b9f2b2751a28fee92
2014-07-02 11:02:53 -07:00
Julia Reynolds
fc6b2a0be3 Apply the tethering user restriction to connectivity service.
Bug: 15852213
Change-Id: Ib2df696189981ed1b31955257047fac3ee403965
2014-07-02 16:46:54 +00:00
Deepanshu Gupta
3c937cf5c7 Support Typeface.createFromFile()
Add support for Typeface.createFromFile() for platform fonts. The
feature existed in the KitKat LayoutLib but was dropped for the L
preview. This change adds it back.

Change-Id: Ib1abe67a32c28a1fb0e2a4f3061c358b55129434
2014-07-01 17:32:12 -07:00
Deepanshu Gupta
7ea293bc6a Change font family name.
During the SDK build, rename the Font's Family name and not just the
PS Name. Updating the PS name doesn't work.

Change-Id: I997b5eec9f493ce97b95c33101ee426e773890c1
2014-07-01 17:13:32 -07:00
Deepanshu Gupta
37e5ceac65 Merge "Add nameID 4 to AndroidEmoji" into lmp-preview-dev 2014-07-01 23:33:37 +00:00
Deepanshu Gupta
778e1cd834 Add nameID 4 to AndroidEmoji
The nameID 4 (Full font name) is required to load the fonts on a desktop
Java VM. This change adds the nameID as "Android Emoji".

Change-Id: I67d37f387776e667f45794d6d0372ec35d61b4d3
2014-07-01 17:32:15 -07:00
Deepanshu Gupta
19c5349b73 Merge "Change font family name." into lmp-preview-dev 2014-07-01 23:33:37 +00:00
Julia Reynolds
df0697e392 Merge "Apply ENSURE_VERIFY_APPS restriction to PackageManagerService." 2014-07-01 16:28:20 +00:00
Robert Greenwalt
2771181c9b Simplify the network transition wakelock.
Make it all internal to ConnectivityService - we know when a network
is lost, so grab a wakelock then.
Moves the call out of WifiStateMachine which was grabbing at bad times
like every dhcp renewal or corp-network roam.  These would always
go the full 1 minute and chew up battery.

bug:15595155
Change-Id: I80157a818cc149072cc7706d78c1e79c6e679ab3
2014-07-02 09:26:43 -07:00
Niels Egberts
f8fd342091 First argument of playSilence is incorrect in javaDoc.
Change-Id: Icc059471e61fb6154108b74ea45cb06554d80631
2014-07-02 16:21:20 +00:00
Niels Egberts
795d777ee1 Forgot to deprecate a method in current.txt before merging earlier change.
Also includes a comment fix and line size changes in TextToSpeech.java.

Change-Id: Ia5842b694bca6cd9cae035164ffc605451e72d8b
2014-07-02 16:09:54 +00:00
Niels Egberts
df7deefe8e Support for CharSequences in the V1 API.
Two newly deprecated methods:
  - TextToSpeech.speak (over TextToSpeech.speak with mandatory utteranceId)
  - SynthesisRequest.getText (over SynthesisRequest.getCharSequenceText)

Change-Id: I8a75ed335c91074c72d6ef374ff8b9c79a7c208d
2014-07-02 15:23:33 +00:00
Adrian Roos
7028946402 Fix keyguard user switcher layering
Bug: 15822308
Change-Id: I4253a5f9ccb395b291696825923b251c4069c617
2014-07-02 15:22:36 +00:00
Julia Reynolds
6728239cfe Apply ENSURE_VERIFY_APPS restriction to PackageManagerService.
Bug: 15986973
Change-Id: I9e8dae15cb866a3bb16e91fc49086fe1633f0bf8
2014-07-02 13:04:35 +00:00
Adrian Roos
fa10423fa0 Add stable insets for stable system windows
Adds a new kind of inset that only accounts for stable system
windows like the system or navigation bar.

Bug: 15457292
Change-Id: I681b711f6f40a94c25b7acd3a44eb3539486afab
2014-07-02 12:34:05 +00:00
Jorim Jaggi
037c149ef0 Merge "Implement ability to fling to QS in empty space" 2014-07-01 17:57:07 +00:00
Jorim Jaggi
dc96d6310c Implement ability to fling to QS in empty space
Bug: 16009808
Change-Id: I0af174a4d97202dae767e4ae56f43599dbee4e05
2014-07-02 17:20:31 +02:00
Jorim Jaggi
475b21dfe5 Start expanding QS directly when overscrolling to it.
This removes the janky transition from scrolling to flinging.

Change-Id: I691ac94ec06af7f7431ad162e07c21d2c753e99c
2014-07-02 17:10:34 +02:00
Jorim Jaggi
2e115c5d9a Always load resources in SystemUI.
This fixes a bug where resources didn't get loaded after a SysUI
crash.

Change-Id: I3a679890d15ad3c1e13a017840b8258670a23ff8
2014-07-01 21:38:39 +02:00
Jorim Jaggi
c640fafbcd Merge "Start expanding QS directly when overscrolling to it." 2014-07-01 17:46:08 +00:00
Jorim Jaggi
de6265c319 Merge "Fix "None" lock screen option" 2014-07-01 17:52:42 +00:00
Jorim Jaggi
d0b698f074 Fix "None" lock screen option
Now that we have a user switcher in quick settings, we don't need to
show the lockscreen if multi-user is enabled.

Bug: 15864584
Change-Id: I1a7ea69963fdd5a4f79584f565beff36612468f5
2014-07-02 16:46:27 +02:00
George Mount
82ffc141f5 Ensure views have been laid out before capturing the epicenter.
Bug 15992706

Change-Id: If245040b756882bcc82f56ef2c4563ce25c24e9e
2014-07-02 14:26:13 +00:00
George Mount
5acf640dfa Merge "Reapply fix after bad merge." 2014-07-02 05:06:31 +00:00
George Mount
7e20884d85 Reapply fix after bad merge.
Bug 13745751

Change-Id: I8eda37bd0e083b7c7949935973330882f6f5f1dc
2014-07-02 07:22:43 -07:00
George Mount
00dde0bd46 Fix hang when there is no shared element in activity transition.
Bug 15990826

Change-Id: Id494a51baf8694abd6c5207389cd8334db485d1a
2014-07-02 13:50:09 +00:00
John Reck
4cce48e63f Merge "Fixes to startDelay" 2014-07-02 05:06:31 +00:00
George Mount
5654e2ba16 Merge "Stop temporary window from showing with activity transitions." 2014-07-01 23:17:33 +00:00
George Mount
70778d7d53 Stop temporary window from showing with activity transitions.
Bug 15424905

When creating a new process, a temporary window would show,
even when within the same task. This CL prevents the temporary
window from showing when using
ActivityOptions.makeSceneTransitionAnimation(...)

Change-Id: I93c40ba0b41ed90ebe6e9802d1236f8c81d60abe
2014-07-01 16:33:45 -07:00
John Reck
8d8af3c1b7 Fixes to startDelay
Bug: 15991758

 Don't update the UI thread with final value until after
 startDelay

Change-Id: Ie8bffb5a3ace353ec1d82943a4efcbd01c42c28f
2014-07-01 15:32:12 -07:00
Jorim Jaggi
e65e310fc9 Fix occasional jank when going to QS.
We change the listening state of the QS panel before the user
actually navigates there and when the animations are probably
not running (after expanding the panel).

Change-Id: Iad48b3459e7db09c423f6983a9fec17ec0088050
2014-07-01 22:00:50 +02:00
Adrian Roos
46b8c7568b Merge "Add flashlight to quick settings" 2014-07-01 17:57:07 +00:00
Jason Monk
1c7c319bb8 User restriction for disallowing window creation
Block any types of windows that could by used by apps to create
views on top of a locked app.  This can be used by device admins
in conjunction with lock task mode.

Added a way for system (and priv apps) to bypass user restrictions
for specified op codes.

Bug: 15279535
Change-Id: I2381530ef6226a5bb32a99bb4030baafb39bf564
2014-07-02 09:02:46 -04:00
Adrian Roos
b83777ba5c Add flashlight to quick settings
Bug: 15934851

Change-Id: I86f61fa11fe64e76adb032391ce7e7170f59549d
2014-07-02 12:33:36 +00:00
Paul Jensen
d7f67240a0 Merge "Make sure callback handler is in place before callbacks handled." 2014-07-01 16:28:20 +00:00
Paul Jensen
7221cc3bf3 Make sure callback handler is in place before callbacks handled.
When making Network requests in ConnectivityManager, make sure we install the
callback prior to a response from ConnectivityService arriving causing us to
search for the callback and inadvertently not find it.

bug:15928097
Change-Id: Ie5feb9cc8f5effc19870f54dba07218b2e11d82a
2014-07-02 13:50:53 +00:00