summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* cherrypick from klp-docs docs: formatting for html Change-Id: ↵Scott Rowe2014-07-231-1/+1
| | | | | | I1451615c09cc003a03d7585176036c4d695408f1 Change-Id: I21424c1407b44554ac135248dabc2328bc70aef9
* cherrypick from klp-docs docs: Corrected doc for ↵Andrew Solovay2014-07-151-12/+10
| | | | | | | | | | | | | | | | | getLaunchIntentForPackage(). Change-Id: I2eab0956eaedac71289e19a3618a3553908f8c38 Doc had inaccurately said that getLaunchIntentForPackage() throws an exception if the package name is not recognized; in fact, it returns null. Also cleaned up some style issues for that Javadoc item. Doc is staged to: http://asolovay.mtv:9655/reference/android/content/pm/PackageManager.html#getLaunchIntentForPackage(java.lang.String) Bug: 15022655 Original SHA1: I2eab0956eaedac71289e19a3618a3553908f8c38 Change-Id: Ief8dfaac248ba03779c6f13237aff9b26d362fd9
* Import translations. DO NOT MERGEBaligh Uddin2014-07-052-16/+16
| | | | | Change-Id: I3e2eae5b30231f3dc719c231d51c35234ed9dd94 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-07-015-129/+129
| | | | | Change-Id: I827912aaef1d4a9bd0d38cdcbc24143d91704b56 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2014-06-252-51/+51
| | | | | Change-Id: I12eee2c77423ff9509625173bf537dbf02d411f0 Auto-generated-cl: translation import
* Merge "Import translations. DO NOT MERGE" into klp-modular-devBaligh Uddin2014-06-209-30/+30
|\
| * Import translations. DO NOT MERGEBaligh Uddin2014-06-199-30/+30
| | | | | | | | | | Change-Id: I5c10b06f4e78acd1f479d0634e6bc43209d5f978 Auto-generated-cl: translation import
* | Move emulator check & save system properties accessMichael Kolb2014-06-201-3/+7
| | | | | | | | | | | | Bug: 15775489 Change-Id: I375aee36b212ae044101a65b65c51e6f889fd263
* | Make WindowInsets.isRound work with emulatorMichael Kolb2014-06-201-2/+8
|/ | | | | | Bug: 15775489 Change-Id: I53a14ccd3be776d46c9cea43c0d5d3f41674dd75
* Limit swipe dismiss progress to positive valuesMark Renouf2014-06-181-5/+4
| | | | | BUG: 15716749 Change-Id: Ibd6daa1a515611e5c9b8a02c6df75130aa8c093b
* DO NOT MERGE Reduce chance of notification listener dropped messages.Griff Hazen2014-06-173-4/+44
| | | | | | | | | | | | | | | | | | | | The existing code for notification manager/listeners uses a oneway binder api to deliver messages. One problem with this is that notification objects can sometimes get fairly large, and can bump into the oneway binder transaction buffer if many happen at once. To reduce this issue, flip the service into a oneway delivery of a status bar notification holder, whose wrapped content is then immediately fetched upon receipt of the one-way message. This moves the meat of the fetch to be over a two-way interface without changing the properties of which object is actually sent (a tickle solution with lookup key would have changed this) Further research: attempt to chunk notification objects themselves. They can sometimes transfer hundreds of KB over a binder transaction. Bug: 15426276 Change-Id: Ib1a1f4ff848c16f80bcf2ae4dfd2b87a9091f0b2
* Merge "fix javadocs b/14414251" into klp-modular-devRobert Ly2014-06-171-30/+30
|\
| * fix javadocs b/14414251Robert Ly2014-06-081-30/+30
| | | | | | | | Change-Id: I0a0b8f1c42c45b9e7b6c5282c864319cf0278f14
* | Document best practices for display intent activities.Griff Hazen2014-06-171-2/+4
| | | | | | | | | | | | Bug: 15412926 Change-Id: I1c3082dfde85cd03ffc97be6383a0608f925edcf
* | Merge "DO NOT MERGE Cherry picking 3 CLs to fix CTS testFitSystemWindows" ↵Vinod Krishnan2014-06-134-11/+65
|\ \ | | | | | | | | | into klp-modular-dev
| * | DO NOT MERGE Cherry picking 3 CLs to fix CTS testFitSystemWindowsAdam Powell2014-06-134-11/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---- Explicitly track consumed state for WindowInsets Treating 0-insets as fully consumed is incorrect since it means that you can't dispatch empty insets down the view hierarchy - traversal terminates immediately. Track consumed state independent of actual values. Replacing a given set of insets with all zeroes will mark it consumed. ---- Fix incorrect dispatch of empty WindowInsets from ActionBarOverlayLayout Fix a bug where ActionBarOverlayLayout was using a private constructor of WindowInsets to return empty insets that should have been marked fully consumed. This caused dispatch to further child views not to stop appropriately, corrupting application layout in some cases. --- Fix CTS regression in fitSystemWindows Don't attempt to apply null insets from a call to fitSystemWindows. Immediately return false since null insets cannot be applied. ---- Bug: 15452706 Change-Id: I34276a90305b141b4653aef0048f70350c69d02a
* | | Revert "Revert "Close ActivityView and ActivityContainer cleanly.""Craig Mautner2014-06-131-5/+12
|/ / | | | | | | This reverts commit dd5c94717077c9366dee364c88a86a78e5ee2688.
* | Revert "Close ActivityView and ActivityContainer cleanly."Justin Koh2014-06-131-12/+5
| | | | | | | | | | | | | | | | | | This reverts commit 4a9f129874785d34930f165268dbc618e4bc2618. Conflicts: services/core/java/com/android/server/am/ActivityStackSupervisor.java Change-Id: Ic1f4df7f4cb644de7ddebcdc8ce632b46c5ba8f2
* | Close ActivityView and ActivityContainer cleanly.Craig Mautner2014-06-111-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Do not call IActivityContainer.release() from ActivityView.finalize() if it has already been called from ActivityView.release(). Eliminates IBinder finalized Exception. - Call ActivityRecord.makeFinishing() before calling ActivityStack. destroyActivityLocked(). Forces call to scheduleDestroyActivity() and eventually removeFromHistory(). Otherwise removeFromHistory() is never called and window manager AppWindowTokens become orphans. - Defer call to ActivityContainer.detachLocked() until all activities have finished or timed out. Fixes problem where Display is removed while activities are still launching. - Call ActivityStackSupervisor.deleteActivityContainer() when all activities have finished or timed out. Fixes orphaned ActivityContainers. Fixes bug 15450798. Fixes bug 15484154. Fixes bug 15383479. Fixes bug 15316558. Fixes bug 15168560. Fixes bug 15143914. Change-Id: Id3c641976b6f825458690f9ee063c07818b56f23
* | Reduce notification service historical archive size to 1 for watches.Griff Hazen2014-06-103-0/+8
| | | | | | | | | | | | | | To remove the memory footprint Bug: 15536759 Change-Id: I081bd962fef689b5d8ed126208499d56ebf4ae38
* | Merge "Catch OperationUnsupportedException when linkifying using WebView" ↵Justin Koh2014-06-101-23/+30
|\ \ | | | | | | | | | into klp-modular-dev
| * | Catch OperationUnsupportedException when linkifying using WebViewAaron Whyte2014-06-091-23/+30
| | | | | | | | | | | | | | | | | | | | | | | | This fixes a CTS test for Wearable. We cannot check for FEATURE_WEBVIEW, because there's no way to get a PackageManager from within these static methods. Bug: 15131296 Change-Id: I7bf7564b6209f330a413ed54a94be1e07fedb30d
* | | Remove WebIconDatabase calls from android.provider.BrowserJustin Koh2014-06-091-30/+9
|/ / | | | | | | | | | | | | This class has been deprecated, so no need to call it. Bug: 15088030 Change-Id: I6092a9d5f7a12cc14def0996efff7cb689935acb
* | Add NPE check to getSystemWindowInsetsJustin Koh2014-06-091-1/+6
| | | | | | | | | | Bug: 15452706 Change-Id: Ica83593eadd0155e1370dba268a9f15ad0affa7d
* | Fix Browser when running on a platform without webviewJustin Koh2014-06-091-8/+21
| | | | | | | | | | | | | | | | | | Fix Browser: can't access the WebIconDatabase. Added build version checks so that the icon database isn't used on devices <= KITKAT: the entire class is deprecated as of JB MR2 anyway, according to the comments. Bug: 15088030 Change-Id: I4403b1a429c08abb288f5ee3bae7eb2e23303916
* | Adding a way to stub Vpn ConfirmDialogVinod Krishnan2014-06-053-1/+11
| | | | | | | | | | | | | | | | | | - This is needed to pass CTS tests on the wear devices - Related CL: http://ar/479486 Bug: 15087985 Change-Id: I56673ff6085618a03ec61031e3af0f6631cb3425
* | Merge "Add interface name for proxy network type." into klp-modular-devHui Lu2014-06-051-3/+5
|\ \
| * | Add interface name for proxy network type.Hui Lu2014-06-051-3/+5
| |/ | | | | | | | | | | | | This will make test android.net.cts.ConnectivityManagerTest#testRequestRouteToHost pass. Change-Id: I5a14b6d705e87018e1e2c031aaacee533536a50b Bug: 15320910
* | Merge "Add callback when ActivityView activities complete" into klp-modular-devCraig Mautner2014-06-052-0/+37
|\ \ | |/ |/|
| * Add callback when ActivityView activities completeCraig Mautner2014-06-042-0/+37
| | | | | | | | | | | | | | | | | | Users of ActivityViews can now be informed when there are no more active activities in ActivityView by registering a callback. Fixes bug 15330616. Change-Id: I39d55bdb0db8b0a12ee751cdcb039b7fbb899c85
* | Force all windows to redraw before unblanking screenCraig Mautner2014-06-022-6/+6
|/ | | | | | | | | | The screen turning on would show windows as they were when the screen turned off. This fix forces all showing windows to redraw first and only then allow the screen to turn on. Fixes bug 15092354. Change-Id: I349995bf6446d6c462dccdc2b599bab9ab0ab2c8
* Additional doc fixes for WearableExtenderGriff Hazen2014-05-281-4/+6
| | | | Change-Id: I3764e4d97c0007b905ff0f3eb553234668fd50e1
* Add full screen size preset to WearableExtenderGriff Hazen2014-05-271-0/+8
| | | | | | | For custom display notifications. Bug: 14838838 Change-Id: Id038d994d61d3c89dba08232a424a5b1b934e5db
* Doc fixes for Notification.WearableExtenderGriff Hazen2014-05-271-19/+44
| | | | Change-Id: I22947e30d329e667079555ac4ac5f9b25d6bd3fa
* Add confidence to the heart rate monitor definition and clarify onAccuracyChangeEtienne Le Grand2014-05-235-31/+49
| | | | Change-Id: I686d07dcd603bf3c3be3c1471de8be3b4e240855
* am b5960898: am 9562863c: doc: Updated branding guidelines per request from ↵Andrew Solovay2014-05-221-1/+8
|\ | | | | | | | | | | | | | | @deniseamling. * commit 'b59608981ff464b85a26987b8822913e41e72291': doc: Updated branding guidelines per request from @deniseamling. Noted that OnSharedPreferenceChangeListener does not store a strong reference to the listener.
| * am 9562863c: doc: Updated branding guidelines per request from @deniseamling.Andrew Solovay2014-05-221-1/+8
| |\ | | | | | | | | | | | | | | | * commit '9562863cf184fe99be223aff9700b3ceb8559e1a': doc: Updated branding guidelines per request from @deniseamling. Noted that OnSharedPreferenceChangeListener does not store a strong reference to the listener.
| | * Noted that OnSharedPreferenceChangeListener does not store a strong referenceAndrew Solovay2014-05-191-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the listener. Because of this, the listener is susceptible to garbage collection unless the caller preserves a strong reference to it. We suggest that the caller store a reference to the listener in an instance field of an object that will exist as long as the listener is needed. Also fixed code sample formatting in Settings.jd (some lines were overlong). Docs are staged in: http://asolovay.mtv:8901/guide/topics/ui/settings.html#Listening http://asolovay.mtv:8901/reference/android/content/SharedPreferences.html#registerOnSharedPreferenceChangeListener(android.content.SharedPreferences.OnSharedPreferenceChangeListener) Bug: 10437648 Change-Id: I48f5b87fa2ca7a240661d0cc00114d225819d54d
* | | Merge "Adding activity enter/exit animations for wearables" into klp-modular-devVinod Krishnan2014-05-225-12/+70
|\ \ \
| * | | Adding activity enter/exit animations for wearablesVinod Krishnan2014-05-225-12/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14939877 Bug: 15022424 Change-Id: Id230066c675254a63c5222719a05f86c6b897fa5
* | | | Api updates for wearable extensions to notificationsGriff Hazen2014-05-224-918/+776
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Move Extender outside of Builder 2. Rename apply/applyTo to extend 3. Move Wearable extenders into Notification.java 4. Collapse Builder model into single classes 5. Use Bundle for storage: no new parcelable types. Minor fix to RemoteInput to use flags int for boolean options. Change-Id: I40012fd0458ec103eabf75ed4c91f636e02f4c8f
* | | | Merge "Import translations. DO NOT MERGE" into klp-modular-devBaligh Uddin2014-05-222-14/+14
|\ \ \ \
| * | | | Import translations. DO NOT MERGEBaligh Uddin2014-05-212-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0d1bfc06ee6a3f8a0f75eaa37a055f0b6f887076 Auto-generated-cl: translation import
* | | | | Merge "Make a smaller cliff for dismissing cards" into klp-modular-devMindy Pereira2014-05-211-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Make a smaller cliff for dismissing cardsMindy Pereira2014-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes b/14997474 swipe to dismiss cliff guard may be too big Change-Id: I3e681f1c6dc3eaac37a0e840b36f4c7041e86e62
* | | | | Adding more DeviceDefault for CTS testsVinod Krishnan2014-05-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 15091518 Change-Id: Iddabacbd023f031c9c4ec6fd4c4f60ce17b606c4
* | | | | Merge "Import translations. DO NOT MERGE" into klp-modular-devBaligh Uddin2014-05-212-4/+4
|\ \ \ \ \
| * | | | | Import translations. DO NOT MERGEBaligh Uddin2014-05-202-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I813af1cbb2db0674a3cf81649f0d130ebb2d6164 Auto-generated-cl: translation import
* | | | | | Merge "Make power button behavior configurable." into klp-modular-devJeff Brown2014-05-214-2/+24
|\ \ \ \ \ \
| * | | | | | Make power button behavior configurable.Jeff Brown2014-05-204-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow power button to be used to either go to sleep as usual, which may doze, or skip that completely and really go to sleep. May also really go to sleep and go home all at once. Bug: 14406056 Change-Id: Ia19e2551b9c2a72271bb2eddd5c0d1749761e019