63684 Commits

Author SHA1 Message Date
Dianne Hackborn
5a75d29eec am d29032e3: Merge "Do not dispatch context selection events to non-visible fragments."
* commit 'd29032e362d41e81ed07d97b8103df855427cb14':
  Do not dispatch context selection events to non-visible fragments.
2012-04-25 21:30:40 -07:00
Dianne Hackborn
d29032e362 Merge "Do not dispatch context selection events to non-visible fragments." 2012-04-25 15:41:42 -07:00
Dianne Hackborn
d26a8b73c9 am cda8329e: Merge "Distance max set incorrectly"
* commit 'cda8329e37fa8588ba31f971f91a1257210a9768':
  Distance max set incorrectly
2012-04-24 15:59:29 -07:00
Dianne Hackborn
cda8329e37 Merge "Distance max set incorrectly" 2012-04-24 14:38:32 -07:00
Jake Wharton
0e567987d7 Do not dispatch context selection events to non-visible fragments.
When used in a `ViewPager`, fragments that are present on the adjacent,
cached pages will receive context selection dispatches which, depending
on your fragment contents, can be difficult to determine whether or not
the event truly originated from your view.

By using the visible hint we restrict dispatching to only those fragments
which are marked as being visible. Since the fragment pager adapter
updates this setting properly most implementations will be afforded this
fix without any change required. If the user is implementing their own
adapter they likely already understand the implications of these cached
fragments and the reponsibility for updating the boolean falls to them.

Mirrors support library change Ie6a72c1c82c2784774373670007b6f5948fe16da

Change-Id: I1bc6f74e26660ef4a3c20419c077e37992412e94
2012-04-23 22:02:32 -07:00
Dianne Hackborn
847d677f34 am 3c40675f: Merge "Fix potential NPE when saving fragment state."
* commit '3c40675f6f473896b93ca6416d29192d88e92622':
  Fix potential NPE when saving fragment state.
2012-04-23 21:44:43 -07:00
Dianne Hackborn
3c40675f6f Merge "Fix potential NPE when saving fragment state." 2012-04-23 19:00:48 -07:00
Jake Wharton
258029eeaa Fix potential NPE when saving fragment state.
If a fragment's saved view state is null and the user
visible hint is true then the `result` bundle will have
never been initialized to a value resulting in a
`NullPointerException`.

Mirrors support library change I8ba585bc6b9298841490d64bc22a8219cd261adb.

Change-Id: Iabd5ac293d2ece3771da9ef257479eca0dcd523c
2012-04-23 18:54:27 -07:00
Quddus Chong
22ec624c33 am 378da38d: docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
* commit '378da38db81093b0ce98dbe24ade3de0bb87bd5c':
  docs: Fixed the url for the Aplication Licensing link. Bug: 6322460
2012-04-23 14:04:49 -07:00
Quddus Chong
378da38db8 docs: Fixed the url for the Aplication Licensing link.
Bug: 6322460

Change-Id: I9a4ce2b79adf1470fd7a7b7b0f085f68544d1a4d
2012-04-23 12:55:35 -07:00
Andreas Sandblad
8239940d0e Distance max set incorrectly
The distance max used in the MotionRange is calculated
incorrectly.

Looks like a copy-and-paste error.

Change-Id: I2b6daab088df0fb69e05682b67ca33524ff35987
2012-04-23 09:53:30 +02:00
Dianne Hackborn
78e621118a am fee88fdb: Merge "Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode."
* commit 'fee88fdb64cd6c0a51b11426e28a1484390d473b':
  Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode.
2012-04-21 00:55:26 -07:00
Dianne Hackborn
5a3370e524 am 50b53700: Merge "Fix for too many binder calls in packagemanager"
* commit '50b53700aedfd3a662c26a2158c7d4937faf1b86':
  Fix for too many binder calls in packagemanager
2012-04-21 00:55:23 -07:00
Dianne Hackborn
fee88fdb64 Merge "Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode." 2012-04-20 18:36:53 -07:00
Dianne Hackborn
50b53700ae Merge "Fix for too many binder calls in packagemanager" 2012-04-20 18:34:53 -07:00
Scott Main
a5ca2aa2d7 am 40a33f3b: Merge "docs: add meta description to first training docs" into ics-mr1
* commit '40a33f3b0a3e29ddc98d31fbd9bf02a32aea5193':
  docs: add meta description to first training docs
2012-04-20 14:21:08 -07:00
Scott Main
40a33f3b0a Merge "docs: add meta description to first training docs" into ics-mr1 2012-04-20 14:18:29 -07:00
Scott Main
34bf13d593 docs: add meta description to first training docs
Change-Id: Iaf04ffbd10c8c5e1cf3896876fecb59f038127a7
2012-04-20 14:16:05 -07:00
Scott Main
40ed2939d3 am f90f4ed1: docs: fix more broken links
* commit 'f90f4ed19c1bd7e0492c1aa1494a1d8ed5185275':
  docs: fix more broken links
2012-04-20 14:11:17 -07:00
Scott Main
f90f4ed19c docs: fix more broken links
Change-Id: Ia5317f5ead8ac9810c893576596bd3a80f6ecbdb
2012-04-20 11:53:32 -07:00
Scott Main
6e89c342f9 am 71427bae: docs: fix broken link
* commit '71427bae84f51b5c269b2520c36d2811491e67fb':
  docs: fix broken link
2012-04-20 11:36:32 -07:00
Scott Main
71427bae84 docs: fix broken link
Change-Id: I24c44689713f7b27acde1d0b023598a5f7e6bb3b
2012-04-20 11:25:45 -07:00
Henrik Engström
9771a3144c Fix for too many binder calls in packagemanager
The packagemanager uses a ParceledListSlice to send back its lists
of installed packages and apps. The list slice has a method append
which, in addition to adding the item to the list, also returns true
if the list has passed a size limit (about 1/4 of the total possible
IPC parcel size) to let the caller know that he should send the
slice. However, when used by the pm, it has an extra ! that makes it
send whenever it ISN'T over this limit instead (and conversely, not
send if it is under). This causes a lot more calls than needed since
it sends tiny one item slices instead of larger ones. This patch
removes the extra ! making it behave correctly.

Change-Id: I8db46d380a25406b55f3214aee1505e81949acc5
2012-04-20 12:49:13 +02:00
Scott Main
186c1de710 am ffad98c7: docs: fix markup error in resource sidenav
* commit 'ffad98c72e1ee9101065e19318c74ab4c735a477':
  docs: fix markup error in resource sidenav
2012-04-19 19:48:43 -07:00
Scott Main
ffad98c72e docs: fix markup error in resource sidenav
Change-Id: I70f2c906e83b96661005d24eaef448ec9246590e
2012-04-19 19:31:29 -07:00
Scott Main
08a894ca95 am 5f8173f3: docs: fix javadoc link
* commit '5f8173f35b241e2f15dad1218b07216c9163b80d':
  docs: fix javadoc link
2012-04-19 19:27:51 -07:00
Scott Main
5f8173f35b docs: fix javadoc link
Change-Id: Ife9c4948c484eaf1e01dbb269bc61e657cc5527e
2012-04-19 19:24:50 -07:00
Scott Main
5f831aeeef am 421854e6: docs: add fragments class to training TOC
* commit '421854e6e8fe3418d22ae444567a06b5f308c896':
  docs: add fragments class to training TOC
2012-04-19 19:22:08 -07:00
Scott Main
421854e6e8 docs: add fragments class to training TOC
Change-Id: Ib54257d74f43eb85855685b49f8b0fa70ca6e984
2012-04-19 19:18:44 -07:00
Scott Main
28dd9d8395 am 67e988e0: Merge "docs: for AU basic training on fragments including ZIP for sample app" into ics-mr1
* commit '67e988e0e96dcd0f9c8f07e5b685dc7c8224a884':
  docs:  for AU basic training on fragments including ZIP for sample app
2012-04-19 19:09:31 -07:00
Scott Main
883ae2b986 am 6ea11c0a: Merge "docs: Add 101 class on activity lifecycle including ZIP for sample app" into ics-mr1
* commit '6ea11c0a20db6b808b92cfa40ef7f916825cee5e':
  docs: Add 101 class on activity lifecycle including ZIP for sample app
2012-04-19 19:06:44 -07:00
Scott Main
67e988e0e9 Merge "docs: for AU basic training on fragments including ZIP for sample app" into ics-mr1 2012-04-19 19:05:09 -07:00
Scott Main
6ea11c0a20 Merge "docs: Add 101 class on activity lifecycle including ZIP for sample app" into ics-mr1 2012-04-19 19:04:51 -07:00
Scott Main
d9ee0d71f4 docs: for AU basic training on fragments
including ZIP for sample app

Change-Id: Ifacdf63cb85274b1ff7a389c563d325604c0b7fa
2012-04-19 18:58:03 -07:00
Scott Main
be2f4edd2c docs: Add 101 class on activity lifecycle
including ZIP for sample app

Change-Id: Id2659ebe15094dad10da4d9bdefed527984fccd9
2012-04-19 18:53:40 -07:00
Dirk Dougherty
fd8c8af232 am 2a73a218: Doc change: Add link target for developer video block.
* commit '2a73a2189b2a592727d2e698d7dc09a973ffa273':
  Doc change: Add link target for developer video block.
2012-04-19 18:15:43 -07:00
Dirk Dougherty
2a73a2189b Doc change: Add link target for developer video block.
Change-Id: I24cd78a5c76029e9bf9425775d82944322c60f63
2012-04-19 18:11:09 -07:00
Dirk Dougherty
313776968a am 3e6b20be: Doc change: update links to developer video.
* commit '3e6b20be5c7e05b85947e40f2099189ef9b5bf79':
  Doc change: update links to developer video.
2012-04-19 17:26:18 -07:00
p13451
dbad287b62 Issue: Foreground activity performs [Resume] and [Pause] when any process died in sleep mode.
Step to Reproduce
1)	Turn off device’s screen. (Sleep mode)
2)	Kill any process.
A.	Engineer Version: kill [PID]
B.	User Version: am force-stop [Package Name]
3)	Foreground activity proceed [Resume] and [Pause] consecutively.

Reason: Since ICS version, activity goes to stopped status when screen turns off.
stopIfSleepingLocked( ) makes activity to stopped status but, pauseIfSleepingLocked( ) was used in GB
and, activity keep paused status and, this problem did not occur.
This change give effect to resuming activity when any process was killed.
Because, resume is proceed without exception for activity status.
The exception only filtered for [ActivityState.PAUSED] in sleep or shutdown mode.
and, resume complete flow when activity status was [ActivityState.STOPPED].

Solution for this issue:
We think that exception’s condition have to change if stopped activity status is intended in sleep mode.
According to activity life cycle, activity can not resume from stop status.

Also check [ActivityState.STOPPING]. :)

Change-Id: Icca3366ac30ffa3b18f6e2393e4d7309089ef26a
2012-04-20 09:21:08 +09:00
Dirk Dougherty
3e6b20be5c Doc change: update links to developer video.
Change-Id: I8c12f7b144308f53ba687713084d56ed14b3ac45
2012-04-19 17:10:10 -07:00
Jean-Baptiste Queru
ed11920c29 am 60247737: Merge "Fix build - re-generate current.txt"
* commit '60247737a7fa7f8e412b7047db4b5d33fe1d62a1':
  Fix build - re-generate current.txt
2012-04-19 15:14:34 -07:00
Jean-Baptiste Queru
60247737a7 Merge "Fix build - re-generate current.txt" 2012-04-19 14:31:55 -07:00
Jean-Baptiste Queru
c198cd1bb8 Fix build - re-generate current.txt
Change-Id: Id6a3100e4aaed473172237ab368e5aeeb7ccf577
2012-04-19 12:29:56 -07:00
Dirk Dougherty
91e1d4f4a3 am 93a333e3: Doc change: Add summary page of Android Developers Live videos.
* commit '93a333e32646778cd96265783e531dddd046367c':
  Doc change: Add summary page of Android Developers Live videos.
2012-04-19 12:01:12 -07:00
Dirk Dougherty
93a333e326 Doc change: Add summary page of Android Developers Live videos.
Change-Id: I650471562dd0d50496cbff2178b19b7896565d93
2012-04-19 11:26:06 -07:00
Joe Malin
cfab13640c am 20176edc: Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1
* commit '20176edc4ff43f10ab3be03d84bb9f02b7859bdb':
  DOC CHANGE: Add javadoc to ClipboardManager
2012-04-19 10:10:23 -07:00
Joe Malin
20176edc4f Merge "DOC CHANGE: Add javadoc to ClipboardManager" into ics-mr1 2012-04-19 10:08:06 -07:00
Dianne Hackborn
294374bf0a am 5e542108: Merge "Remove deprecation on android:enabled attribute."
* commit '5e54210810c61cd843d0307e91c2c6a0f1b655d6':
  Remove deprecation on android:enabled attribute.
2012-04-18 20:39:40 -07:00
Dianne Hackborn
ea8ceca869 am 90577af7: Merge "use utf8_length() instead of local function, isValidUtf8()"
* commit '90577af796cd526f842d6f07c2d95ed4fcc2f6d8':
  use utf8_length() instead of local function, isValidUtf8()
2012-04-18 20:39:37 -07:00
Dianne Hackborn
ec96305ea0 am 559167f3: Merge "Volume Overlay Bug When swapping streams"
* commit '559167f31de1a1a7138dbc2d5a7797e5b7cd59b0':
  Volume Overlay Bug When swapping streams
2012-04-18 20:39:34 -07:00