Commit Graph

1604 Commits

Author SHA1 Message Date
Vasu Nori
17ee56c994 fix javadoc on downloadmanager.remove()
Change-Id: Id48389acd12343b4dcc18ed3f77ab068b2bc5f85
2011-02-28 08:35:39 -08:00
Vasu Nori
47b5003851 Merge "bug:3474580 fix javadoc" 2011-02-27 15:13:28 -08:00
Vasu Nori
6bfdf74314 bug:3474580 fix javadoc
of all the solutions, fixing the javadoc seems like the most useful thing to do
on this otherwise confusing API.

Change-Id: I1fb438c1dd21c5a5f6805db277e6a3f119cdd6ce
2011-02-27 15:10:27 -08:00
Mike Lockwood
5053124827 KeyguardManager: Fix copy & paste error in isKeyguardLocked()
Change-Id: If5145e8483d3736d73698b3deb189f2253015543
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 11:23:49 -05:00
Jeff Brown
33bbfd2232 Add support for mouse hover and scroll wheel.
Dispatch ACTION_HOVER_MOVE and ACTION_SCROLL through the View
hierarchy as onGenericTouchEvent.  Pointer events dispatched
this way are delivered to the view under the pointer.  Non-pointer
events continue to be delivered to the focused view.

Added scroll wheel support to AbsListView, ScrollView,
HorizontalScrollView and WebView.  Shift+VSCROLL is translated
to HSCROLL as appropriate.

Added logging of new pointer events in PointerLocationView.

Fixed a problem in EventHub when a USB device is removed that
resulted in a long stream of ENODEV errors being logged until INotify
noticed the device was gone.

Note that the new events are not supported by wallpapers at this time
because the wallpaper engine only delivers touch events.

Make all mouse buttons behave identically.  (Effectively we only
support one button.)

Change-Id: I9ab445ffb63c813fcb07db6693987b02475f3756
2011-02-25 17:06:07 -08:00
Leon Scroggins
af5b406ad6 New flag to open intent in a new tab.
Bug:3405773

Change-Id: I363bfbfee90e98cd1e6a57452e599a79637a8555
2011-02-23 10:46:35 -05:00
Daniel Sandler
70564141ce Merge "Minor cleanups to Notification docs." 2011-02-23 06:43:12 -08:00
Daniel Sandler
5e98dbc770 Merge "Documentation: Notification.icon is mandatory." 2011-02-23 06:42:48 -08:00
Bjorn Bringert
ceb1997174 Merge "ActivityManager exposes launch count API." 2011-02-23 02:30:57 -08:00
Mike Lockwood
3c85a4e639 Merge "KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()" 2011-02-22 13:11:11 -08:00
Romain Guy
2569137929 Merge "Fix incorrect id name in ListActivity's documentation." 2011-02-22 11:22:23 -08:00
Romain Guy
ffa337483a Fix incorrect id name in ListActivity's documentation.
Change-Id: I83ce45d313f31b15b84abf64294eff19accc30b6
2011-02-22 11:24:15 -08:00
Peter Visontay
8d224caf98 ActivityManager exposes launch count API.
Bug: 3431684
Change-Id: I49d4fb0b1620aafaf251d77700bc017859328968
2011-02-22 11:51:49 +00:00
Mike Lockwood
520d8bc1d8 KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()
BUG: 3402847

Change-Id: I725838c9d96617dd4497f9c80417cd623eceb846
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-18 13:27:02 -05:00
Christian Sonntag
0a56e4ecda Merge "Turn on wallpaper restore debug logs" 2011-02-17 13:08:47 -08:00
Christopher Tate
00724cacc8 Turn on wallpaper restore debug logs
For investigation of bug 3462173 et alia

Change-Id: Id5f82a97c72d2a02f9a878029782fa698c5b124f
2011-02-17 12:58:59 -08:00
Dianne Hackborn
51510388ee Merge "Rework thumbnail API to not suffer from IPC failures." 2011-02-17 12:14:33 -08:00
Dianne Hackborn
d94df45b3d Rework thumbnail API to not suffer from IPC failures.
Thumbnails are now requested separately, so we don't exceed the
IPC buffer size limit.

Also implement issue #3349553: Please provide a hook to intercept
fragment-breadcrumb clicks

And maybe fix issue #3439199: Music Notification does not turn on
when app switching out of Music app

Change-Id: Ie939e78cc8ded07b18112760e053185947549f61
2011-02-16 18:53:31 -08:00
Jim Miller
91fd9a9772 Merge "Fix 3197205: Minor edits to device policy admin strings and documentation" 2011-02-16 17:49:17 -08:00
Jim Miller
6b85768058 Fix 3197205: Minor edits to device policy admin strings and documentation
Change-Id: I3788772c375b916752cd8a98ff5d3751448e4334
2011-02-16 16:27:41 -08:00
Andy Stadler
b84133740a am 04ddff69: am b1835085: Merge "@hide DPM global proxy settings" into honeycomb
* commit '04ddff6905a72d0d39d791eaba33546fb66b15a6':
  @hide DPM global proxy settings
2011-02-16 12:22:57 -08:00
Andy Stadler
d26727273d @hide DPM global proxy settings
They don't work as advertised, so remove from SDK.

Bug: 3460938

Change-Id: I87f80ebf38b228a4085630f1c2526c1d86b93dd7
2011-02-16 10:53:33 -08:00
Scott Main
55cdc0c904 am 0ab1b326: am 13033ea5: docs: fix misc broken links
* commit '0ab1b326c72afb2bd7798462fcdd8e5d3b440fd2':
  docs: fix misc broken links
2011-02-15 20:15:00 -08:00
Scott Main
13033ea527 docs: fix misc broken links
Change-Id: Id7d0ee36398aca452ceb2c3d15982397f58a06c6
2011-02-15 16:00:37 -08:00
Daisuke Miyakawa
5c40f3fcc9 Fix typo.
Change-Id: I32bbe182d51d5fe0289c8939fbadb57336ddd98a
2011-02-15 13:24:36 -08:00
Vasu Nori
f9e8523e62 bug:3425749 send notification for completed download
Change-Id: Ib46df5eaa9316fe0fc843fee1e4597e22768f4a8
2011-02-10 16:54:03 -08:00
Adam Powell
a1ea2c8457 Merge "Fix bug 3345948 - ActionBar.show()/hide() shouldn't animate if called before first layout" 2011-02-08 16:32:54 -08:00
Adam Powell
50efbed668 Fix bug 3345948 - ActionBar.show()/hide() shouldn't animate if called
before first layout

Enable/disable the action bar show/hide animation as part of the
activity/dialog lifecycle. This allows apps to set action bar
visibility state as the activity first becomes visible or returns to
visibility without the associated animation.

Change-Id: I85ff9268d2cb2c8fcd3364dd275597fe90529224
2011-02-08 16:24:15 -08:00
Scott Main
121370d25c am 3c565377: am b508d6e2: Merge "docs: fix links to revised fundamentals documents" into honeycomb
* commit '3c5653773d6b48f27aa52d746a7a6f8728d5ba36':
  docs: fix links to revised fundamentals documents
2011-02-08 15:06:54 -08:00
Scott Main
7aee61f5a9 docs: fix links to revised fundamentals documents
Change-Id: Ie2a660cce1d00f924c9fde5c6a00776307e5e1c7
2011-02-08 11:37:44 -08:00
Daniel Sandler
e97a3bce3c Minor cleanups to Notification docs.
Bug: 3240190
Change-Id: I25f954bf8346a0da281fa47c7e91abaff4eb4259
2011-02-07 16:47:07 -05:00
Daniel Sandler
d952daec06 Documentation: Notification.icon is mandatory.
Bug: 3325472
Change-Id: Ie685577fbb2f07c3a63dcf86f27172ff231de3b3
2011-02-07 16:33:36 -05:00
Daniel Sandler
32cd1d5053 resolved conflicts for merge of 31796297 to master
Change-Id: Ice632b3378f8f67c186245fdb63b022ade864ba1
2011-02-07 16:12:16 -05:00
Daniel Sandler
4ad2547fe0 Merge "Ongoing notification for GPS use." into honeycomb 2011-02-03 20:49:10 -08:00
Daniel Sandler
e40451a89d Ongoing notification for GPS use.
This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.

The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).

Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).

Bug: 3412807

Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
2011-02-03 21:11:46 -05:00
Vasu Nori
1b67231483 am 9ec496b4: am e1cbd0a8: Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"
* commit '9ec496b484305defa6cbb691b85836ace8b73a02':
  Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"
2011-02-03 18:08:44 -08:00
Vasu Nori
e1cbd0a85f Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"
This reverts commit 6bc710f769, reversing
changes made to 7ba35f5ab3.
2011-02-03 12:20:31 -08:00
Vasu Nori
b73fb5401e am 99e8e047: am 6bc710f7: Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb
* commit '99e8e0470249ce145003cc1eabc5ae391af34a06':
  bug:3414192 new API to designate a download to be OTA update
2011-02-02 17:15:16 -08:00
Vasu Nori
72725ebcad bug:3414192 new API to designate a download to be OTA update
Change-Id: Iae2f6185e130324ad956f594e78b1d8b2176c808
2011-02-02 15:08:49 -08:00
Brian Muramatsu
e776768b26 am 0872e36c: am 1d696fa4: Merge "Fix Incorrect Times in TimePickerDialog" into honeycomb
* commit '0872e36ccb0926fe1fb04a0bc6593f9c167dacbc':
  Fix Incorrect Times in TimePickerDialog
2011-02-01 18:13:24 -08:00
Brian Muramatsu
87879e8ef9 Fix Incorrect Times in TimePickerDialog
Bug 3414311

TimePicker#setCurrentHour subtracts 12 from the given hour if
is24HourView returns false. TimePickerDialog calls setCurrentHour before
setIs24HourView, so the 12 will always be substracted from the time.
Reorder the statements so that TimePickerDialog sets is24HourView,
before setting the hour and time.

Change-Id: Ib997397b04dbdd767e67806aea7614426019e938
2011-02-01 17:56:29 -08:00
Dianne Hackborn
cc322207cc am 97510f6a: am 260c3c77: Fix issue #3381489: IllegalStateException: attempt to re-open...
* commit '97510f6abda493119cbf7db84064291a7edacfc0':
  Fix issue #3381489: IllegalStateException: attempt to re-open...
2011-01-30 18:08:12 -08:00
Dianne Hackborn
260c3c77d9 Fix issue #3381489: IllegalStateException: attempt to re-open...
...an already-closed object: android.database.sqlite.SQLiteQuery

It turns out there is a state we are missing -- the loader is
still needed, but in the inactive list.  In this case the loader
needs to continue holding on to its current data, and not deliver
any new data (which would result in it releasing its old data).

This introduces the new state to Loader, and uses it in
AsyncTaskLoader so all subclasses of that should get the new
correct behavior.

A further improvement would be to unregister CursorLoader's
content listener when going in to this state, but that can
wait for later.

Change-Id: I6d30173b94f8e30b5be31d018accd328cc3388ec
2011-01-30 17:58:49 -08:00
The Android Open Source Project
b2abd8c424 Mass merge from gingerbread - do not merge
Change-Id: I45dc3596bf4211d8f91c64f2d1d00588878df629
2011-01-30 12:40:38 -08:00
Joe Onorato
5be5f51c2e am 7f51171a: am a0f2cdb5: Merge "999" into honeycomb
* commit '7f51171ab3afebe9e9695c0991c579bc959a180d':
  999
2011-01-28 18:52:26 -08:00
Joe Onorato
7f51171ab3 am a0f2cdb5: Merge "999" into honeycomb
* commit 'a0f2cdb50720b0a1960e5342b376867b2c9ad1df':
  999
2011-01-28 18:50:03 -08:00
Joe Onorato
c6925ca684 999
Bug: 3403177
Change-Id: Ib53098f364bb15249f27f89127e0d2a4daf81d6a
2011-01-28 18:46:20 -08:00
Joe Onorato
bafa3a31f5 am d6874a10: am cfd0bafd: Merge changes Iaa7bc042,Icc312fc9,I50ba06ed into honeycomb
* commit 'd6874a105ee584b1dc60aae2f2af7c78ee875114':
  Make keyguard also ask to turn the back button off, now that it is controlled separately.
  Allow independent control of the back and the other navigation buttons.
  Allow the status bar disable flags to be used as View's system ui visibility fields.
2011-01-28 13:45:51 -08:00
Joe Onorato
d6874a105e am cfd0bafd: Merge changes Iaa7bc042,Icc312fc9,I50ba06ed into honeycomb
* commit 'cfd0bafdebf1fccd3f5a0baed5cad8a539546e9b':
  Make keyguard also ask to turn the back button off, now that it is controlled separately.
  Allow independent control of the back and the other navigation buttons.
  Allow the status bar disable flags to be used as View's system ui visibility fields.
2011-01-28 13:43:22 -08:00
Joe Onorato
cfd0bafdeb Merge changes Iaa7bc042,Icc312fc9,I50ba06ed into honeycomb
* changes:
  Make keyguard also ask to turn the back button off, now that it is controlled separately.
  Allow independent control of the back and the other navigation buttons.
  Allow the status bar disable flags to be used as View's system ui visibility fields.
2011-01-28 13:40:45 -08:00