Skip to content

Commit f76a50c

Browse files
author
Ken Wakasa
committed
Fix obvious typos under frameworks/base/core
Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
1 parent a64890a commit f76a50c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+88
-88
lines changed

core/java/android/accessibilityservice/AccessibilityService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
* </ul>
105105
* <h3>Retrieving window content</h3>
106106
* <p>
107-
* An service can specify in its declaration that it can retrieve the active window
107+
* A service can specify in its declaration that it can retrieve the active window
108108
* content which is represented as a tree of {@link AccessibilityNodeInfo}. Note that
109109
* declaring this capability requires that the service declares its configuration via
110110
* an XML resource referenced by {@link #SERVICE_META_DATA}.

core/java/android/accounts/AbstractAccountAuthenticator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* "Account & Sync" settings page and one user of the android:smallIcon is the Contact Application's
6060
* tab panels.
6161
* <p>
62-
* The preferences attribute points to an PreferenceScreen xml hierarchy that contains
62+
* The preferences attribute points to a PreferenceScreen xml hierarchy that contains
6363
* a list of PreferenceScreens that can be invoked to manage the authenticator. An example is:
6464
* <pre>
6565
* &lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&gt;

core/java/android/animation/Animator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public Animator clone() {
208208
* this call to its child objects to tell them to set up the values. A
209209
* ObjectAnimator object will use the information it has about its target object
210210
* and PropertyValuesHolder objects to get the start values for its properties.
211-
* An ValueAnimator object will ignore the request since it does not have enough
211+
* A ValueAnimator object will ignore the request since it does not have enough
212212
* information (such as a target object) to gather these values.
213213
*/
214214
public void setupStartValues() {
@@ -220,7 +220,7 @@ public void setupStartValues() {
220220
* this call to its child objects to tell them to set up the values. A
221221
* ObjectAnimator object will use the information it has about its target object
222222
* and PropertyValuesHolder objects to get the start values for its properties.
223-
* An ValueAnimator object will ignore the request since it does not have enough
223+
* A ValueAnimator object will ignore the request since it does not have enough
224224
* information (such as a target object) to gather these values.
225225
*/
226226
public void setupEndValues() {

core/java/android/animation/ValueAnimator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ public void setObjectValues(Object... values) {
400400

401401
/**
402402
* Sets the values, per property, being animated between. This function is called internally
403-
* by the constructors of ValueAnimator that take a list of values. But an ValueAnimator can
403+
* by the constructors of ValueAnimator that take a list of values. But a ValueAnimator can
404404
* be constructed without values and this method can be called to set the values manually
405405
* instead.
406406
*

core/java/android/app/Activity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@
203203
* with the user. Between these two methods you can maintain resources that
204204
* are needed to show the activity to the user. For example, you can register
205205
* a {@link android.content.BroadcastReceiver} in onStart() to monitor for changes
206-
* that impact your UI, and unregister it in onStop() when the user an no
207-
* longer see what you are displaying. The onStart() and onStop() methods
206+
* that impact your UI, and unregister it in onStop() when the user no
207+
* longer sees what you are displaying. The onStart() and onStop() methods
208208
* can be called multiple times, as the activity becomes visible and hidden
209209
* to the user.
210210
*

core/java/android/app/Dialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ public void onBackPressed() {
591591
}
592592

593593
/**
594-
* Called when an key shortcut event is not handled by any of the views in the Dialog.
594+
* Called when a key shortcut event is not handled by any of the views in the Dialog.
595595
* Override this method to implement global key shortcuts for the Dialog.
596596
* Key shortcuts can also be implemented by setting the
597597
* {@link MenuItem#setShortcut(char, char) shortcut} property of menu items.

core/java/android/app/PendingIntent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public IntentSender getIntentSender() {
351351

352352
/**
353353
* Cancel a currently active PendingIntent. Only the original application
354-
* owning an PendingIntent can cancel it.
354+
* owning a PendingIntent can cancel it.
355355
*/
356356
public void cancel() {
357357
try {

core/java/android/app/Service.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ public int onStartCommand(Intent intent, int flags, int startId) {
453453

454454
/**
455455
* Called by the system to notify a Service that it is no longer used and is being removed. The
456-
* service should clean up an resources it holds (threads, registered
456+
* service should clean up any resources it holds (threads, registered
457457
* receivers, etc) at this point. Upon return, there will be no more calls
458458
* in to this Service object and it is effectively dead. Do not call this method directly.
459459
*/

core/java/android/app/admin/DeviceAdminReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public class DeviceAdminReceiver extends BroadcastReceiver {
165165
= "android.app.action.ACTION_PASSWORD_EXPIRING";
166166

167167
/**
168-
* Name under which an DevicePolicy component publishes information
168+
* Name under which a DevicePolicy component publishes information
169169
* about itself. This meta-data must reference an XML resource containing
170170
* a device-admin tag. XXX TO DO: describe syntax.
171171
*/

core/java/android/bluetooth/AtCommandResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package android.bluetooth;
1818

1919
/**
20-
* The result of execution of an single AT command.<p>
20+
* The result of execution of a single AT command.<p>
2121
*
2222
*
2323
* This class can represent the final response to an AT command line, and also

0 commit comments

Comments
 (0)