148422 Commits

Author SHA1 Message Date
Guang Zhu
cf038760f2 Merge "fixes for connectivity manager test suite" into lmp-dev 2014-08-21 00:11:43 +00:00
Amit Mahajan
dbc6689664 Merge "Adding APIs to get IMEI/MEID" into lmp-dev 2014-08-21 00:16:54 +00:00
Chris Craik
2d84cdb414 Merge "Add bounds checking to nine patch scaling" into lmp-dev 2014-08-21 00:16:54 +00:00
Guang Zhu
d21f1c1e4d fixes for connectivity manager test suite
* reduced visibility of most util functions in
  ConnectivityManagerTestBase
* reimplemented various waitFor... util function in base class:
  instead of relying on received broadcast and synchronization
  mechanism, we just poll for what we want with a fixed interval
  and a max timeout
* minor style fixes
* removed state transition checks in all test cases of
  ConnectivityManagerMobileTest: since exact state transitions
  are not that interesting, we just care about if we reach a
  particular state and if all network interfaces are in their
  corresponding states
* clarified in comment what each test cases are testing, since
  some of the test case names are not very straightforward
* any wait for DISCONNECTED checkes with ConnectivityManager are
  temporarily commented out

Change-Id: I99cca95c33c6060909e0df684969b75c2dca23a9
2014-08-20 17:15:35 -07:00
Guang Zhu
e02f340d9a Merge "follow up minor fixes for connectivity manager test" into lmp-dev 2014-08-21 00:11:43 +00:00
Guang Zhu
4afd179a9a follow up minor fixes for connectivity manager test
Change-Id: I8f0606890b21d67130efb3bc02c6825823060139
2014-08-20 17:40:18 -07:00
Svetoslav
49cbfcc10c Merge "Using default system icon for print spooler" into lmp-dev 2014-08-21 00:11:43 +00:00
Svetoslav
bdbb6e0679 Merge "Update the "More options" button in printing." into lmp-dev 2014-08-21 00:16:54 +00:00
Lorenzo Colitti
827296b7dd Merge "Update state to failed if the VPN fails to connect." into lmp-dev 2014-08-21 00:11:43 +00:00
Amit Mahajan
284f1ec16e Adding APIs to get IMEI/MEID
Change-Id: I553b7c019b20a64ff1049f35b0e3999ab82b7cce
2014-08-20 17:02:17 -07:00
Riley Andrews
fd6989cd02 Use the crop function in the surfaceflinger screenshot api.
- By having surfaceflinger crop the screenshot instead of
  WindowManagerService, this greatly reduces the size of
  of temporary screenshot buffers that tablets have to
  allocate.
- App to home, App to recents times are improved noticeably.

Change-Id: Iff889cc8c57b157778fb16993a71546fd9abfc00
Bug 17006948
Bug 16987565
2014-08-20 23:50:59 +00:00
Ricardo Cervera
0d65bf25c8 am 262b4147: Merge "docs: Fixed bug in declaring layout page. Bug: 16815916" into klp-modular-docs
* commit '262b41478d77bdebb78acccf795c14e9c097773e':
  docs: Fixed bug in declaring layout page. Bug: 16815916
2014-08-20 23:50:07 +00:00
Ricardo Cervera
63da186fef am c5807808: docs: Fixed typo in Wear training class. Bug: 16709202
* commit 'c58078085a3fb30947d7982536ebe0a06cdf4b62':
  docs: Fixed typo in Wear training class. Bug: 16709202
2014-08-20 23:50:03 +00:00
Chris Craik
bd8db2e87e Add bounds checking to nine patch scaling
bug:17114103

Better handle the case, when scaling the divs in a nine patch, where
divs fall outside of the bounds of the bitmap.

Change-Id: I244b9c45b938c2a15f29e4563a86825ee9439b5f
2014-08-20 16:37:16 -07:00
Rich Slogar
5c80662fab Docs: Fixed typo 'Fore'
Change-Id: I67cacf2ca11be27f9352cd8bddb1f9e6ff8a65c6
2014-08-20 16:29:02 -07:00
Lorenzo Colitti
438406092e Update state to failed if the VPN fails to connect.
Without this, the VPN settings dialog stays in "Connecting..."
forever.

Bug: 17140195
Change-Id: I4771be464384b62114839523fb2a6b36aa6520ee
2014-08-20 16:01:44 -07:00
Ricardo Cervera
f01f8e8500 docs: Fixed typo in intents page. Bug: 16949177
Change-Id: Ie3ae033932134058008dd17124f1bbd43e24a65d
2014-08-20 15:57:44 -07:00
Ricardo Cervera
c58078085a docs: Fixed typo in Wear training class. Bug: 16709202
Change-Id: I4649546f2ebe2dba7266a3260d0aa4388a2a7fe1
2014-08-20 15:51:17 -07:00
Wenchao Tong
cd8e041668 Revert "Annotate @SystemApi on some WifiManager methods."
This reverts commit 041bcc22bd21f84358e5b2102e3a919bcdd99b81.

Bug: 17134034
Change-Id: I1ebcdd9b4c56e5c93fd5667699c8971e8c6e5452
2014-08-20 22:10:36 +00:00
Ricardo Cervera
262b41478d Merge "docs: Fixed bug in declaring layout page. Bug: 16815916" into klp-modular-docs 2014-08-20 21:47:20 +00:00
Ricardo Cervera
f246b0c4e9 docs: Fixed bug in declaring layout page. Bug: 16815916
Change-Id: I8990488f45e7a09c948f5be006457205665b84a1
2014-08-20 16:03:47 -07:00
Diego Pontoriero
3f38f72a1b Merge "Change CARRIER_SETUP hook in ConnectivityService to use Aeroshell API for determining carrier app instead of MCC/MNC." into lmp-dev 2014-08-20 21:47:20 +00:00
Kenny Guy
fa80a4faa3 Add apis for whitelisting IMEs and accessibility services.
Adds apis for device / profile owners to white list
the accessibility and input methods a user can enable.

Bug: 14469005
Change-Id: I921888660d29a5370395db87adf75d4d106660c9
2014-08-20 22:30:05 +01:00
vandwalle
612519db40 per bssid blacklist
Bug: 16823537

This CL is dependent on Iff32fae2cd67343e63046d58d75fa1e10d9775d0

Change-Id: Id9411c8097337b37ac1ce1a6ac8b28b4bda31ff3
2014-08-20 21:07:02 +00:00
Svetoslav
fed7173306 Using default system icon for print spooler
bug:16568027

Change-Id: I87c7e7d60864b6d28899210bb400e56e21bf43f8
2014-08-20 20:28:22 +00:00
Svet Ganov
6bd702538d Notify app widget hosts when cross-profile providers change.
1. Notify the hosts in the group if a package gets white-listed or
   un-white-listed for providing widgets across profiles.

2. Notify hosts in the group for provider changes when a profile
   is deleted.

bug:17126070

Change-Id: Ic719c1c68e45842d50decc95603f1d61583b8f02
2014-08-20 20:25:10 +00:00
Jeff Davidson
833dcd4bea Merge "Improve documentation of ScanResult and WifiInfo." into lmp-dev 2014-08-20 20:15:45 +00:00
Behdad Esfahbod
bf8d5620f7 Throw exception on nonexistent font
In K, this used to throw RuntimeException.  Before this patch, NULL
was returned and no exceptions thrown.  With this patch,
FileNotFoundException is thrown.  This might be considered API
change and be undesirable as callers need to either catch it or
declare it to be thrown.

Bug: 16180181
Change-Id: If83d76857f640c6293a3d5d08fb89ceddbaf41bc
2014-08-20 16:11:59 -04:00
Paul Lawrence
878ba0a266 Save PatternVisible setting to crypto header
Bug: 17059314
Change-Id: Ic64c64567f70ea11030cabfd33b57f77fb23dac7
2014-08-20 13:08:01 -07:00
Svetoslav
3c238245eb Update the "More options" button in printing.
The "More options" button needed changes to match the
new UX spec. Also fixed some identation issues as well
as a missing marging in the erorr UI.

bug:16301066

Change-Id: I29f0d41915d1816d754f2c6288a7387aafeba2c2
2014-08-20 19:57:16 +00:00
Jason Monk
e5656c75fe Update VPN Icon to key.
Bug: 16153201
Change-Id: I7d1dd3ca85a6f9325a6443da0e0bcb2ae8c51ab3
2014-08-20 15:54:00 -04:00
Christopher Tate
4746bc78ec Merge "Don't crash good-citizen restore session clients" into lmp-dev 2014-08-20 18:43:12 +00:00
Christian Robertson
46a8f45253 Merge "Updated set of geometric navigation bar icon assets" into lmp-dev 2014-08-20 18:43:12 +00:00
RoboErik
d2b8c947dd Api updates to MediaSession components
-renames get/setBufferPosition to get/setBufferedPosition
-renames getLaunchActivity to getSessionActivity
-adds doc link to setVolumeTo flags param
-renames setLaunchActivity to setSessionActivity
-hides setMediaRouter
-moves PLAYBACK_TYPE_ constants to MediaController.AudioInfo
-adds addOnActiveSessionsChangedListener version with a handler parameter
-renames AudioInfo to PlaybackInfo

bug:17114404
Change-Id: I0fbfe4eb979cb2af98e3f13095c654bb131f7ae5
2014-08-20 10:05:06 -07:00
Lorenzo Colitti
1c3a35bcff Fix findConnectionTypeForIface.
This is used by the VPN to notice when its underlying connection
has gone away. I'm fixing this using network types and not
NetworkCapabilities because

1. I don't know of a way to use the new API to get callbacks for
   a specific network. You can get them based on capabilities,
   but it's not clear how to construct a NetworkCapabilities
   object that will only match a specific network, or only match
   the default network.
2. It's a smaller change.

Bug: 15070628
Change-Id: Id6a6a183da83636c0859db4c954093bd684c01ea
2014-08-20 09:11:14 -07:00
vandwalle
da3475dba7 Merge "remove passpoint, except ANQP - DO NOT MERGE" into lmp-dev 2014-08-20 16:06:26 +00:00
Esteban Talavera
f057f06631 Rename PROVISIONING_NFC_MIME_TYPE to MIME_TYPE_PROVISIONING_NFC
As requested in the API review. References to that field fixed on changes I123a5193d03b313160f934644b02be62b8394649 and Ibf1bb38f481e9e0dd898d662b18a1c54f201f830

Bug: 17005622
Change-Id: I08c53465d98678c06f65eeed5e7e9dcdce7bbcf0
2014-08-20 13:36:05 +00:00
Christian Robertson
5455aa0f7b Updated set of geometric navigation bar icon assets
Bug: 15981688
Change-Id: Id56cafc17aaf86cd3ce1cc125197fa0ce86ab56b
2014-08-20 13:21:18 +00:00
Santos Cordon
80030f90b6 Merge "Made all classes required for an InCallService @SystemApi" into lmp-dev 2014-08-20 12:26:29 +00:00
Gabriel Peal
b95f169a74 Made all classes required for an InCallService @SystemApi
Bug: 17153048
Change-Id: I6b46969e976a47fd814022939a99b823fcb7b2bd
2014-08-20 16:08:53 +00:00
Andre Eisenbach
4072da041d LE: Rename new MTU and connection paramter update APIs
bug 17005342

Change-Id: I23151e1e92fe86896fc2883f81aef82084bb4215
2014-08-20 02:03:57 +00:00
Christopher Tate
9dbba1b669 Don't crash good-citizen restore session clients
If an app is trying to do the right thing and end its restore sessions
cleanly, but winds up being slow and having the session timed out from
under them, don't crash them with an illegal state exception for having
appeared to end the session twice.

Bug 17133115

Change-Id: I0a0989e2067b156569bddb6626ce045e625c6604
2014-08-19 18:24:06 -07:00
John Reck
291161ac38 Run RevealAnimator on RT
Bug: 16894195

Change-Id: I9acffa7aecc04c68b60c67f8f8a20aa225075a42
2014-08-19 16:32:43 -07:00
Alan Viverette
aff1efa622 Merge "Use correct single-letter date format in SimpleMonthView" into lmp-dev 2014-08-19 22:53:25 +00:00
Alan Viverette
fd2dd208d9 Use correct single-letter date format in SimpleMonthView
Also fixes layout on sw600dp-land (by removing the sw600dp layout!).

BUG: 17068298
Change-Id: I2545d0e1904a0028156b96b6ad17674c6107ce5d
2014-08-19 18:11:54 -07:00
Jae Seo
3acf66f558 Merge "TIF: Add the video frame rate information to TvTrackInfo" into lmp-dev 2014-08-19 21:23:09 +00:00
Alan Viverette
b19fe38840 Merge "Update toggle switch asset to include content area" into lmp-dev 2014-08-19 22:53:25 +00:00
Alan Viverette
a5e1301bf5 Update toggle switch asset to include content area
Remove optical bounds workaround from NinePatchDrawable, which was
incorrect anyway since we were missing a content area rather than
missing padding.

BUG: 17114103
Change-Id: I51461be666f59534dfdea7ab79bc867ee3eb3c92
2014-08-19 16:55:47 -07:00
Andres Morales
b59d35c16d Remove old NFC unlock api
Bug: 16401635
Change-Id: I667d91c2346355ed0a2115644e6192f5f208e288
2014-08-19 13:13:10 -07:00
Jae Seo
47b9e4afc9 TIF: Add the video frame rate information to TvTrackInfo
Bug: 16187997
Change-Id: I25d5489e42502fa8f2537aadc205bb4203980fb2
2014-08-19 12:02:16 -07:00