191347 Commits

Author SHA1 Message Date
Dirk Dougherty
41ef6ba4ce am fd92db9c: am 35219b7d: am b42c5f80: Update N6 device art port image to remove shadow.
* commit 'fd92db9c843042ab66f76d11a733493819d8c2c9':
  Update N6 device art port image to remove shadow.
2015-05-04 22:19:39 +00:00
Rich Slogar
d5aa39cc0a am 5bf92cba: am ffac3c82: am 67a05f0c: am e7bfe5b3: docs: sdk 24.2.0 revisions
* commit '5bf92cbab9e6df7fb918c925fd506737a9e25c4e':
  docs: sdk 24.2.0 revisions
2015-05-04 22:19:33 +00:00
Joe Fernandez
ed4331d29a am 419aff0f: am ddb65560: Merge "docs: M Preview mini site skeleton" into mnc-preview-docs
* commit '419aff0fd39c565d52c21a845e346c691f3ec4fb':
  docs: M Preview mini site skeleton
2015-05-04 22:19:23 +00:00
Yang Ni
17c2d7a3e1 Sanity checks in JNI code for closure creation
b/20728113

In case the requested size for memory allocation overflows, or memory
allocation fails.

Change-Id: I8dac132dd4d0210938660ffbb82cbe44000d2a90
(cherry picked from commit 4e90b9b57cc96964a9d5c1845172a72cb51feafb)
2015-05-04 15:09:29 -07:00
George Mount
57436d3f7e Merge "Fix potential NPE in internal isValidTarget method." into mnc-dev 2015-05-04 22:08:03 +00:00
George Mount
f586c925d5 Fix potential NPE in internal isValidTarget method.
Bug 19805383

Change-Id: Ib22d86cca5e1225b12ed39ac988824eeb9c58bbd
2015-05-04 15:01:55 -07:00
Andre Eisenbach
f455986a45 Add documentation for BluetoothSocket.getConnectionType()
Bug: 20824264
Change-Id: I58aa8f5bbe08ddb252f01f4ad187ae8741963f0b
2015-05-04 21:56:17 +00:00
George Mount
c81af1ca78 Merge "When returning, transition only existing shared elements." into mnc-dev 2015-05-04 21:48:56 +00:00
George Mount
8de1de1f04 When returning, transition only existing shared elements.
Previously all shared element names were delivered when
returning from an Activity, even if no shared elements
existed in the exiting Activity. That prevented the calling
Activity from showing a shared element that it delivered,
but will not be receiving back again until shared elements
are transfered. That leaves a weird hole in the UI.

Now only the shared elements mapped in the returning view
hierarchy are delivered to the calling Activity.

Change-Id: I481a8bc7a771d7e819871f424d22313314c9ee8b
2015-05-04 14:12:40 -07:00
Chris Wren
0425de31cf Merge "eliminate notification clicker garbage." into mnc-dev 2015-05-04 21:06:17 +00:00
Chris Wren
42d5dd4690 eliminate notification clicker garbage.
Bug: 9739772
Change-Id: If05079cb0f956e03f26c7780c318452f73c3e849
2015-05-04 17:03:48 -04:00
Todd Kennedy
434bd65ca6 Call Activity#onAttachFragment()
This was accidentally removed during the changes to abstract a Fragment host.
Also ensure Fragment#onInflate(Activity) gets invoked

Bug: 20825263
Change-Id: I981266ae1e8817db5c82ec4609bbcf4a5e676fee
2015-05-04 14:00:38 -07:00
Alan Viverette
e318a467e1 Fix checkbox animation end colors
Uses a themed color state list so that even though the animations will
end showing the same drawable that they started from, and therefore the
same tint, the correct color will be displayed based on the state. Also
renames the checkbox assets so it's easier to figure out which one is
going in which direction.

Bug: 20733852
Change-Id: I1e8331d9f035595953db6df3b28b766db3617e1c
2015-05-04 13:58:42 -07:00
Sanket Padawe
5c33a2e3ec Merge "Adding "Connected, no Internet" string in Wifi nw summary." into mnc-dev 2015-05-04 20:44:52 +00:00
Ben Kwa
c7a01cfe15 Cherry pick beefed-up error handling in the CopyService from master. DO NOT MERGE
Send copy errors to the destination provider.
Big overhaul of tests to make them simpler.
Test that errors during copying are detected and partial copies are
cleaned up.
Test that copying empty directories works properly.

Change-Id: I3fe0e73bdc92c2b6f522857ca5631f6d03d5a666
(cherry picked from commit dae8c378d6c680ae9efa8e1202d9bc92fb0dfb11)
2015-05-04 20:28:44 +00:00
George Mount
61bab469a1 Merge "Fix Visibility not changing until Animator ends." into mnc-dev 2015-05-04 20:26:48 +00:00
Alan Viverette
394f9360c9 Merge "More documentation for handling RippleDrawable mask at run time" into mnc-dev 2015-05-04 20:10:20 +00:00
Fabrice Di Meglio
8ef631de47 Merge "Add user selectable Default Browser feature - part 4" into mnc-dev 2015-05-04 19:59:35 +00:00
Alan Viverette
d21be49975 More documentation for handling RippleDrawable mask at run time
The docs are now really explicit about the layer's ID and how to set
or update the mask layer from code.

Bug: 20493831
Change-Id: I801f10cd08fd1b4bb226c63a1bdf3271229928ea
2015-05-04 12:51:54 -07:00
Alan Viverette
d38d3574d0 Merge "Always force constructors accessible during inflation" into mnc-dev 2015-05-04 19:38:57 +00:00
Rich Slogar
39220a7e92 am 023901c6: am ffd0e519: Merge "docs: Update Eclipse migrate procedure" into lmp-docs
* commit '023901c628f0f01fc05aa83b45e57f883fba21ea':
  docs: Update Eclipse migrate procedure
2015-05-04 19:15:01 +00:00
Andrew Solovay
65241c6697 am 9ceea140: am fbd4af0f: Merge "Docs: New swipe-to-refresh training guide." into lmp-docs
* commit '9ceea140a3830794b202eec6be68a9a13e37c59f':
  Docs: New swipe-to-refresh training guide.
2015-05-04 19:14:57 +00:00
John Spurlock
ad2399f3be Merge "Zen: Implement calendar event system condition provider." into mnc-dev 2015-05-04 19:07:36 +00:00
Jeff Sharkey
5f809e3fff Merge "Avoid NPE when fsUuid is null." into mnc-dev 2015-05-04 19:06:39 +00:00
Jeff Sharkey
c840681dbd Avoid NPE when fsUuid is null.
Bug: 20822962
Change-Id: I6340b70dba5a4f94a0f08ddfbda0190db97746f1
2015-05-04 12:04:09 -07:00
Rich Slogar
023901c628 am ffd0e519: Merge "docs: Update Eclipse migrate procedure" into lmp-docs
* commit 'ffd0e519299d69b214fb7c96f96f3e34fc2bbf56':
  docs: Update Eclipse migrate procedure
2015-05-04 19:00:19 +00:00
Andrew Solovay
7916753474 am c1174104: am fbd4af0f: Merge "Docs: New swipe-to-refresh training guide." into lmp-docs
* commit 'c11741042d541f222a6cf19bc9cd15c2c892f150':
  Docs: New swipe-to-refresh training guide.
2015-05-04 18:44:50 +00:00
Rich Slogar
ffd0e51929 Merge "docs: Update Eclipse migrate procedure" into lmp-docs 2015-05-04 18:43:39 +00:00
George Mount
fcfe531e74 Fix Visibility not changing until Animator ends.
Sometimes an animator will be interrupted before it starts
during a transition and the onAnimatorEnd will not be called.
In this case, we must set the final state in the onTransitionEnd.

Bug 20416564

Change-Id: I388895215ba2b1c500de3a5afcae8db1fea288f7
2015-05-04 11:37:27 -07:00
John Spurlock
2f096ed766 Zen: Implement calendar event system condition provider.
- Wire up basic implementation for the system provider that
   handles event-based DND subscriptions.
 - Backed by the standard system calendar content provider.
 - Move shared time utils to base class, clean up logging.

Bug: 20064962
Change-Id: I070b6baa580c592c2ab4101c6b44a254787f9dd7
2015-05-04 14:29:41 -04:00
Andrew Solovay
c11741042d am fbd4af0f: Merge "Docs: New swipe-to-refresh training guide." into lmp-docs
* commit 'fbd4af0f9b6614482c846404434af8571bad5817':
  Docs: New swipe-to-refresh training guide.
2015-05-04 18:27:33 +00:00
Andrew Solovay
9ceea140a3 am fbd4af0f: Merge "Docs: New swipe-to-refresh training guide." into lmp-docs
* commit 'fbd4af0f9b6614482c846404434af8571bad5817':
  Docs: New swipe-to-refresh training guide.
2015-05-04 18:26:43 +00:00
Andrew Solovay
fbd4af0f9b Merge "Docs: New swipe-to-refresh training guide." into lmp-docs 2015-05-04 18:12:55 +00:00
Tony Mantler
ca2954830c Don't crash in StorageMeasurement if volume isn't mounted
Change-Id: I3f5d62c93b0bb95bec358a33e1a4497f1b55f8ad
2015-05-04 10:57:44 -07:00
John Reck
e678b41cdb Merge "Fix setName use-after-free" into mnc-dev 2015-05-04 17:35:33 +00:00
Alan Viverette
904de2ec93 Always force constructors accessible during inflation
We now correctly throw an IllegalAccessException for non-public accesses,
but we were relying on the old incorrect behavior during inflation. This
CL forces constructors to be accessible so that we emulate the old
behavior and don't crash.

Where we were already doing this, the CL moves the setAccessible() call
immediately after the getConstructor() call, since there's no point in
calling it multiple times.

Bug: 20810495
Change-Id: I63dfcb857e445f688080eea05e86ef22760ed49f
2015-05-04 10:32:57 -07:00
Joe Fernandez
722b509df5 am a246d2dd: am 9dabc784: Merge "docs: Android Developer Dashboard update - May 2015" into lmp-mr1-ub-docs
* commit 'a246d2dd4bf8fd6e00561e234f4d2bd41f2f3b68':
  docs: Android Developer Dashboard update - May 2015
2015-05-04 17:19:32 +00:00
Joe Fernandez
a246d2dd4b am 9dabc784: Merge "docs: Android Developer Dashboard update - May 2015" into lmp-mr1-ub-docs
* commit '9dabc784ee3fe1fd16bb9bc00eb8d3bafce2b078':
  docs: Android Developer Dashboard update - May 2015
2015-05-04 17:08:12 +00:00
Joe Fernandez
9dabc784ee Merge "docs: Android Developer Dashboard update - May 2015" into lmp-mr1-ub-docs 2015-05-04 16:57:42 +00:00
Joe Fernandez
1407c19de2 docs: Android Developer Dashboard update - May 2015
Change-Id: Ia4cfae39c0ccb744f9489615b6dd36f455a652c0
2015-05-04 09:56:13 -07:00
John Reck
a15eedd266 Fix setName use-after-free
Bug: 20764439
Change-Id: I7a0f85bb82629b1302db02015fa493dc09eb31f7
2015-05-04 09:44:28 -07:00
Jose Lima
5551aca2b8 Merge "Move ContentInfoExtender from Notification.java to a support library" into mnc-dev 2015-05-04 16:29:30 +00:00
Steve McKay
5d2c1d54b9 Merge "Ensure sort menu is shown as needed." into mnc-dev 2015-05-04 16:22:43 +00:00
Steve McKay
69aee097a3 Ensure sort menu is shown as needed.
This also hoists common code for options menu setup into BaseActivity.

Change-Id: Ie87b8188a6c142b2312c92dc0d0bd550f0b1e59f
2015-05-04 16:21:09 +00:00
Geoff Mendal
cf1f2ea5a7 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-05-04 14:44:12 +00:00
Geoff Mendal
123db791d0 Import translations. DO NOT MERGE
Change-Id: I6371c9d043b9d5436804c4d755ecc6a645ff7119
Auto-generated-cl: translation import
2015-05-04 07:43:39 -07:00
Andrew Flynn
ae499d19eb Merge "SystemUI Carrier Network Change unit tests" into mnc-dev 2015-05-04 14:43:20 +00:00
John Reck
05dc201ff6 Merge "Remove Bitmap#getSkBitmap" into mnc-dev 2015-05-04 14:34:52 +00:00
John Reck
1641c0cb0b Merge "Move AssetAtlas off of SkBitmap*" into mnc-dev 2015-05-04 14:34:39 +00:00
Andrew Flynn
5e75147806 SystemUI Carrier Network Change unit tests
- Includes unit tests for verifying mobile data indicators.
- Found one bug where dark mode icon wasn't showing properly when
  different from light mode icon.
- Comment out failing test
  NetworkControllerSignalTest#testSetCurrentSubscriptions

Bug: 20288155
Change-Id: Ib3c9ba224c4187cab35d6bfa68f6bd4c489cf98e
2015-05-04 10:25:09 -04:00