Commit Graph

58832 Commits

Author SHA1 Message Date
Adam Lesinski
f2489ad456 Merge "Optimize ResTable::getLocales() to improve bindApplication performance" into nyc-dev am: b5abb78
am: eaf83ef

* commit 'eaf83ef61b33383ae47d1e2e96e99d7d312d2d3b':
  Optimize ResTable::getLocales() to improve bindApplication performance

Change-Id: If52c56fbc0ffff43e5eb836aacd11f3f8764e4c7
2016-04-13 22:37:08 +00:00
Adam Lesinski
eaf83ef61b Merge "Optimize ResTable::getLocales() to improve bindApplication performance" into nyc-dev
am: b5abb78

* commit 'b5abb78b7c329069d5d5e7fd9c6a6e5e81f79c90':
  Optimize ResTable::getLocales() to improve bindApplication performance

Change-Id: I9b2e5d8488f15a400287f8cfacc3531bdb007068
2016-04-13 22:25:45 +00:00
Adam Lesinski
b5abb78b7c Merge "Optimize ResTable::getLocales() to improve bindApplication performance" into nyc-dev 2016-04-13 21:53:47 +00:00
Yin-Chia Yeh
8790583fa3 Merge "Camera: update expectation of post RAW sensitivity control" into nyc-dev am: 11aade9
am: b2bbd21

* commit 'b2bbd2114d33c4804f2d53bfe0c5e17464d1c0e7':
  Camera: update expectation of post RAW sensitivity control

Change-Id: I1b1030148e19ac308647b043bc2a5d7c56c86f53
2016-04-13 20:50:39 +00:00
Yin-Chia Yeh
b2bbd2114d Merge "Camera: update expectation of post RAW sensitivity control" into nyc-dev
am: 11aade9

* commit '11aade9f6e82844d494c43a5ad0bbae87cbf9601':
  Camera: update expectation of post RAW sensitivity control

Change-Id: I87aada74f3c4780a037872af737b61b1e2c6bb74
2016-04-13 20:43:40 +00:00
Yin-Chia Yeh
11aade9f6e Merge "Camera: update expectation of post RAW sensitivity control" into nyc-dev 2016-04-13 20:33:48 +00:00
Adam Lesinski
5520581b5f Optimize ResTable::getLocales() to improve bindApplication performance
Change from linear searching for uniqueness to binary search.

Bug:27198799
Change-Id: Ifa4672929df286c4693ab1f77716f08945941b0c
2016-04-13 13:25:09 -07:00
Sudheer Shanka
38e0c19717 Merge "Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence." into nyc-dev am: fd580f7
am: 0306304

* commit '03063041002228b247d68a53198c76824a8d30f3':
  Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence.

Change-Id: I1ea3d55c212811c118c8912fe8a8efa302938e60
2016-04-13 20:24:59 +00:00
Sudheer Shanka
0306304100 Merge "Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence." into nyc-dev
am: fd580f7

* commit 'fd580f7d1a5a19b062bea49602f0f6136bce7e5e':
  Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence.

Change-Id: Ia7286ea72f55ec5e717785ecd30c05f6ae92d673
2016-04-13 20:21:34 +00:00
Sudheer Shanka
fd580f7d1a Merge "Update {set,get}{Long,Short}SupportMessage APIs to use CharSequence." into nyc-dev 2016-04-13 20:12:05 +00:00
Rob Carr
d7435cb7f2 Merge "Correct PopupWindow spaceAbove calculation." into nyc-dev am: caa747b
am: 482fb88

* commit '482fb889fa7a24afc0ed288538f85b339607f79b':
  Correct PopupWindow spaceAbove calculation.

Change-Id: I7235e726c8b73c7f6437dd98d58e45f6dbbff3dc
2016-04-13 19:04:12 +00:00
Robert Carr
482fb889fa Merge "Correct PopupWindow spaceAbove calculation." into nyc-dev
am: caa747b

* commit 'caa747b9ac0076f52d01f0c3929cb8e56ff6d3b9':
  Correct PopupWindow spaceAbove calculation.

Change-Id: I87eb75252c9cffd64fb281646d249443eda47c74
2016-04-13 19:00:06 +00:00
Mitchell Wills
e852018db5 Merge "Make WifiScanner state not static and use ConnectivityThread" into nyc-dev am: 3c58709
am: 53560db

* commit '53560db137aeab0a25c6a81c61da4426a676ce37':
  Make WifiScanner state not static and use ConnectivityThread

Change-Id: If2d49d771b63e0fd1bd96bdd976048da9435648a
2016-04-13 18:56:25 +00:00
Rob Carr
caa747b9ac Merge "Correct PopupWindow spaceAbove calculation." into nyc-dev 2016-04-13 18:55:00 +00:00
Mitchell Wills
53560db137 Merge "Make WifiScanner state not static and use ConnectivityThread" into nyc-dev
am: 3c58709

* commit '3c5870912b6dc20e13c3af5e078a600b88904e99':
  Make WifiScanner state not static and use ConnectivityThread

Change-Id: Ia2c6bb955461884e88d13af885e0011fcafec7b5
2016-04-13 18:53:05 +00:00
Mitchell Wills
3c5870912b Merge "Make WifiScanner state not static and use ConnectivityThread" into nyc-dev 2016-04-13 18:41:55 +00:00
Sudheer Shanka
fe7184e5b2 Merge "Add an intent action ACTION_SHOW_APP_INFO." into nyc-dev am: b53a36b
am: dab38b0

* commit 'dab38b0aaa5086656b519f3fe636f6619228bc29':
  Add an intent action ACTION_SHOW_APP_INFO.

Change-Id: Iad5fe29e6b7874fe63cc04636a2c91ddc9c14650
2016-04-13 18:01:00 +00:00
Sudheer Shanka
dab38b0aaa Merge "Add an intent action ACTION_SHOW_APP_INFO." into nyc-dev
am: b53a36b

* commit 'b53a36b8cf331b0edd73909c42024fac0984ffcc':
  Add an intent action ACTION_SHOW_APP_INFO.

Change-Id: Ice3c78b6b45dceba83462175bd294898b7b1bea0
2016-04-13 17:56:37 +00:00
Dianne Hackborn
7d4844eaba Merge "Fix issue #28035090: Disallow abuse of JobScheduler" into nyc-dev am: e3f617b
am: 3ba3ad2

* commit '3ba3ad21880ebc0b17171545e7c226b63e2c473b':
  Fix issue #28035090: Disallow abuse of JobScheduler

Change-Id: I4a02d5fed734846b1e9068950376d6db01cb0aba
2016-04-13 17:53:06 +00:00
Dianne Hackborn
3ba3ad2188 Merge "Fix issue #28035090: Disallow abuse of JobScheduler" into nyc-dev
am: e3f617b

* commit 'e3f617b23f202e11d4ee67d322609ee7b07b11bb':
  Fix issue #28035090: Disallow abuse of JobScheduler

Change-Id: I8ed129b1c5daabbddc57fdb95efdd15ba101184d
2016-04-13 17:49:32 +00:00
Sudheer Shanka
b53a36b8cf Merge "Add an intent action ACTION_SHOW_APP_INFO." into nyc-dev 2016-04-13 17:47:07 +00:00
Dianne Hackborn
e3f617b23f Merge "Fix issue #28035090: Disallow abuse of JobScheduler" into nyc-dev 2016-04-13 17:44:52 +00:00
Dianne Hackborn
807de78c07 Fix issue #28035090: Disallow abuse of JobScheduler
We now keep track of how long each app has been running a job
for, in 30 minute batches.  If it is running jobs frequently,
we will bump down the priority its jobs run at to allow other
jobs to run before it.

Currently we count both pending and active as the job running,
which means that an app that has jobs waiting in the pending
queue will count against its abuse prevention.  This could
allow starvation -- if we bump down the priority of an app's
jobs and the system is so busy continually that they sit
in the pending queue a lot -- it could never recover.  But I
think that is okay...  if we are really in a state where we
are continually running as many jobs as possible, we probably
have other larger issues.

Change-Id: I838aa4b5840e91df49a1e17b53188d6e4a66a6d1
2016-04-13 10:42:51 -07:00
Siyamed Sinir
ed530f5830 Merge "Fix StaticLayout left/right indent" into nyc-dev am: 9dba546
am: bd0e4e7

* commit 'bd0e4e7b36c1ff335b52fc27a9170ee72c1736ac':
  Fix StaticLayout left/right indent

Change-Id: Ifae9bda90c76eb7f34690e8bea21d5e3f2b8f116
2016-04-13 17:39:27 +00:00
Siyamed Sinir
bd0e4e7b36 Merge "Fix StaticLayout left/right indent" into nyc-dev
am: 9dba546

* commit '9dba546d9aec4668b2b97cd15dc6fb35bc95ece6':
  Fix StaticLayout left/right indent

Change-Id: Ifdfe131f41b2b21b59f80ff651a0d34db94c7a43
2016-04-13 17:35:58 +00:00
Alan Viverette
e166e0795e Merge "Fall back to setting the level of the entire progress drawable" into nyc-dev am: a63d2db
am: 147baca

* commit '147baca4aa2f595ee1c2e8bb53b1aed43d3d7ddd':
  Fall back to setting the level of the entire progress drawable

Change-Id: If851161f3e26de46667006f2eb1522fd7c66fd37
2016-04-13 17:32:34 +00:00
Siyamed Sinir
9dba546d9a Merge "Fix StaticLayout left/right indent" into nyc-dev 2016-04-13 17:29:22 +00:00
Alan Viverette
147baca4aa Merge "Fall back to setting the level of the entire progress drawable" into nyc-dev
am: a63d2db

* commit 'a63d2db09978387b2bfdd849034dc73d43647ded':
  Fall back to setting the level of the entire progress drawable

Change-Id: I4f1c109fc925e9d576fca9d7db4de6a43c3eedee
2016-04-13 17:28:28 +00:00
Alan Viverette
a63d2db099 Merge "Fall back to setting the level of the entire progress drawable" into nyc-dev 2016-04-13 17:19:05 +00:00
Wale Ogunwale
78ba2ff6ca Merge changes Ieefeb843,Ic2a94b09 into nyc-dev am: 3fb1c81
am: 361124e

* commit '361124ef082a79ddae6ece153aebecac09f0fbd7':
  Update surface insets on window elevation changes.
  Fixed bug with cropping out drop shadow for pinned stack.

Change-Id: Iad5f58cc43ed5b24d23dcf878c941820b92a7ac8
2016-04-13 17:11:17 +00:00
Wale Ogunwale
361124ef08 Merge changes Ieefeb843,Ic2a94b09 into nyc-dev
am: 3fb1c81

* commit '3fb1c81394f98b025b488774916b7580f9e31dab':
  Update surface insets on window elevation changes.
  Fixed bug with cropping out drop shadow for pinned stack.

Change-Id: If788ed4af5292b76576c7abd728633f20cc6eb93
2016-04-13 17:07:38 +00:00
Wale Ogunwale
3fb1c81394 Merge changes Ieefeb843,Ic2a94b09 into nyc-dev
* changes:
  Update surface insets on window elevation changes.
  Fixed bug with cropping out drop shadow for pinned stack.
2016-04-13 16:59:36 +00:00
Michael Wright
19f003e14a Merge "Crash early when requesting a keyboard shortcut helper..." into nyc-dev am: 52546e4
am: f58d81e

* commit 'f58d81e640ac2d471259838af986b410f5cd2938':
  Crash early when requesting a keyboard shortcut helper...

Change-Id: I2ef9f779a6295d90e9654738317ea39cd4f10870
2016-04-13 14:06:18 +00:00
Michael Wright
f58d81e640 Merge "Crash early when requesting a keyboard shortcut helper..." into nyc-dev
am: 52546e4

* commit '52546e46353f455d6a5bd070da6095868d7fc8bd':
  Crash early when requesting a keyboard shortcut helper...

Change-Id: Ia1be80e54af4c04af0c33ef2d03f7fc4e8dfee84
2016-04-13 14:02:50 +00:00
Michael Wright
52546e4635 Merge "Crash early when requesting a keyboard shortcut helper..." into nyc-dev 2016-04-13 13:58:16 +00:00
Michal Karpinski
dc8ac6fbb5 Merge "API polish in DPM for organization color and name methods" into nyc-dev am: 1271cef
am: 96d49b1

* commit '96d49b1ac6e197f64103e5454e308f65609b2853':
  API polish in DPM for organization color and name methods

Change-Id: I90b74fa1b0c3e2961fb26fc5e84e85d5bc5da1f5
2016-04-13 13:40:03 +00:00
Michal Karpinski
96d49b1ac6 Merge "API polish in DPM for organization color and name methods" into nyc-dev
am: 1271cef

* commit '1271cef419bdb7577f64b1dfa05d5678df706ef5':
  API polish in DPM for organization color and name methods

Change-Id: I6073662932fc256fc4860a19c4d45b1f9fcf9ced
2016-04-13 13:36:44 +00:00
Michal Karpinski
1271cef419 Merge "API polish in DPM for organization color and name methods" into nyc-dev 2016-04-13 13:28:08 +00:00
Victor Chang
8a7ecc06aa Merge "Update display text in cert notification" into nyc-dev am: caf566a
am: b2d7079

* commit 'b2d707953aceb1ec8e1935d9744816dd3c9b20b5':
  Update display text in cert notification

Change-Id: I6b27877b6932e484ce847c656ea02c1dc982f59c
2016-04-13 10:25:43 +00:00
Victor Chang
b2d707953a Merge "Update display text in cert notification" into nyc-dev
am: caf566a

* commit 'caf566a5372b05230885b787997b98ff4508eadd':
  Update display text in cert notification

Change-Id: I8c7459972fbdd2224f8eb68d01c7c63061b2256e
2016-04-13 10:22:27 +00:00
Victor Chang
caf566a537 Merge "Update display text in cert notification" into nyc-dev 2016-04-13 10:15:29 +00:00
Yohei Yukawa
75997c59ea Merge "Improve captalization in InputMethodSubtype#getDisplayName()." into nyc-dev am: d0fae0d
am: bf0cf9d

* commit 'bf0cf9d1357cd7fc153ae23ada488698f42c4009':
  Improve captalization in InputMethodSubtype#getDisplayName().

Change-Id: I4ac4f87b62faea8811fb364a7c19e0f155ca631f
2016-04-13 07:00:06 +00:00
Yohei Yukawa
bf0cf9d135 Merge "Improve captalization in InputMethodSubtype#getDisplayName()." into nyc-dev
am: d0fae0d

* commit 'd0fae0d61d22608b4bfb0845e13ed9c07c5c5376':
  Improve captalization in InputMethodSubtype#getDisplayName().

Change-Id: Ifcbc689552b616482d236e88a512242d54704c20
2016-04-13 06:57:05 +00:00
Yohei Yukawa
d0fae0d61d Merge "Improve captalization in InputMethodSubtype#getDisplayName()." into nyc-dev 2016-04-13 06:51:34 +00:00
Pierre Imai
a3f8b53893 Merge "Fix a memory leak in ConnectivityManager." into nyc-dev am: 11a888f
am: e235da5

* commit 'e235da5d5cb1db440db228ee23314617e7dd9aa4':
  Fix a memory leak in ConnectivityManager.

Change-Id: I713b4d68033aaac4ef2ada50a486538459814e77
2016-04-13 06:44:29 +00:00
Pierre Imai
e235da5d5c Merge "Fix a memory leak in ConnectivityManager." into nyc-dev
am: 11a888f

* commit '11a888faafc0e8181c782b9b945332d57b00e38e':
  Fix a memory leak in ConnectivityManager.

Change-Id: I46160bd5070779641607d65ec5d234d65f039d6b
2016-04-13 06:41:18 +00:00
Pierre Imai
11a888faaf Merge "Fix a memory leak in ConnectivityManager." into nyc-dev 2016-04-13 06:37:33 +00:00
Yohei Yukawa
e489baf96d Improve captalization in InputMethodSubtype#getDisplayName().
The goal of this CL is to enable
InputMethodSubtype#getLocaleDisplayName() to return more natural locale
display name in terms of capitalization rules.

The key idea here is to use LocaleDisplayNames#localeDisplayName() with
an appropriate DisplayContext.CAPITALIZATION_FOR_* parameter rather than
relying on Locale#getDisplayName().

Bug: 22845728
Change-Id: If105082ce703db7a86738455db7e9fb37f3c6fe8
2016-04-13 05:30:23 +00:00
Seigo Nonaka
98950ad961 Merge "Delete CR LF at the same time with one backspace key." into nyc-dev am: 363a288
am: 01f868a

* commit '01f868aa25f7d64ee82be3feb22b6535c588660d':
  Delete CR LF at the same time with one backspace key.

Change-Id: I11d32074b1091d2c8fd79aa683692a93e54b297f
2016-04-13 05:22:49 +00:00
Seigo Nonaka
01f868aa25 Merge "Delete CR LF at the same time with one backspace key." into nyc-dev
am: 363a288

* commit '363a2884c99714547e684b42c59d9ff5de49851f':
  Delete CR LF at the same time with one backspace key.

Change-Id: I7e8471f7899a253a53f918ef75bf5a7e3a3bdc67
2016-04-13 05:19:51 +00:00